PLAYER_NAME.source = FlashVars
and I am passing the vars from html page.
when code is set up as
myPlayer.source = "movie1.flv";
all works fine I want to change the movie1.flv to be the FlashVars I'm passing in from html
Posted 24 April 2008 - 10:06 AM
PLAYER_NAME.source = FlashVars
myPlayer.source = "movie1.flv";
Posted 24 April 2008 - 11:53 AM
function loaderComplete(myEvent:Event) { var flashVars=this.loaderInfo.parameters; myPlayer.source=flashVars.moviePath; } this.loaderInfo.addEventListener(Event.COMPLETE, loaderComplete);