# Errors

**URL:** https://forum.kirupa.com/t/errors/54932
**Category:** flash
**Created:** [June 18, 2004, 10:43pm UTC](https://forum.kirupa.com/t/errors/54932 "2004-06-18T22:43:22Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![hotwireddriveby](https://avatars.discourse-cdn.com/v4/letter/h/97f17d/32.png) [@hotwireddriveby](https://forum.kirupa.com/u/hotwireddriveby)
#### Post date: [June 18, 2004, 10:43pm UTC](https://forum.kirupa.com/t/errors/54932/1 "2004-06-18T22:43:22Z")

</div>

im making a flash based email system on my website. ive been using [this tutorial](http://www.kirupa.com/developer/actionscript/flash_php_email.htm)

theses are the errors i have been getting

**Error** Symbol=send, layer=Layer 1, frame=1:Line 1: Statement must appear within on handler  
form.loadVariables(“email.php”, “POST”);  
**Error** Scene=Scene 1, layer=form, frame=1:Line 1: Statement must appear within on handler  
form.loadVariables(“emailmarc.php”, “POST”);  
Total ActionScript Errors: 2 Reported Errors: 2

I would attach the file, but its 6kb too big. ask me and i will send it to you
