PDA

View Full Version : Flash form not working inside a movieclip



gerlewis
July 14th, 2004, 10:19 AM
Hi guys this is my first post!

I created a flash form which collected data and sent it to an asp file which inturn sent it to me as an email. (for my website).

The form worked fine, as a standalone swf file, BUT now its not working since i did this:

instead of running it as a standalone file, im now trying to run it inside a main, bigger swf file, as a movieclip.Its running inside a movieclip called 'Movieclipcontainer.' And as a result its no longer working!

I havent changed my actionscript, and im thinking I probably need to! but i dont know what changes need to be made.
Here is the actionscript on the form:

onClipEvent(data){
// show welcome screen
gotoAndPlay("brochure", 46);
}

and here is the script on the send button:

on (release) {
// send variables in form movieclip (the textfields)
// to email PHP page which will send the mail
form.loadVariables("brochure.asp", "POST");
}

Any tips/help is much needed and appreciated!
Finally i dont know if its a dynamci/input text iusse maybe?

Thanks guys
Geraint

gerlewis
July 15th, 2004, 05:11 AM
BUMP!

Anyone got any actionscript ideas? or can you point me to a website with mroe info?
(sobs!)

Geraint

lampe
July 15th, 2004, 05:32 AM
i made a php-driven flash-form yesterday, using this tutorial:
http://www.flashfocus.nl/showDetail.asp?TypeId=13&NewsId=5798

it worked perfect! (you need to login to download the fla-file, but if you want, i can mail you the file...)

hope this helps

lampe

www.nookyalur.com

gerlewis
July 15th, 2004, 09:20 AM
yes, if you could email it to ger@breathe.com that would be great!

But my real problem is the action script working inside a movie clip.

Ger

Urme
September 8th, 2004, 04:55 AM
I have the same problem with the form mail php script...



onClipEvent(data){
gotoAndPlay("scene34");
}


That won't work inside a movieclip.. anyone know a workaround?