Okay I am trying to pass the variable myMOV to my flash using the following additions in my object tag:
Code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="900" height="582" title="Definitive Home Theater">
<param name="movie" value="main.swf?myMOV=music" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="main.swf?myMOV=music" width="900" height="582" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" wmode="transparent"></embed>
</object>
In my flash file I have the following code:
Code:
if (_level0.myMOV == undefined) {
gotoAndPlay("hcontrol");
} else {
gotoAndPlay("_level0.myMOV");
}
I want flash to gotoandplay the label "music" but it seems I am not passing the variable correctly. Anyone see what I am doing wrong?