Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I reference passed/set variables w/in AS? 1

Status
Not open for further replies.

southbeach

Programmer
Jan 22, 2008
879
US
Hacking away trying to learn AS. Earlier today I did not know how to access the AS editor and now I wonder how can I reference a variable set using

Code:
var so = new SWFObject("mymovie.swf", "test", "100%", "550", "8", "#006600");
so.addParam("allowFullScreen", "false");
so.addParam("wmode", "transparent");
[COLOR=red yellow]so.addVariable("variable1", "value1");[/color]
so.write("viewmovie");

As you can see, having set "variable1", how can I then access it within the movie?

What I am trying to do is get rid of some hard coded values and simply make them dynamic.

AS version is 2.0 saving movie in CS3 format using trial version of FLASH CS4 ...

Thank you all for you assistance!!!


--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top