Jump to content


Hyperlink, but not in a popup


  • You cannot reply to this topic
3 replies to this topic

#1 WaveZ

    Young Padawan

  • Members
  • Pip
  • 15 posts
  • Gender:Male
  • Location:Chandler

Posted 30 November 2006 - 07:55 PM

Hello :D ,

Sorry if the same topic is already made but my english is not very good and i don't understand all i read...After hours and hours of searching, Nothing...I want to apply an hyperlink to a button and i don't want to open the link in a pop up but in the same window...I searched the code long time but i can't find it...If someone can help me :)

Thanks, WaveZ

#2 Ben

    P2L Jedi Master

  • Publishing Betazoids
  • PipPipPipPip
  • 1,366 posts
  • Gender:Male
  • Location:VIC, Australia

Posted 30 November 2006 - 10:12 PM

on(release) {
getURL("http://yoursite.com/");
}

:)

#3 Tromac

    Young Padawan

  • Members
  • Pip
  • 56 posts

Posted 01 December 2006 - 12:57 AM

OK, the code that d4rkst0n3 wrote should work, but just as a short lesson you can control how the link behaves by adding to the getURL function.

on(release)
{
getURL("http://www.yoursite.com", "_blank");
}
This code should do the same thing as d4rkst0n3's, but verifies that it should open in a new window. Here is a list of different things you can do (I copied this from Flash 8 Help):

Quote

_self specifies the current frame in the current window.
_blank specifies a new window.
_parent specifies the parent of the current frame.
_top specifies the top-level frame in the current window.

I hope that helps :)

#4 WaveZ

    Young Padawan

  • Members
  • Pip
  • 15 posts
  • Gender:Male
  • Location:Chandler

Posted 01 December 2006 - 03:42 PM

Thank,
Work perfectly :ph34r:





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users