Posted By

relaxasaurus on 03/18/09


Tagged

flash video dynamic


Versions (?)

Dynamic Flash video


 / Published in: ActionScript
 

This works with the standard video player component in Flash CS3. Throw this actionscript in the first frame. Name your video player "videoPlayer" within Flash.

Then in the HTML markup object tag: param name=FlashVars value="url=PathToVideo.flv"

Then in the HTML markup embed tag: FlashVars="url=PathToVideo.flv"

  1. videoPlayer.source = root.loaderInfo.parameters.url;
  2. return;

Report this snippet  

You need to login to post a comment.