Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Flash Form Assistance

Status
Not open for further replies.

Packet7

IS-IT--Management
Jun 20, 2003
751
US
Hello,

I have a Form embedded as a Movie Clip with the following Action Script applied:
onClipEvent(data){
// show welcome screen
_root.nextFrame();
}

The form consists of three Input Text fields (name, email and message). When I fill out the form in IE, the Tab order doesn't appear to work and I need to click on each field. I thought using the tab index order would correct the problem, but it didn't. I have the following applied to a Key Frame in the movie:
_root.name.tabIndex = 1
_root.email.tabIndex = 2
_root.message.tabIndex = 3

The second issue I have is related to proceeding to the Next Frame after the form is submited and the email is sent via the PHP script. As detailed above, I' using the:
onClipEvent(data){
// show welcome screen
_root.nextFrame();
}
to proceed to the next frame. Unfortunately, it doesn't proceed to the next frame. The good news is that the email is sent, but I would like the "Thank you" frame to appear with a "Back" button.

Any help would be appreciated, thank you.



Rgds,

John
 
Then it should be:

pages.gotoAndStop("thanks");

or

_parent.pages.gotoAndStop("thanks");

Depends on where your button is.

(By the way layers in Flash are totally irrelevant - there are no layers once compiled to SWF.)


Kenneth Kawamoto
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top