The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.39 / 5.00 38,635 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.09 / 5.00 15,161 ViewsI am making a special features menu and I'd like to create buttons that take you to my voice-actor's NG userpage. I remember trying this once before and it worked when I tried it in flash player, but when I uploaded the movie to Newgrounds, the buttons didn't function.
What is the proper code for a button that opens a new tab for a URL?
This is the code I'm using. Will this function on Newgrounds flash player?
on (release) {
getURL("http://moc-productions.newground s.com/", target="_blank");
}
getURL("http://www.your-url.com","_blank"); Don't know a function? Go here:
http://docs.brajeshwar.com/as2/
Look at a class that might contain your function and put 1 and 2 together.
Also, learn AS3.
By the way, getURL is a global function.
Thanks guys. Hopefully they function when I put the movie up.
Oh, and these will open new tabs/windows right? They won't close the movie, will they?
At 9/8/11 01:42 PM, MOC-Productions wrote: Oh, and these will open new tabs/windows right? They won't close the movie, will they?
New tabs: Yes
Close movie: No