# Need Help Setting Password

**URL:** <https://forum.kirupa.com/t/need-help-setting-password/170502>\
**Category:** flash\
**Created:** [November 26, 2005, 8:57pm UTC](https://forum.kirupa.com/t/need-help-setting-password/170502 "2005-11-26T20:57:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tinuc](https://avatars.discourse-cdn.com/v4/letter/t/d26b3c/32.png) [@tinuc](https://forum.kirupa.com/u/tinuc)\
**Post date:** [November 26, 2005, 8:57pm UTC](https://forum.kirupa.com/t/need-help-setting-password/170502/1 "2005-11-26T20:57:46Z")

</div>

I have a movie botton and I need to set a password for the click even. This is the code I have wihtout the password:

stop();  
this.onEnterFrame = function(){  
if(rewind == true){  
prevFrame();  
}  
}

this.onRollOver = function(){  
rewind = false;  
play();  
}

this.onRollOut = function(){  
rewind = true;  
}

this.onRelease = function(){  
getURL(“[http://www.cs.utsa.edu/~achatur/SPRING06.html](http://www.cs.utsa.edu/~achatur/SPRING06.html)”);  
}

What do I need to add to set password?
