Flash Script wont work...

mase

____ ___ ____ __
Reaction score
154
Code:
onClipEvent (enterFrame) {
	this._x += 5
	if (this._x > 500) {
		gotoAndPlay ("start",1)
	}
}

For some reason that wont work... Can anyone tell me why not?
 

Jindo

Self
Reaction score
460
I think that in a condition, it should be either >=/<= or ==.

Might not be though.

Also, If this is a game and you're using scenes, someone told me that using scenes in a game is a bad idea as it is more awkward.

Hope this helps.

~Jindo
 

mase

____ ___ ____ __
Reaction score
154
Lol, Thanx.

The scenes are for my Intro, it either starts the game, goes to a cheat menu or shows credits lol.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top