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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

get the url

Status
Not open for further replies.

2cxc

Programmer
Aug 29, 2003
245
CA
I have a page (page1.htm) that has an embeded swf and i was wondering how the swf can get and use the current url, via actionScripting, of the page in the first frame, and goto another frame only if the url is page1.htm. So I guess I wondering what actionScript would be place in the first frame to determine if the current URL is page1.htm and if it is goto frame 4 andPlay ?

Thanks.
 
get the URL via javascript in your page and assign it to a variable then just loadVariables()

[conehead]
 
but then i'll have a Mac attack
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top