# Help on "Actions"

**URL:** <https://forum.kirupa.com/t/help-on-actions/168358>\
**Category:** Uncategorized\
**Created:** [November 6, 2005, 2:23pm UTC](https://forum.kirupa.com/t/help-on-actions/168358 "2005-11-06T14:23:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fancyboy](https://avatars.discourse-cdn.com/v4/letter/f/b4bc9f/32.png) [@fancyboy](https://forum.kirupa.com/u/fancyboy)\
**Post date:** [November 6, 2005, 2:23pm UTC](https://forum.kirupa.com/t/help-on-actions/168358/1 "2005-11-06T14:23:09Z")

</div>

Hello,im new to flash and I got a question.  
Im working on an authentication script which connect on an external file to verify password and username.

On the enter button:

```auto
 
on (press) ( i want it to connect on a text file to verify the username and pswd in Msql.)
gotoAndplay(22);
}
}
on (release) {
//Movieclip GotoAndPlay Behavior
this.rouge.gotoAndPlay("ferme");
//End Behavior
}

```

Then on one frame ( if the username and pswd is correct it should go to page.htm:

```auto
 
//Goto Webpage Behavior
getURL("page.htm","_self");
//End Behavior

```

My question is how to make it on (press) to connect on this external text file to verify, is it possible, if not is there any solution ?  
Thanks
