Flash 5 Links help

Hi Anthony,

I have made a simple file so that it is easier to understand.
Well here it is…

[FONT=arial]hello ashwin wow !!! its not so easy as i thought i think ill stick to normal pages !!! i do have 1 more question though is there anyway of making a contact form using a script and make it a flash one so no one can take the script ? let me know thankyou [/FONT]

If you’re using a cgi mailer, you can make a Flash form just the same way as you make a normal html form. For every field in your html form (visible and hidden) you need to define a variable. To submit your Flash form use getUrl() and sent the variables using POST.

If your server has php enabled the php mail() function is even easier (and a nice way to dip you toes into the php ocean)

< ?php //as always delete the space between < and ?
mail(addressee(s), subject, message [, anyOptionalHeaders]);
?>

One other thing - when you use POST with getUrl() it appends every variable instantiated on the timeline from which the getUrl() is called. Usually this isn’t a problem but if you’ve a lott of clutter on the main timeline then put your mailer vars into a movie clip and call the getUrl() from within the clip

[FONT=arial]hello …ok then thanks i will try that [/FONT]