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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help! Flash Email Form not working..

Status
Not open for further replies.

SteadySystems

IS-IT--Management
Feb 14, 2003
169
US
I downloaded Kirupa's PHP Email form and changed the colors to my liking. When it runs as a standalone swf file (from an html file), it works! See it here:



However, when I try to implement the form into my navigation links, the form does not work. Nothing happens when the SEND button is clicked.

Here is how I implemented it into my .fla file:


- Modified the colors in Kirupas .fla
- copied all the layers / frames and content from kirupas .fla library and pasted them into a new movie called phpform in my library
- created a button called CONTACT, added this actionscript (which works for all my other buttons and navigation):

on (press) {
this.attachMovie("phpform", "window", 0);
window._x = 0;
window._y = -15;
}

- Highlighted the phpform movie clip in the Library, selected Linkage and set the identifier to phpform (which is required for attach movie actionscript to work)

As you can see here: (click on contact)
It loads the phpform movie with no problems.

Why isnt the send button working? All the actionscript is the same as the original file. Is it a _root or Level issue?

In Kirupas file there are just three layers that holds the content. In my implementation I created a movie then pasted his layers inside phpform.

Any help is appreciated!

SteadyScene
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top