Hello there
Sorry to burden the forum with another random math question, i’m wanting to emulate a sparkle effect onRollOver, i have 28 MC’s position on the stage, with the names,
twinkle1
twinkle2
twinkle3
…etc
twinkle28
thought maybe have them in an Array…? but i’m not sure if thats the right approach.
when the mouse rolls over hitArea i need a Random mathematical equation to call multiple MC’s at once and have them play the fallowing functions;
function twinkleIn(){
this.scaleTo(100,.5,"easeInCirc");
this.alphaTo(100,.5,"easeInCirc");
this.rotateTo(200,.5,"easeOutCirc");
}
function twinkleOut(){
this.scaleTo(0,.5,"easeInCirc");
this.alphaTo(0,1,"easeInCirc");
this.rotateTo(0,1,"easeOutCirc");
}
these will hopefully simulate a sparkle effect, hopefully someone out there could shed some light on the sitution for me,
i’ve attached the .fla
note: i use fuse, so you’ll need fuse too(i think)
Thanks
Cam