I'm hoping someone with better actionscript knowledge than I have can help with this-- I've got a password login using the following script:
on(release){
if(password == "X"){
getURL("website address");}
else {
gotoAndPlay ("try_again");}
}
Two problems-
The first is that when the correct password is entered, the "if" funciton correctly happens (website opens) AND the timeline advances to the "else" function ("try again"). I hope this makes sense.
Secondly, I'd like the URL to open in the same window as the swf file- any code suggestions would be appreciated. For a look at how I'm using the file see:
http://9yardsphoto.com/photos_commercial.html
Thanks all!