# Flash email form - problem with "onClipEvent"

**URL:** <https://forum.kirupa.com/t/flash-email-form-problem-with-onclipevent/139826>\
**Category:** Uncategorized\
**Created:** [March 6, 2005, 3:47am UTC](https://forum.kirupa.com/t/flash-email-form-problem-with-onclipevent/139826 "2005-03-06T03:47:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ceebeenet](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ceebeenet/32/829_2.png) [@ceebeenet](https://forum.kirupa.com/u/ceebeenet)\
**Post date:** [March 6, 2005, 3:47am UTC](https://forum.kirupa.com/t/flash-email-form-problem-with-onclipevent/139826/1 "2005-03-06T03:47:59Z")

</div>

This concerns the Flash Email Form Tutorial. ([http://www.kirupa.com/developer/actionscript/flash\_php\_email.htm](http://www.kirupa.com/developer/actionscript/flash_php_email.htm))

It works great but I have a problem with this function:

onClipEvent(data){  
// show welcome screen  
\_root.nextFrame();  
}

It just doesn’t work, when I hit the button, it sends the email form, but I don’t see the ‘thank you’ message, so the visitor don’t know that the message has been sent.

I think I know why though… When I make a website with flash, I usually have my ‘main’ movie with banner-buttons etc and I use empty movie clips that loads external swfs into the main movie… Is that clear? It’s pretty simple, I just don’t know how to explain it 😑  
Humm it’s like using \<iframe\> with html!

Anyway, I think it might be the problem, because I tried the movie alone and everything was working fine. So I was wondering if it could be fixed on the line “\_root.nextFrame();” I think \_root is the key here, but I don’t know that much about actionscript so I don’t know what to change.

You can check out what I’m talking about here [www.nlqc.com](http://www.nlqc.com/) its on the section ‘contact’ obviously… The website is in french but I don’t think that might be a problem for anyone to get what I’m saying.

Thanks a lot.
