Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Link to another page- please help ASAP!



3:54 pm on Nov 11, 2011 (gmt 0)

5+ Year Member

I have a .swf file that I am trying to link to another page within the same tab/window. The target was originally "_blank", which made it open in a new tab/window. I didn't want that. So I changed the target to "_self", and now when I click the .swf, the link won't open at all.

This is my link code embedded within the swf file:

/* Click to Go to Web Page
Clicking on the specified symbol instance loads the URL in a new browser window.

1. Replace http://www.adobe.com with the desired URL address.
Keep the quotation marks ("").

button_1.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage);

function fl_ClickToGoToWebPage(event:MouseEvent):void
navigateToURL(new URLRequest("http://www.example.com/rooms-and-specials/specials-and-packages/"), "_self");

[edited by: eelixduppy at 5:38 pm (utc) on Nov 11, 2011]
[edit reason] exemplified [/edit]


10:20 pm on Dec 6, 2011 (gmt 0)

WebmasterWorld Senior Member bwnbwn is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

navigateToURL(new URLRequest("http://www.example.com/rooms-and-specials/specials-and-packages/");

take out the self and test the url.

Featured Threads

Hot Threads This Week

Hot Threads This Month