# Flash \<--\> ASP

**URL:** https://forum.kirupa.com/t/flash-asp/9837
**Category:** flash
**Created:** [December 19, 2002, 12:08pm UTC](https://forum.kirupa.com/t/flash-asp/9837 "2002-12-19T12:08:36Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Dravos](https://avatars.discourse-cdn.com/v4/letter/d/848f3c/32.png) [@Dravos](https://forum.kirupa.com/u/Dravos)
#### Post date: [December 19, 2002, 12:08pm UTC](https://forum.kirupa.com/t/flash-asp/9837/1 "2002-12-19T12:08:36Z")

</div>

Im having problems connecting flash to asp

i have a movieclip with a dynamic text field with variable myVar.  
This movieclip has an onLoad:

```php

onClipEvent(load)
{
   loadVariables("locationofmyaspscript",this,"GET");
}

```

my asp is

```php

<%
   myVar="testinggg"
   Response.write "myVar=" & URLEncode(myVar)
%>

```

here are the files as well

can anyone help me all i want is for the loadvariables to run the asp and for myVar in flash to be equal to “testinggg”

Thanx

---

<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: [December 19, 2002, 12:42pm UTC](https://forum.kirupa.com/t/flash-asp/9837/2 "2002-12-19T12:42:18Z")

</div>

Sorry for being stupid. just read someone elses post and realised i didnt dim my variables in the asp scrip

works fine now

---

<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: [December 19, 2002, 9:12pm UTC](https://forum.kirupa.com/t/flash-asp/9837/3 "2002-12-19T21:12:29Z")

</div>

yeah … i just posted a reply to some guys … he didnt DIM his variables… in asp…

asp isnt like actionscript… you gotta DIM the variables 🙂
