Flash paypal button

I have a simple button linking to paypal from an html form and I want to place this button into Flash. I found an example that was posted a while back but it didn’t seem to work. Basically the button goes to a url but it also has to send some other info as well with the POST method including an encrypted value. Here is what I have tried. Also note that I have deleted some of the Encryption value for this posting for security reasons.

on (release) {
var pp_lv=new LoadVars();
pp_lv.encrypted="-----BEGIN PKCS7-----MIIG/QYJKoZIhvGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYCSPDaF/KjciWI5MpzIoc/cvgSLU1DQRiQ=-----END PKCS7-----";