Be a Supporter!

linking to your site

  • 523 Views
  • 5 Replies
New Topic Respond to this Topic
thedo12
thedo12
  • Member since: May. 18, 2007
  • Offline.
Forum Stats
Member
Level 04
Blank Slate
linking to your site 2007-11-29 22:52:25 Reply

can someone give me a code so I can link to a by clicking on a movieclip
help is aprecicated thanks

Kirk-Cocaine
Kirk-Cocaine
  • Member since: Aug. 17, 2003
  • Offline.
Forum Stats
Moderator
Level 38
Programmer
Response to linking to your site 2007-11-30 05:46:29 Reply

on(press)
getURL("http://www.mysite.com", "_blank");
}

The water in Majorca don't taste like what it oughta.

| AS3: Main | AS2: Main | Flash Tutorials |

BBS Signature
Rustygames
Rustygames
  • Member since: May. 7, 2005
  • Offline.
Forum Stats
Member
Level 19
Programmer
Response to linking to your site 2007-11-30 05:50:39 Reply

At 11/30/07 05:46 AM, Kirk-Cocaine wrote: on(press)
getURL("http://www.mysite.com", "_blank");
}

It's safe to do this:

on(release)
getURL("http://www.mysite.com", "_blank");
}

Firefox blocks it if you do it on a press.


- Matt, Rustyarcade.com

Kirk-Cocaine
Kirk-Cocaine
  • Member since: Aug. 17, 2003
  • Offline.
Forum Stats
Moderator
Level 38
Programmer
Response to linking to your site 2007-11-30 05:51:22 Reply

At 11/30/07 05:50 AM, Rustygames wrote: Firefox blocks it if you do it on a press.

Good info!


The water in Majorca don't taste like what it oughta.

| AS3: Main | AS2: Main | Flash Tutorials |

BBS Signature
Hipoy
Hipoy
  • Member since: Mar. 22, 2006
  • Offline.
Forum Stats
Member
Level 10
Blank Slate
Response to linking to your site 2007-11-30 07:10:22 Reply

At 11/30/07 05:50 AM, Rustygames wrote:
Firefox blocks it if you do it on a press.

Any idea why?

seems pretty pointless to me

Psionic3D
Psionic3D
  • Member since: Sep. 19, 2007
  • Offline.
Forum Stats
Member
Level 10
Game Developer
Response to linking to your site 2007-11-30 07:23:32 Reply

No idea, just had the same problem myself and that tip helped immensely, Many Thanks!!