Groups | Blog | Home
all groups > macromedia flash sitedesign > august 2006 >

macromedia flash sitedesign : Trouble with password


jeena o'sant ji
8/10/2006 2:15:34 PM
Please i need a code for password an section of my site.
I did this based on code give on a forum but does not work.
Where did i fail? This is the file:
www.theartmedium.com/password.fla
Thanks
magicworld00
8/24/2006 4:10:15 PM
Hi Jenna,

In the first keyframe use this code:

stop();
go.onRelease = function() {
if (secret.text == "royalgolf") {
gotoAndStop("vault");
} else {
gotoAndPlay("wrong");
}
};

in 17th key frame add stop() and retain all other codes as same. Please remove
the code on 24th keyframe.

Thanks
Shoban


AddThis Social Bookmark Button