Groups | Blog | Home
all groups > flash (macromedia) > may 2004 >

flash (macromedia) : help with getURL


Mike
5/18/2004 11:14:05 PM

This is a menu.
I have the following script on 4 button symbles:(They play different frames)
on(rollOver){gotoAndPlay(2);}
on(rollOut){gotoAndPlay(220);}
on(press){getURL("http://www.ampsoft.com","_parent");}

When i click on any of them I get 3 new windows with the webpage.I only want
one.What can i be doing wrong???
Thanks
Mike

behived
5/19/2004 7:13:54 AM
I have copied the code to a button in an fla of my own, and it works perfect...
but why do you put " _parent" for the target window parameter? i suggest you
use "_blank" or another name cause _parent is used in action script...

Maybe you can attach the zipped fla in another post so i can take a look in
there
behived
5/25/2004 12:22:21 PM
Hello Mike,

I was working in flash on a project, when I've experienced the same problem
you had... I click on a button and there are three browserwindows opening with
the same content...

When i test the same swf in a html page the problem dissapears
AddThis Social Bookmark Button