Trying to get variables into flash from the browser!
Ever wondered how to get variables from an html page to a flash element?
Well, it’s quite easy using the following actionscript 2 example:
I use javascript to embed my flash elements:
_
<embed src="somefilename.swf?varname=varvalue&vartwo=var2value" width="550" height="400"></embed>
_
Now in Flash I can just call:
Wasn’t that easy?