# AS2 PHP email form query

**URL:** <https://forum.kirupa.com/t/as2-php-email-form-query/285327>\
**Category:** flash\
**Created:** [March 30, 2009, 3:16pm UTC](https://forum.kirupa.com/t/as2-php-email-form-query/285327 "2009-03-30T15:16:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bennymt](https://avatars.discourse-cdn.com/v4/letter/b/b38774/32.png) [@bennymt](https://forum.kirupa.com/u/bennymt)\
**Post date:** [March 30, 2009, 3:16pm UTC](https://forum.kirupa.com/t/as2-php-email-form-query/285327/1 "2009-03-30T15:16:48Z")

</div>

Right, I think this is a pretty easily solved problem.

I have created a contact form following the tutorial: [http://www.kirupa.com/developer/actionscript/flash\_php\_email.htm](http://www.kirupa.com/developer/actionscript/flash_php_email.htm)

The contact form is contained within an externally loaded swf file as part of a full flash microsite.

This is the actionscript used to load the thanks/email confirmation frame:

onClipEvent(data){  
\_root.nextFrame();  
}

I think the problem is with the “\_root” phrase, as refers to the holder .swf’s \_root and not the contact forms?

I have tried various alternatives such as “\_root.currMovie” etc but I am not massively experienced with actionscript and I’m unsure of how exactly to phrase it.

Any help is appreciated.

Cheers.
