PDA

View Full Version : Random placement help....


Crapatscript
11-19-2001, 11:09 PM
hey... ok i understand the random math, thats simple... but what i want is for a movie clip with text on to randomly apear in my scene without any mouse involvement...

i want the text to appear randomly in different places on each of my two frames looped... if you know what i mean...

is this possible or am i diluding myself?? if it is, then could someone point me in the right direction... i'm not after an answer, just a shove in the way... thanx

Billy T
11-20-2001, 12:43 AM
two frames looped? not sure what you mean by that but anyway....

place your movie clip with the text in it (only needs to be one frame) on to the stage. give it this action

onClipEvent (enterFrame) {
this._x = random (500);
this._y = random (500);
}

Crapatscript
11-20-2001, 11:11 PM
thanx buddy... that was perfect... i said about 2 frames because it was at the end of my movie which meant it would have looped back to the beginning of the movie without another random frame...

thanx... minted!

Crapatscript
11-21-2001, 12:47 AM
one more thing... could some one point me in the direction of where i can go to learn sound effected script... i mean such as making a light flash every beat of the sound clip... that kind of thing...

Billy T
11-21-2001, 01:55 AM
if you find anything please post it here....

I think it can be done with director and a special Xtra...