Flash Question

KingKaeru

Supreme [H]ardness
Joined
Jul 16, 2000
Messages
6,465
Flash Question
Hi Guys,

Gotta question for you flash guru's out there.

How do I access GET/POST Variables from within a .swf?

e.g.: display the GET variable: aVar in my movie clip if I have the following URL:

http://mysite/mypage.html?aVar=HelloWorld

I've been digging around for hours and can't seem to find anything.

Any help would be much appreciated
Thanks,
--KK
 
Nevermind guys,

I figured it out :D

the var should be passed while loading the flash object.

e.g.

Code:
  myMovie.swf?myVar=HelloWorld

then, the variable myVar will be available as:

Code:
  ._root.myVar

--KK
 
Back
Top