winstonmortimor
asked on
removing an flv file after playback is complete
playing an flv file using Flash 8 video playback component.
how do i completely remove/close/unload the flv file when playback has finished?
tried:
var listenerObject:Object = new Object();
listenerObject.complete = function(eventObject:Objec t):Void {
// insert event-handling code here
myFLVplybk.close();
};
myFLVplybk.addEventListene r("complet e", listenerObject);
where "myFLVplybk" is assigned as the instance name of the FLVPlayback component.
what am i doing wrong? i want the flv to play until the end, then go disappear.
thanks!
how do i completely remove/close/unload the flv file when playback has finished?
tried:
var listenerObject:Object = new Object();
listenerObject.complete = function(eventObject:Objec
// insert event-handling code here
myFLVplybk.close();
};
myFLVplybk.addEventListene
where "myFLVplybk" is assigned as the instance name of the FLVPlayback component.
what am i doing wrong? i want the flv to play until the end, then go disappear.
thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.