FlashVars
by "Andy Innes" <andy(at)pixelchurch.com>
|
| Date: |
Wed, 27 Oct 2004 11:52:07 +0200 |
| To: |
<hwg-techniques(at)hwg.org> |
| References: |
KENDER |
| |
todo: View
Thread,
Original
|
|
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
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.