# Help needed with submit thingy

**URL:** https://forum.kirupa.com/t/help-needed-with-submit-thingy/125764
**Category:** Uncategorized
**Created:** [October 17, 2004, 12:55pm UTC](https://forum.kirupa.com/t/help-needed-with-submit-thingy/125764 "2004-10-17T12:55:32Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Yasmodeus](https://avatars.discourse-cdn.com/v4/letter/y/7ea924/32.png) [@Yasmodeus](https://forum.kirupa.com/u/Yasmodeus)
#### Post date: [October 17, 2004, 12:55pm UTC](https://forum.kirupa.com/t/help-needed-with-submit-thingy/125764/1 "2004-10-17T12:55:32Z")

</div>

[font=Verdana][size=4][color=#003366][size=2] submit.onPress = function () {  
getURL (“getVars.php”, “\_blank”, “POST”);  
}

```
 ----------------
 so it says in [http://www.kirupa.com/developer/actionscript/displayinphp.htm](http://www.kirupa.com/developer/actionscript/displayinphp.htm)

 But, what i get is....

 Scene=Scene 1, Layer=Layer 10, Frame=1: Line 3: Statement must appear within on handler
          submit.onPress = function () {

 Why? [/size]                    
[/color][/size][/font]
```
