Okay maybe I was a little confusing. How can I control an flvplayer component with as3. As to say how can I access it from outside of the actual component?
I have several flvplayback components in a movie that are loaded within a loader class. On CLICK I need the flv to stop, pause or anything to get the sound to stop playing once reaching the next section of the movie. Within the CLICK function I remove a particular loader with an flvplayback component within. This works fine yet the sound continues into the next section. Any ideas or paths to alternative solutions would be greatly appreciated, so Thanks...
//code within individual loader:
btnMore.addEventListener(MouseEvent.CLICK, Link1);
function Link1(event:MouseEvent):void {
this.gotoAndPlay("more");
ArchSkipLoader.ArchPlayer.stop();
ArchSkipLoader.govplayer.stop();
}
//code on the main timeline (another button that globally unloads each loader)
var frameToGoTo:String = "skip";
btnToDoItAll.addEventListener(MouseEvent.CLICK,cli pRemover);
function clipRemover(event:Event):void
{
removeChild(clipToBeRemoved);
gotoAndPlay("skip");
}
Okay maybe I was a little confusing. How can I control an flvplayer component with as3. As to say how can I access it from outside of the actual component?
u mean control an external flv player?
not exactly, what I need to do is call the controls of the flvplayback from the main timeline ie outside of the loader that the flvplayback is nested in... When I unload the loader the flv (sound continues to play) whic is no good... Any suggestions?
Bookmarks