# Flash/ASP Integration

**URL:** https://forum.kirupa.com/t/flash-asp-integration/288596
**Category:** flash
**Created:** [May 18, 2009, 6:34pm UTC](https://forum.kirupa.com/t/flash-asp-integration/288596 "2009-05-18T18:34:41Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![stocktonlad1970](https://avatars.discourse-cdn.com/v4/letter/s/71e660/32.png) [@stocktonlad1970](https://forum.kirupa.com/u/stocktonlad1970)
#### Post date: [May 18, 2009, 6:34pm UTC](https://forum.kirupa.com/t/flash-asp-integration/288596/1 "2009-05-18T18:34:41Z")

</div>

I’m still very new to actionscript and I’m trying get Flash and ASP working together.

I’m trying it out with a log in form.

I’ve got three fields and a button.

on (release) {  
loadVariablesNum(“login.asp?schoolid=” + schoolid + “&username=” + username + “&password=” + password, 0);

}

I’ve also got a fourth text field that for now is displaying the result of the post.

login.asp querys the database and reports back:

if rstTemp.RecordCount = 0 Then  
Response.Write(“errorMsg=Incorrect Username and or Password”)  
Else  
Response.Write(“errorMsg=Username Found”)  
end if

I now need to act on the result found. If username is found I then want to move onto the next frame. How do I act on data received back from the query.

Many Thanks

John
