# Ifelse script for password access

**URL:** <https://forum.kirupa.com/t/ifelse-script-for-password-access/154887>\
**Category:** Uncategorized\
**Created:** [July 13, 2005, 11:02am UTC](https://forum.kirupa.com/t/ifelse-script-for-password-access/154887 "2005-07-13T11:02:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cape\_town](https://avatars.discourse-cdn.com/v4/letter/c/e9bcb4/32.png) [@cape\_town](https://forum.kirupa.com/u/cape_town)\
**Post date:** [July 13, 2005, 11:02am UTC](https://forum.kirupa.com/t/ifelse-script-for-password-access/154887/1 "2005-07-13T11:02:19Z")

</div>

hi thanks for the site it has been of great help to me. i have a problem with the if else code i am using to give access to my site. i am developing in flash mx 2004, when i run your ifelse\_final.fla it works like a charm, when i re-write it or copy it into my flash doc i get a script error regarding the onrelease AS and how this can only be applied to a button (i have tried library buttons, your button and my own made buttons) - HELP, it is driving me crazy…
