# From FLAS 2 ASP? how

**URL:** <https://forum.kirupa.com/t/from-flas-2-asp-how/8359>\
**Category:** Uncategorized\
**Created:** [November 19, 2002, 10:58am UTC](https://forum.kirupa.com/t/from-flas-2-asp-how/8359 "2002-11-19T10:58:37Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![chipdouglas](https://avatars.discourse-cdn.com/v4/letter/c/ecc23a/32.png) [@chipdouglas](https://forum.kirupa.com/u/chipdouglas)\
**Post date:** [November 19, 2002, 10:58am UTC](https://forum.kirupa.com/t/from-flas-2-asp-how/8359/1 "2002-11-19T10:58:37Z")

</div>

Plz show me a simple way to send a VAR from flash to asp, and then the asp file writes it in a .db file

thanks!:cyclops:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 19, 2002, 11:05am UTC](https://forum.kirupa.com/t/from-flas-2-asp-how/8359/2 "2002-11-19T11:05:36Z")

</div>

Insert this script into your \_root (main) timeline:

```php
loadHandler = new LoadVars();
loadHandler.send("file.asp", loadHandler, "POST");

```

then, define ur movie variables as for example:

```php
loadHandler.username = _root.username.text;
loadHandler.anotherthing = _root.anotherthing.text;

```

Please tell me how it goes.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 19, 2002, 11:10am UTC](https://forum.kirupa.com/t/from-flas-2-asp-how/8359/3 "2002-11-19T11:10:04Z")

</div>

i’m lost 🙂 does this also work for ASP??? coz I need it for ASp :cowboy:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 19, 2002, 11:11am UTC](https://forum.kirupa.com/t/from-flas-2-asp-how/8359/4 "2002-11-19T11:11:22Z")

</div>

Yes it does. Put this code into ur main timeline. Debug this code to suit u.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 19, 2002, 11:20am UTC](https://forum.kirupa.com/t/from-flas-2-asp-how/8359/5 "2002-11-19T11:20:23Z")

</div>

I’m totally lost and totally nwebie…could you post the .fla and the .asp files …I need to see it in a content…plz :\*(

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 19, 2002, 11:21am UTC](https://forum.kirupa.com/t/from-flas-2-asp-how/8359/6 "2002-11-19T11:21:59Z")

</div>

I really dunno how to code ASP, but i will post files that does the job though, can i have a look at your asp file! can u tell wut do u exactlly want to do?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 19, 2002, 11:24am UTC](https://forum.kirupa.com/t/from-flas-2-asp-how/8359/7 "2002-11-19T11:24:59Z")

</div>

it don’t have any .asp file…i’m trying to make a game which sends it score to asp and to a database…does it make sense?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 19, 2002, 11:26am UTC](https://forum.kirupa.com/t/from-flas-2-asp-how/8359/8 "2002-11-19T11:26:23Z")

</div>

Yes it does, i thought u want to post your vars into the asp file, sorry, i don’t know how to code asp. ☹

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 19, 2002, 11:29am UTC](https://forum.kirupa.com/t/from-flas-2-asp-how/8359/9 "2002-11-19T11:29:39Z")

</div>

well, could you tell me how to send it to a .asp file?? the thing is that i’m making the flash thing and a .asp programmer programs the .asp…I just need to send the VAR from flash to .asp and he’ll make the rest

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 19, 2002, 11:32am UTC](https://forum.kirupa.com/t/from-flas-2-asp-how/8359/10 "2002-11-19T11:32:02Z")

</div>

I helped a guy already on how to post var from flash into php then txt file, leave out the textfile from the zip and use the Fla there, here is the thread, the last post:  
[http://www.kirupaforum.com/showthread.php?threadid=8609&highlight=address](http://www.kirupaforum.com/showthread.php?threadid=8609&highlight=address)
