| Discussion Home | About | Threads By Date | Search |
Title
AS3 Question
Content
I also sent this out in an email to the listserv. We'll see which gets answered first. ;)
---
So I'm working on an ecommerce project here, and it's almost entirely complete. I am basically creating a PayPal "Buy Now" button in flash, and a part of that involves sending a bunch of URL Variables to paypal.
My problem is that one of the variables I have to use is called "return".
See my code snippet, attached.
I get this error:
"1084: Syntax error: expecting identifier before return.�"
I think Flash thinks I'm trying to use the "return" keyword to terminate the function.
Is there any way around this? Can I escape the keyword functionality of the word "return"? Alternately, does anyone know if PayPal offers an alternative keyword for use with AS3?