# Some Action Scripting Questions

**URL:** <https://forum.kirupa.com/t/some-action-scripting-questions/68254>\
**Category:** flash\
**Created:** [October 23, 2004, 4:10pm UTC](https://forum.kirupa.com/t/some-action-scripting-questions/68254 "2004-10-23T16:10:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![VersusMG](https://avatars.discourse-cdn.com/v4/letter/v/898d66/32.png) [@VersusMG](https://forum.kirupa.com/u/VersusMG)\
**Post date:** [October 23, 2004, 4:10pm UTC](https://forum.kirupa.com/t/some-action-scripting-questions/68254/1 "2004-10-23T16:10:13Z")

</div>

Okay i’ve been working on this site now for about a month, and i’m really close to being finished. But before i can get it done i have a few problems with some action script questions.

First i am using a php email form in flash…basic. but when it sends out the information to the php it tells the flash file to play the next frame.

[font=Courier New][color=#003366]onClipEvent(data){  
\_root.nextFrame();  
}[/color][/font]

But its an external swf so when you click send it doesn’t do anything…which i’m asuming the “\_root” part is refering to the main movie not the external swf? The form is inside a movie clip called “Sunset” and i want to make it play the next frame inside the “Sunset” movie clip. So i changed the “\_root” to “\_parent” and now it plays the next frame from the main timeline inside the external swf file…i hope your not confused. I am using midframe animations, kind of a intro and an outtro of sorts, so if you don’t fill out the form its and click a different button on the main movie then it just jumps to the thank you frame. My question is should i change the “\_parent” tag to something like “\_parent.Sunset” or “\_root.Sunset”. Or am i way off.

Please let me know.
