Using parameters given bij DreamWeaver

hi!

I have a (probably) simple question for you guys :smirk:

In dreamweaver you can pass parameters to a flash-object. Is there a possibility to use these in ActionScript? I canā€™t figure it outā€¦

if someone has an answer for meā€¦ youā€™re more then welcome :slight_smile:

ps. sorry for my bad English

Hoi

wellā€¦

lets say you have a movie with framelabels ā€œlabel1ā€, ā€œlabel2ā€, ā€œlabel3ā€ā€¦
and you what to use DW to tell Flash to which label is should goto!
so you make a parameter called DWvar with a value of "label2"
then in our flash movie you put this script on the first frame


gotoAndPlay(_root.DWvar)

now when the movie loads the variable CWver is send to the root of the movie!!
The ActionSrcipt find the the variable DWvar throuw the root.

And the is all thats to it :wink:

And your engish is fine;}

thnxā€¦ but it still isnā€™t working :*(

First I entered the following parameters in DW:

name=test value=blaat

Next I created a textbox (with var set to ā€œraraā€) and I entered the following code in AS:

[AS]rara = _root.test;[/AS]

nothing comes up in the textboxā€¦ what is it that I overlook?

<OBJECT blah blah blah>
<PARAM name="movie" value="movie.swf?var1=value1&var2=value2">
<PARAM name="flashvars" value="var1=value1&var2=value2">
<EMBED src="movie.swf?var1=value1&var2=value2" blah blah blah></EMBED>
</OBJECT>

http://www.macromedia.com/support/flash/ts/documents/flashvars.htm

??

Sorry:-\

i forgot the about that :blush: