Parsing Values
Hi
I have an instance of FLVPlayback and can easily set the video to play simply by using the instance name:
flvPlayer.load("resources/lyrics/1/1.flv");
flvPlayer.autoPlay = 1;
The thing is that I want the file to be defined at runtime and so, using my previous examples from AS2 I arrived at:
strVideo = "resources/lyrics/" + path + "/" + track ".flv";
flvPlayer.load(strVideo);
flvPlayer.autoPlay = 1;
Yet this now generates an error with AS3. How do I parse values from the html:
<embed src="experiment.swf?path=1&track=1" />
to AS3 for the FLVPlayback to use this information?