I’m trying to do that exploding text effect when it gets converted into pixels and the pixels wander around and recombine to form another word.
Themovieclip of a square 5pixels wide and high has instance name of ‘a’.
What I’m doing right now is to create an array of points and duplicate the movieclip of the pixel and make it move to those points.
However, this is getting a bit tough, as I have to write a few sentences with this. Any ideas how this can be made shorter?
Currently using this:
In frame 1-
xarray=new Array (50,50,50,50,50,55,60,65,70)
yarray=new Array (50,55,60,65,70,70,70,70,70)
for(i=0;i<xarray.length;i++){
a.duplicateMovieClip("a"+i,i);
_root["a"+i]._x=_root.a._x+(5*i);
_root["a"+i].x=xarray*;
_root["a"+i].y=yarray*}
In the movieclip actions-
onClipEvent(load){
_alpha=20;
(_name=="a")?(_visible=0): (_visible=1);
_x=Math.floor(Math.random()*Stage.width);
_y=Math.floor(Math.random()*Stage.height)}
onClipEvent(enterFrame){
_x+=(x-_x)/5;_y+=(y-_y)/5;
(_alpha<100)?(_alpha+=3): (_alpha=_alpha)}
Thx in advance