Hey. I'm trying to scroll a whole array of randomly placed items with the rest of the level. But it wont let me do that!
this is my function:
public function movelevel()
if( _player.x < 50 && move_left == true )
if( _player.x > 600 && move_right == true )
bg.x -= 5;
_enemies.x -= 10;
_items.x -= 10;
_platform.x -= 10;
And here is my error, which goes on forever:
TypeError: Error #1006: value is not a function.
There is some nasty little loop, but i am a AS n00b so I dunno how to fix it. Is there a good way to move a whole array simple?