Tuesday, August 19, 2008

Password Protect part of your Flash Site! Flash CS3 Tutorial

1 comment:

Anonymous said...

i used this video even tho i have cs4 .. my code SEEMS to be identical to th one in th video but my".swf" loops" & th output window doesnt pop up whn i had th "trace" code in .. what is going on ?? [[ here's my code ]]

stop();
submit_btn.addEventListener(MouseEvent.CLICK, subClick);

failed_txt.background = false;
failed_txt.border = false;

var myName:String;
var myPass: String;

function subClick(event:MouseEvent):void{
myName = name_txt.text;
myPass = pass_txt.text;
if(myName == "nexis" && myPass == "password"){
gotoAndStop("hidden");
}else{
failed_txt = "Please enter valid password."
}

[[ email me cuz im not always on here nexisbanks@aol.com ]]