I am very new to flash and I have some very basic code that I need help with.
var paddlepos:int = paddle.x.position
if; (paddlepos > 253)
paddle.x.postition = 253;
The errors are:
Scene 1, Layer 'Actions', Frame 1, Line 28 1084: Syntax error: expecting rightparen before leftbrace.
Scene 1, Layer 'Actions', Frame 1, Line 27 1084: Syntax error: expecting leftparen before semicolon.
Help would be very helpful. Thanks.
there should be no semi-colon after if.
Thank you. That worked.