USERNAME:
PASSWORD:
Save Info!
Logging in…
This topic is 1 page long.
[ Profile | Posts | Contact ]
Posted at: 9/2/06 01:12 AM
Sign-Up: 12/24/04
Posts: 1,562
hello friends and foes.
please could you help me with this, my problem is i want to attach something from the library along the _X axis between 43.5 and 253.2, but i also want to add it randomly, so it randomly is added, can anyone help me with this?
Thank you, i love you all. godbless.amen.halaho..
Posted at: 9/2/06 01:27 AM
Sign-Up: 08/09/03
Posts: 9,270
This would do it:
curClip = _root.getNextHighestDepth(); attachMovie("namefromlibrary", "clip_" + curClip, curClip); _root["clip_" + curClip]._x = Math.floor(Math.random() * (253.2 - 43.5)) + 43.5; _root["clip_" + curClip]._y = anumber;
TOTW.com! -- Orange Fox Games
All times are Eastern Standard Time (GMT -5) | Current Time: 09:33 AM
<< Back