# onClipEvent(data)

**URL:** <https://forum.kirupa.com/t/onclipevent-data/114896>\
**Category:** Uncategorized\
**Created:** [July 2, 2004, 8:48pm UTC](https://forum.kirupa.com/t/onclipevent-data/114896 "2004-07-02T20:48:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![StArXpLoSeR1](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@StArXpLoSeR1](https://forum.kirupa.com/u/StArXpLoSeR1)\
**Post date:** [July 2, 2004, 8:48pm UTC](https://forum.kirupa.com/t/onclipevent-data/114896/1 "2004-07-02T20:48:52Z")

</div>

i made a form from a tutorial, the SWF sends the data to the PHP file. and then goes to the " successful frame" if the transfer goes well, that’s where i use the onClipEvent(data) to check for data from the server to alow the swf to proceed.  
it works well on a SWF by itself… but my problem is:  
I have a Main movie in which i load the form.SWF … but when i press send after completing the form. it doesnt do anything.

is it because the onClipEvent(data) doesnt work with embedded forms ?  
thanx

the tutorial was there \> [http://www.kirupa.com/developer/actionscript/flash\_php\_email.htm](http://www.kirupa.com/developer/actionscript/flash_php_email.htm)

---

<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:** [July 3, 2004, 5:51pm UTC](https://forum.kirupa.com/t/onclipevent-data/114896/2 "2004-07-03T17:51:43Z")

</div>

I guess Nobody understands what i’m saying…

Okay Could someone just tell me Why my form, from the Kirupa Tutorial \>\>

[http://www.kirupa.com/developer/actionscript/flash\_php\_email.htm](http://www.kirupa.com/developer/actionscript/flash_php_email.htm)

Doesnt work when I load the form.swf into a main.swf movie, but works perfectly fine when i use it by itself?

i just need a little help… please It’s driving me nuts
