PLAYER_NAME.source = FlashVars

pass a flashVars to flvplayback

Page 1 of 1

1 Replies - 2164 Views - Last Post: 24 April 2008 - 11:53 AM

#1 wiredwizard  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 0
  • View blog
  • Posts: 76
  • Joined: 07-May 05

PLAYER_NAME.source = FlashVars

Posted 24 April 2008 - 10:06 AM

Ok trying to use flvPlayback commponent in the actionscript section I have
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
Is This A Good Question/Topic? 0
  • +

Replies To: PLAYER_NAME.source = FlashVars

#2 wiredwizard  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 0
  • View blog
  • Posts: 76
  • Joined: 07-May 05

Re: PLAYER_NAME.source = FlashVars

Posted 24 April 2008 - 11:53 AM

ok got it myself but just for FYI just added to frame one of video player
function loaderComplete(myEvent:Event)
{
  var flashVars=this.loaderInfo.parameters;
  myPlayer.source=flashVars.moviePath;
}

this.loaderInfo.addEventListener(Event.COMPLETE, loaderComplete);



Was This Post Helpful? 0
  • +
  • -

Page 1 of 1