object and embed tag for use in your flash movie.
example (in your html/cfm/etc. host page in this case named "test.cfm"):
<object ...
<param name="movie" value="test.swf?var1=value1&var2=value2">
...
<embed src=""> ...
</embed>
</object>
example (in your flash movie):
In frame 1. Frame Action
loadVariablesNum("test.cfm", 0);
.....("host page name", "movie level to load vars into")
tip.... you may need to wait a few frames, i suggest 5, on your
timeline before you try and use/parse that variables you have just
loaded.
.......
This method works like a champ for every version of flash and the
flash player. No matter how slick they have made the player this is
really the only way to start a file off with custom/dynamic data from
the host page.
Hope this helps.
Shaniac
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

