# getURL not sending variable

**URL:** <https://forum.kirupa.com/t/geturl-not-sending-variable/219733>\
**Category:** flash\
**Created:** [March 19, 2007, 8:39pm UTC](https://forum.kirupa.com/t/geturl-not-sending-variable/219733 "2007-03-19T20:39:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DeletedUser12345](https://avatars.discourse-cdn.com/v4/letter/d/9d8465/32.png) [@DeletedUser12345](https://forum.kirupa.com/u/DeletedUser12345)\
**Post date:** [March 19, 2007, 8:39pm UTC](https://forum.kirupa.com/t/geturl-not-sending-variable/219733/1 "2007-03-19T20:39:01Z")

</div>

Hey all,

I’m trying to make a small email capture form, but I’m having trouble getting Flash to pass the email address to the server. I’ve since given up trying to use getURL and I’m simply trying to trace the variable instead.

The form consists of a text box w/ instance name “email\_txt” and a button w/ instance name “btnSignUp.” the actionscript is placed on the button.

Here’s my code:

```php

on(release) {
	trace("email_txt says: " + email_txt);
    // getURL stuff here
}

```

My trace statement reads:

```auto

email_txt says: undefined

```

This is a really simple question and maybe I’m just thinking too hard, but I can’t figure out what’s wrong. I’d appreciate any help the community can give me.

Thanks a lot!
