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

getURL - layer or browser problem?

Status
Not open for further replies.

TommyIndigo

Programmer
Sep 14, 2000
67
US
I am using the following basic code to open an external html file. I want the browser to fully redirect to this URL (not open a new window)...hence the use of "_self":

Code:
on (release) {
  getURL("[URL unfurl="true"]http://www.mydomain.com/registration.html","_self");[/URL]

}

This seems to work intermittently. I tested in IE6, IE7 and Firefox, all on different PCs. I don't know if this is a browser issue, or perhaps my publishing options need to be changed.

When it DOESN'T work, I get no error messages. The button simply appears moused over and I get the "hand", but I am not navigated to the page.

Also, the related button is in a swf that is loaded on level 50 from the main timeline. If I navigate to that swf directly, this works fine. Is getURL affected by levels? I tried mucking with the getURL command, such as prefacing it with
Code:
this.
or
Code:
_root.
with no success.

If I simply use _blank it always works fine on all the PCs...but that is not the functionality required.

Any ideas?
 
Hi OldNewbie!! I was hoping you'd be around to see this :)

I'm pulling my hair out with this problem. As I mentioned, some of the test PCs (distributed across my family, haha) work and some don't. I'm trying to see what the OS/Flash Player/Browser diffs are among them.

I came across this thread, which seems to indicate there is a getURL issue with the latest release (115) of FlashPlayer 9. I'm testing off the live site, not in a local sandbox...but the problem seems similar:

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top