AS3 send 2 friend form
Description— the form can be used to send a link to any number of emails. For the purpose of the fla and demo i have set this to 3 max emails
Setup php script—
In order to get up and running with the s2f form you first need to open the send2friend.php script. You now need to add your site address and site name, you will find the where to put these between line 10 and 13 of the php script. No changes/modifications are required in the swf.
// - Setup static vars for email - //
$sitename = “your site name”;//—// Only need to change this to match your site name
$siteurl = “http://www.yoursite.com”;//—// Only need to change this to match your site url
//—
Upload s2f.html, s2f.swf and AC_RunActiveContent.js and test in your browser Thats it all done
Usage—
The form can be used as a standalone to be added onto an html based site or it could be added to an existing flash site with simple drag drop mc from library
The php script has been tested on a linux based server and windows dedicated server with php support.

27 Purchases
13 Comments