Hard Light Productions Forums
Off-Topic Discussion => General Discussion => Topic started by: Fineus on May 17, 2006, 04:40:14 am
-
Hello again all,
Got a quick question for someone who knows Actionscript better than I do.
I want a movie object to move randomly around the screen, but to keep that movement within 200px width/height of the middle of the screen (I'm building a "Crystal Maze" game and need to keep the tickets within the center of the Crystal Dome graphic. I've got the random movement but I can't move it to the center of the screen.
Can anyone help?
-
Scratch that - new question (and I realise given nobody replied that I may not get an answer here).
I'm looking for a way to remove a movieclip/duplicate movie clip by clicking on it. Using this method doesn't work:
on (release) {
_root.score = _root.score+5;
mClip.removeMovieClip("ticket");
}
Any ideas?
-
Forget it. I solved it myself. Wii!