Thread: SCRIPT Problem
View Single Post
01-12-2005, 03:53 AM
#3
CEStudios is offline CEStudios
Status: Junior Member
Join date: Jan 2005
Location:
Expertise:
Software:
 
Posts: 78
iTrader: 0 / 0%
 

CEStudios is on a distinguished road

  Old

OK what do you want to see, i cant figure out how to load my file on to this so you can see it. The flash file has several areas of action scripting. Ok ill try laying it out for you. I have 2 layers, the top layer on the timeline has scripting in it. The timeline only has 2 frames, one for the form and the next for the confirmation. Bottom layer has all the text and stuff in it. The top layers coding is as follows, frame 1 (the actual form where you select what you want in the combo box)
Code:
fscommand ("allowscale", "false");
mailform = "compform.php";
action = "";
stop ()
Frame 2 on the top layer is as follows

Code:
loadVariablesNum(compform, 0);
answer = "Please wait for confirmation ...";
stop();
Ok, the bottom layer only has coding on the submit button, currently the combo box has an instance name of box, no action script is on it. The action script on the submit button is as follows

Code:
on (release) {
		action = "Send";
		loadVariablesNum("compform.php", 0, "POST");
		nextFrame();
	}
If you need the php script let me know. But im just trying to figure out how to take what they select in the combo box and send what they clicked to php so it will e-mail what they selected to the guy.