Whispers - I realize this post is a little old, but I'm hoping you still monitor it. I'm an animator, so I'm good with Flash, but am new to Actionscript, so I haven't learned arrays yet. Could you show me how to setup the cartArray? Thanks!
[QUOTE=whispers]
PHP Code://Loop through the array for product details;
for (var i = 0; i<cartArray.length; i++) {
var num = i+1;
payPal["item_name_"+num] = cartArray[i].name;
payPal["quantity_"+num] = cartArray[i].quantity;
payPal["amount_"+num] = cartArray[i].amount;
payPal["on0_"+num] = "Color: "+cartArray[i].color;
payPal["on1_"+num] = "Size: "+cartArray[i].size;
}
