[_] as2 getURL from class
Simon Johnson
simon at lifeisland.net
Fri Aug 17 14:53:10 BST 2007
hello _
ive been building a gallery site for a client. ive written a class that
extends movieclip and i use it to create instances that display the
paintings and all the relevant details
the class also attaches a button that is supposed to link to paypal
my prob is this
the compiler keeps throwing up an error when i use POST as method?
if i put any thing else in there it obviously complains that i can only
use GET or POST??
here's an example
attachMovie("buy_now1", "buy_now", this.getNextHighestDepth(), {_x:790,
_y:280}).onRelease=function(){
var business="user_email at domain.com";
var item_name:String=$picName;
var amount:Number=$picPrice;
var no_note:Number=1;
var currency_code:String="GBP";
var lc:String="GB";
var bn:String="PP-BuyNowBF";
getURL("https://www.paypal.com/cgi-bin/webscr","_blank","POST");
};
anyone no where im going wrong?
TIA
simon