Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get current URL? 1

Status
Not open for further replies.

MrPink1138

Programmer
Jul 10, 2003
34
US
Is there any possible way in actionscript to retrieve the URL of the current page?

_root._url will give me the URL of the swf file, but what I need is the URL of the html page that's loading the swf file.

Any ideas?
 
Cool... thanks. I've ended up using FlashVars to pass the URL in. Still baffles me that Flash doesn't have a built in actionscript for this.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top