| Link to another page- please help ASAP!
|
Spyce

msg:4385937 | 3:54 pm on Nov 11, 2011 (gmt 0) | 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.
Instructions: 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]
|
bwnbwn

msg:4394932 | 10:20 pm on Dec 6, 2011 (gmt 0) | navigateToURL(new URLRequest("http://www.example.com/rooms-and-specials/specials-and-packages/"); take out the self and test the url.
|
|
|