Groups | Blog | Home
all groups > flash actionscript > october 2006 >

flash actionscript : URL as a parameter


ward-ie
10/13/2006 4:40:48 PM
I'm trying to set-up a parameter in my flash file so I can pass a url into the flash file without having to hardcode the specific url??

S4Potential
10/13/2006 7:20:29 PM
You could pass it from the EMBED tag in the HTML file but this is forcing you
to change the HTML file each time you want to modify the value, it also gives
the info to any one who read the html file and it is not the best way to
eetreive variables at run time especially if you have many.

You should use the loadVar method.

See Actionscript help for the full details.
ward-ie
10/13/2006 7:40:21 PM
Do you have a loadVar method example?

S4Potential
10/13/2006 7:45:17 PM
See Actionscript help for the full details.

It's all in there with code samples.

AddThis Social Bookmark Button