I have a FLV playback and I have a file set to play a full video, and I also have nav buttons that control other segments of the full flv to play in the same playback instance.
The problem is that I have 2 additional buttons that I need to link to http: references - I can do that just fine, but I can't get the flv file to stop playing in the background.
I DESPARATELY NEED HELP! I've been trying to find a resolution ALL DAY!
Here is my code - it works aside from the fact that I can't do the above...
var listenerObject:Object = new Object();
// listen for complete event; play new FLV
listenerObject.complete = function(eventObject:Object):Void {
if (myPlayer.contentPath == "Tax_LifeCycle_Integration.flv") {
myPlayer.play("The_CORPTAX_Difference.flv");
}
};
myPlayer.addEventListener("complete", listenerObject);
var listenerObject:Object = new Object();
// listen for complete event; play new FLV
listenerObject.complete = function(eventObject:Object):Void {
if (myPlayer.contentPath == "The_CORPTAX_Difference.flv") {
myPlayer.play("Provision_to_Return_in60sec.flv");
}
};
myPlayer.addEventListener("complete", listenerObject);
my1_btn.onRelease = function (){
myPlayer.contentPath = "full_movie_1200_480x320.flv";
}
my2_btn.onRelease = function (){
myPlayer.contentPath = "Tax_LifeCycle_Integration.flv";
}
my3_btn.onRelease = function (){
myPlayer.contentPath = "The_CORPTAX_Difference.flv";
}
my4_btn.onRelease = function (){
myPlayer.contentPath = "Provision_to_Return_in60sec.flv";
}