Be a Supporter!

Links on Animations Movies.

  • 197 Views
  • 3 Replies
New Topic Respond to this Topic
sokutare
sokutare
  • Member since: Nov. 1, 2010
  • Offline.
Forum Stats
Member
Level 05
Blank Slate
Links on Animations Movies. 2011-05-17 03:25:38 Reply

Hi.

I can put links in my flash animations?
because I'm doing a cartoon and want the preloader saver if I can put my twitter my facebook and my website

Gimmick
Gimmick
  • Member since: Aug. 20, 2008
  • Offline.
Forum Stats
Member
Level 27
Programmer
Response to Links on Animations Movies. 2011-05-17 06:15:08 Reply

Definitely.
Just call the getURL(url, window, method) command and you'll be fine.
Say, you want to link a button to your twitter, then create a Twitter button, and insert this:

on(release){
getURL("www.twitter.com", "_self", "POST");
}

Slint approves of me! | "This is Newgrounds.com, not Disney.com" - WadeFulp
"Sit look rub panda" - Alan Davies

BBS Signature
CyanSandwich
CyanSandwich
  • Member since: Aug. 14, 2009
  • Offline.
Forum Stats
Member
Level 42
Programmer
Response to Links on Animations Movies. 2011-05-17 08:01:50 Reply

This might be a good time to ask, what does the third variable do?
And what do you put to open in a new tab? Can you even do that in as2?
TIA


BBS Signature
4urentertainment
4urentertainment
  • Member since: Aug. 1, 2008
  • Offline.
Forum Stats
Moderator
Level 13
Game Developer
Response to Links on Animations Movies. 2011-05-17 09:18:24 Reply

At 5/17/11 08:01 AM, sandwich-eater wrote: This might be a good time to ask, what does the third variable do?

Specifies the method of sending. Since you're not sending anything here, you can omit it.

And what do you put to open in a new tab? Can you even do that in as2?
TIA

Of course you can, that's what the second argument is for. Just make it _blank instead of _self.