getURL Script error

  • crankytoad
  • Born
  • Born
  • crankytoad
  • Posts: 1

Post 3+ Months Ago

I've got a problem with my actionscript. I'm amateur at best with actionscript, and I can't get the buttons on my page to link properly.

I know that:

Code: [ Select ]
on (release) {
    getURL("http://www.google.co.uk", "_blank");
}
  1. on (release) {
  2.     getURL("http://www.google.co.uk", "_blank");
  3. }


Opens the target in a new window, but I want the buttons to link in the same window. I've tried '_parent', '_self' and for the hell of it, '_top', but the last two don't work when I try and '_parent' acts roughly the same as '_blank' (obviously)

Any help would be appreciated.
Thanks :D
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • IceCold
  • Guru
  • Guru
  • User avatar
  • Posts: 1254
  • Loc: Ro

Post 3+ Months Ago

"_self" should do it, as long as you publish the swf (F12) and then you load in your browser the resulted html.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 19 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.