Expert: Mike Dixon Date: 6/13/2008 Subject: flash actionscript 2
Question hi
i have a problem.
when i click on a button, it opens two windows and i don't konw why!
here is my code
policy_btn.onRelease = function () {
getURL ("privacypolicy.html", "_blank")
i don't have press and release.. i don't know what im doing wrong.
Answer if this is the case then i dont know what could be wrong. your code is correct, and as you have written it will only fire once. i would look around for other instances of this button on the stage, or search your code for something. if necessary reduce your code to the smallest parts and test. delete the button off of the stage, you have to figure it out through trial and error. it is definitely something incorrect in your file though. sorry i couldn't be of more help.