1 Reply Latest reply on Jan 5, 2011 4:15 PM by kennethkawamoto2

    URL Variables used to set the source property for the VIDEO COMP.

    dan4 Level 1

      Can you take a url variable and have that variable be the value for the source parameter of the video playback component in flash CS4 or CS5?



      the url with url variable:   http://www.mydomain.com/videos/videoplayer.cfm?vplayer=videofile1


      the actionscript 3.0


      var videoFile:String = [who do I get the url variable's value here?]


      myVideoPlayer.source = videoFile +".mp4"


      in the end the file that should be playing in the video player is:   videofile1.mp4