Jump to content

Need Help with error in Actionscript 3.0

Featured Replies

I am having the error: "1084: Syntax error: expecting rightparen before not." in a line of my code:

 

if (((mc_shootLaser.x > mc_enemy.x) && (mc_shootLaser.x < mc_enemy.x + mc_enemy.width)) !! (mc_enemy.y < mc_shootLaser.y){

mc_enemy.y += 1000

}

 

Any suggestions on how to fix it?

one possibility is the starting ((( one of the ( is not closed.

Archived

This topic is now archived and is closed to further replies.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.