Hi. I’m using a FLVPlayback function to play my movies as below :
stop();
import mx.video.*;
var z:Number = new Number();
var url_array:Array = [ "movie_01", "movie_02.flv", "movie_03.flv", "movie_04.flv", "movie_05.flv"];
my_FLVPlybk.contentPath = url_array[z];
var listenerObject:Object = new Object();
listenerObject.complete = function(eventObject:Object):Void {
z++;
z %= url_array.length;
my_FLVPlybk.play(url_array[z]);
gotoAndStop(z+1);
};
my_FLVPlybk.addEventListener("complete",listenerObject);
i’m using this to control my buttons which movie to play
on (release) {
my_FLVPlybk.play(url_array[0]);
}
however, i’ll experience mulfunction to my button when click too fast between buttons.
Example, i click the button 1, then button 2, then button 3, then button 4, then button 5. So the flv will load from 1st movie then follow the 2nd… and in the end only load the 5th movie.
It wont directly load the 5th movie. Can i know how to solve this?
Can i know what’s the script to clear the memory?