Question
Sending Form Variables via AS3
I'm trying to write the AS3 code to send information to
PayPal when someone clicks on a "buy" link. The code I have written
so far is attached. Basically, I have a button on the stage
(buy_btn). I've set up an event listener for it that runs a
function called "buycd" when it is clicked. I need to send two
variables: "cmd" and "encrypted." Flash says there are no errors in
the code and the file plays fine. But when I click on the button I
get this error:
Error opening URL 'https://www.paypal.com'
Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: https://www.paypal.com
at facewithpaypal_fla::MainTimeline/frame1()
Any advice or help as to what I'm doing wrong would be greatly appreciated. Thanks very much.
Error opening URL 'https://www.paypal.com'
Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: https://www.paypal.com
at facewithpaypal_fla::MainTimeline/frame1()
Any advice or help as to what I'm doing wrong would be greatly appreciated. Thanks very much.