PDA

View Full Version : Passing a url variable into Flash


Bobonline
04-24-2002, 08:31 PM
[COLOR=royalblue]
Hi there, I need to pass a url from the paramater section of my html into flash. Right now in my html I have this:
<PARAM NAME=movie VALUE="pop_under.swf?click_url=http://www.google.com">

In my flash file I have tried two different actions assigned to a button:
1.) on (release) {
loadVariablesNum(click_url, 0, "GET");
}

2.) on (release) {
getURL(click_url);
}

Neither have worked.

Thanks in advance,
Bob

Jesse
04-25-2002, 03:44 AM
on (release) {
getURL(_root.click_url);
}
That should work fine.

Bobonline
04-25-2002, 10:35 PM
Great Jesse, that worked!
Thanks a bunch.