hwg-techniques archives | Oct 2004 | new search | results | previous | next |
FlashVarsby "Andy Innes" <andy(at)pixelchurch.com> |
|
Has anybody had experience with passing variables to a Flash file from html? I have a html page (changing to ASP once the markup code is sorted) with the following code in the Flash <.object> tag: <param name="movie" value="flash/navbar.swf"><PARAM NAME="FlashVars" VALUE="frameNumber=65"><param name="quality" value="high"><param name="SCALE" value="noborder"><embed src="flash/navbar.swf" width="750" height="110" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" scale="noborder" FlashVars="frameNumber=65"></embed> The idea being that there is a variable called "framenumber" on frame 1 of my Flash file with the instruction in actionscript "goto 'framenumber'". For some reason I can't get this to work and the flash file continues to play frame 1 to 5 preload and then continue as normal, stopping on frame 10. Example url: http://www.concordcreativity.com/press.htm Any help would be greatly appreciated! Andy
HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA