I just changed from an html only site into a new flash site. I've tried all of the the different code options here in this forum but nothing is working when I add the action script. Can somebody please tell me how to make my button work? I need the script to make the button go to the payment page for my website business.
Than you
My button isn't clickable, it is recognized but not clickable. I get an error (below) before I can "preview" in Flash.
Here is my actionscript
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 Email HERE";
paypal.currency_code="CAD";
paypal.amount="";
paypal.handling = "";
paypal.item_name="Par-K Game";
paypal.input_type="hidden";
paypal.input_button="encrypted";
paypal.input_name="encrypted";
paypal.input_value="-----BEGIN PKCS7-----My Encrypted XYZ HERE-----END PKCS7-----";
//send information to PayPal
paypal.send("}
Here is my error:
**Error** Symbol=Mailing Address2, layer=Layer 1, frame=1:Line 18: ')' or ',' expected
paypal.send("Total ActionScript Errors: 6 Reported Errors: 6
Than you
My button isn't clickable, it is recognized but not clickable. I get an error (below) before I can "preview" in Flash.
Here is my actionscript
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 Email HERE";
paypal.currency_code="CAD";
paypal.amount="";
paypal.handling = "";
paypal.item_name="Par-K Game";
paypal.input_type="hidden";
paypal.input_button="encrypted";
paypal.input_name="encrypted";
paypal.input_value="-----BEGIN PKCS7-----My Encrypted XYZ HERE-----END PKCS7-----";
//send information to PayPal
paypal.send("}
Here is my error:
**Error** Symbol=Mailing Address2, layer=Layer 1, frame=1:Line 18: ')' or ',' expected
paypal.send("Total ActionScript Errors: 6 Reported Errors: 6