Skip to main content
Participant
June 29, 2008
Question

Address bar problem

  • June 29, 2008
  • 2 replies
  • 218 views
Hi there every one
I have a problem you might be able to help me

I have a main flash file that is going to load inside an asp or aspx page. And I need to load the values in the adress bar into the flash file.

For example, suppose the address bar is something like this:
http://www.site.com/test.asp?id=142&page=news&mpage=link......

now i want to load the value of variable id into my flah file
How can i do that?
This topic has been closed for replies.

2 replies

robdillon
Participating Frequently
June 29, 2008
Have a look at this example movie, it does just what you're looking for: http://www.ddg-designs.com/downloads/hrefGetter.zip
Inspiring
June 29, 2008
I suggest having a look at SWFObject. You can also check out using FlashVars
in the Help, but SWFObject is easier, and has other nice features as well.
http://code.google.com/p/swfobject/

--
Dave -
www.offroadfire.com
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/