CarrotPay code

The following code is ALL that is required to add a payment to a flash file. See flash integration guide for more details.
  
#include 'flash_carrot.as' //CarrotPay's payment library

var return_url='http://test.carrotpay.com/en/GB/DemoStore/FlashDemo1/age_of_empires_[age_of_empires].html';

var pay1 = new carrotpay('BWRV-JZHS-RQGZ-WLVL'); //create payment object

banner.onRelease=function(){ //connect a payment to the banner
pay1.startPayment('0.001','Age of Empire Cheats',return_url);
}
 
//Once payment has been made the library will call the processed url