Code:
First Try
on (rollOver) {
this.gotoAndPlay("s1");
}
on (releaseOutside, rollOut) {
this.gotoAndPlay("s2");
}
on (release) {
getURL("https://www.paypal.com/cgi-bin/webscr—cmd=_...charset=UTF%2d8", "_blank");
}
Second Try
on (rollOver) {
this.gotoAndPlay("s1");
}
on (releaseOutside, rollOut) {
this.gotoAndPlay("s2");
}
on (release) {
//create the LoadVars that will hold our paypal information
var paypal = new LoadVars();
//specify the business, amount of the item, shipping, etc.
paypal.cmd="_xclick";
paypal.upload="1";
paypal.business="my@address.com";
paypal.currency_code="CAD";
paypal.amount="";
paypal.handling = "";
paypal.item_name="";
paypal.input_type="hidden";
paypal.input_button="encrypted";
paypal.input_name="encrypted";
paypal.input_value="-----BEGIN PKCS7-----My paypal URL-----END PKCS7-----";
//send information to PayPal
paypal.send("https://www.paypal.com/cgi-bin/webscr","POST";
}
[/code]
Edited by igotregistered, 11 January 2008 - 06:18 AM.
