Ihave tried to make a very simple flash game before (moving an object with the arrow keys) and i failed miserably, due to one annyoying error. "Else does not meet if" or something like that. Could somebody please help me resolve this issue and maybe even help me build on my flash game?
P.S. I'm new to these forums, as you can see by my post count.
_________________ "Windows does not detect a keyboard. Please press ENTER to continue."
Tue Dec 23, 2008 11:02 am
x2i
Joined: Mon Aug 11, 2008 1:09 pm Posts: 166 Location: England lol
Gender: Male
Currently Playing: Minecraft
Ihave tried to make a very simple flash game before (moving an object with the arrow keys) and i failed miserably, due to one annyoying error. "Else does not meet if" or something like that. Could somebody please help me resolve this issue and maybe even help me build on my flash game?
P.S. I'm new to these forums, as you can see by my post count.
Well by the error given I would assume there's a problem with your If statement - an Else can only accompany a preceding If. The following code should solve your problem and make your object move using the Arrow keys
Users browsing this forum: No registered users and 1 guest
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum