Skip to main content
Inspiring
December 9, 2006
Question

Scramble MC's

  • December 9, 2006
  • 2 replies
  • 300 views
Hi,

Is it possible to scrable movie clips on a stage?
For example, every time i enter the frame, the movieclip possition is diferent.
This topic has been closed for replies.

2 replies

Participant
December 9, 2006
Try This

st_width = //stageWidth
st_height = //stageHeight

Your_MC._x = Math.random() * st_width;
Your_MC._y = Math.random() * st_height;

Hope this helps

Daniel
www.albingraphics.com
Ricky2k7Author
Inspiring
December 10, 2006
hey!
thanks for the reply Dan
but isn't this going to send the mc off the stage?

Your_MC._x = Math.random() * st_width;
Your_MC._y = Math.random() * st_height;

kglad
Community Expert
Community Expert
December 9, 2006
yes.