all groups > flash actionscript > december 2004 >
You're in the

flash actionscript

group:

Pass argument (or variable) to movie


Pass argument (or variable) to movie maxm2000
12/18/2004 10:47:12 PM
flash actionscript: I want to load clip from main movie. But every time it should be different one.

So I decided to feed main movie with that clip file name as the argument (or
variable) that I supply from html file.

How this can be done. Thanks a lot.

Re: Pass argument (or variable) to movie bderber
12/18/2004 10:57:55 PM
Check out FlashVars - this is a variable you can pass to a SWF through HTML.
In my program, I put the following statement in my HTML code calling the SWF
and let the SWF take it from there............ doing what it needs to do given
the variable var_Account set to Xango - done in the HTML code..... <PARAM
NAME=FlashVars VALUE='var_Account=Xango'/> hope this helps. bob
Re: Pass argument (or variable) to movie maxm2000
12/18/2004 11:33:07 PM
AddThis Social Bookmark Button