[AS2.0] PayPal Link Via a Flash Button

Hello,
I am trying to make a button in Flash (that uses ActionScript 2.0) that will load the PayPal web site using the code provided by paypal. I choped up the PayPal button to get the follow that I thought was correct:

 
    var cmd:String = "_s-xclick";
    var encrypted:String = "great-big-long-string-of-numbers";
 
on (release) {
 getURL("https://www.paypal.com/cgi-bin/webscr", "_parent", "POST");
}

Am I heading in the right direction?

Or if anyone knows a simpler way, please let me know as ActionScript makes my poor head hurt.