Creating a Mail Form with PHP and Flash - Part 2 - Page 10
(Page 11 of 14 )
Now click on Frame 2 of the tick layerAs you can see I have placed a tick in Frame 2 over the PHP boxIn Frame 3 I have placed a tick over the ASP box Frame 4 JSP and Frame 5 CF.

So how do you set the variable to pass to your PHP scriptAgain we add some actionscript to each button, let's look at the PHP button.
on (release) { /:ssl = "PHP"; gotoAndStop (2); } |
Let's look at the code line by line againon (release)perform this action when the mouse button is clicked then released/:ssl = "PHP";The value of the variable ssl now equals PHPgotoAndStop (2);Go to and stop at Frame 2 of this movie, of course Frame 2 has the tick over the PHP box, so it appears as if you have ticked the PHP boxAdd this action to all the other buttons changing the code as needed.So we have our drop down menu and our checkboxes now.**Remember when you drag the sslcheck movie onto the main movie stage. To give the clip an instance name of sslInstance names don't have to be the same as the movie's name, but if you must remember to do this
Next: Page 11 >>
More Miscellaneous Articles
More By Codewalkers