A Flash Developer Resource Site

Results 1 to 15 of 15

Thread: Media Playback component & variables...

Threaded View

  1. #1
    Animal Flasher RobbieC's Avatar
    Join Date
    Aug 2001
    Location
    England
    Posts
    242

    [MX04] Media Playback component & variables...

    I'm trying to get a Media Playback component to play videos. I can get it all to work if I hard code the component with this code:
    Code:
    video/1234.flv
    but I'm trying to get it to work by parsing a variable into it using:
    Code:
    video/+variable+.flv
    the variable is parsed into the movie using:
    Code:
    main.swf?variableID=1234
    and the code within the movie to identify the variable:
    Code:
    var variable = _root.variableID;
    but it doesn't work, although I can't see anything wrong with what I've done.

    Is it actually possible to use Media Playback component with variables?

    Thanks in advance for your help.
    Last edited by RobbieC; 09-22-2007 at 01:21 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center