Using flashVars

[FONT=Arial][SIZE=2]Hi,

I’m using the same SWF file for all my web pages, but i do not want it to play from frame 1 for all the pages. Each html page i send a FlashVar telling the swf file as to where(label) to start playing from. The actionscript always showed the variable as undefined.
[/SIZE][/FONT]

[FONT=Arial][SIZE=2]<object classid=“clsid:D27CDB6E-AE6D-11cf-96B8-444553540000” codebase=“http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0” width=“139” height=“70”>
<param name=“movie” value="…/gifs/fac.swf">
<param name=“quality” value=“high”>
<param name=flashVars value=“myName=Entrance” />
<embed src="…/gifs/fac.swf" width=“139” height=“70” quality=“high” pluginspage=“http://www.macromedia.com/go/getflashplayer” type=“application/x-shockwave-flash” myname=“Entrance”></embed>
</object>[/SIZE][/FONT]

[FONT=Arial][SIZE=2]in the FLA[/SIZE][/FONT]

[FONT=Arial][SIZE=2]recText.text=_root.myName[/SIZE][/FONT]

[FONT=Arial][SIZE=2]goToAndPlay(recText.text);

When i display the value of recText.text, it displays “undefined”

Can i get help on this ?
[/SIZE][/FONT]