Copy link to clipboard
Copied
hello adobe cummunity,
I have a website (www.freshwaterbeats.com) which is created in action script 2.0 and I am having trouble turning my links into pop up windows.
I have a set code for the thumbnail links which works with the text tool and not the button command.
Actions:
var Lnk = Link_URL.text;
Button actions:
on (rollOver) {
Background.gotoAndPlay("Over");
}
on (rollOut) {
Background.gotoAndPlay("Out");
}
on (release, releaseOutside) {
getURL(Lnk);
}
This code works fine to set up the links to open new pages but it navigates away from my index page. I would like to create a pop up window by editing the code above.
If you add a second argument to the getURL command you can have the linked pages open in a separate browser window...
getURL(Lnk, "_blank");
Copy link to clipboard
Copied
If you add a second argument to the getURL command you can have the linked pages open in a separate browser window...
getURL(Lnk, "_blank");
Copy link to clipboard
Copied
I tried it before it gives me an error message because it is not a web address
Copy link to clipboard
Copied
If it is not a web address, what are you trying to link? getURL is for linking web addresses.
Copy link to clipboard
Copied
sorry I ment its writtin "Lnk" in stead of (www.example.com).
Copy link to clipboard
Copied
I don't know what that means. Fix it to be a real url and use "http://" in front of it.
Copy link to clipboard
Copied
Sorry ned the (Lnk, "_blank"); Does work im not sure what went wrong the 1st time. but how do I make It a resize able pop up window?
Message was edited by: FreshwaterBeatz
Copy link to clipboard
Copied
Here's a link to an article that covers the various approaches for making popup windows in Flash:
http://helpx.adobe.com/flash-player/kb/create-pop-browser-windows-flash.html
Find more inspiration, events, and resources on the new Adobe Community
Explore Now