guys please help..newbie here

i'm using macromedia flash 8..

i created a navigation button for my website...i used "iframe" in my html so the URL in my navigation will display on that frame..(i embed my .swfon my html)
i used this script on my flash

on(press)
{
getURL("#myurl", "mytarget");
}
everytime i press the button it opens another window


what probably the problem here... help me!

i can send you my .fla if you want

thanks!!!

hi there,
The code you provide is looking right i think there is no problem at all if you like to provide the .fla file then maybe i found the solution for you.

on(press)
{
getURL("#myurl", "mytarget");
}
everytime i press the button it opens another window

Leave the target blank or use _self for the target

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.