Groups | Blog | Home
all groups > macromedia flash flashcom > october 2007 >

macromedia flash flashcom : application does'nt load


coolpyx1
10/29/2007 10:32:46 PM
Hello
The following server-side script is saved as chooseflv.asc in a folder named
chooseflv on the server side. I also created a streams folder and inside this,
a folder named vault where flv files are placed.
Then in the management console the application doesn't load. I have tried many
times. There are no script errors.
Can anyone please help. I would very much appreciate

//Choose FLV to Play
application.onAppStart = function( ) {
trace("Choose FLV app.");
};
application.onConnect = function(user) {
application.acceptConnection(user);
Client.prototype.chooseFLV = function(flvName) {
this.flvStream = Stream.get("flvPlay");
if (this.flvStream) {
this.flvStream.play(flvName, -2);
trace("Playing "+flvName);
}
};
Client.prototype.stopPlay = function( ) {
this.flvStream.play(false);
trace("All play has stopped.");
};
};
AddThis Social Bookmark Button