# Text pixel explode effect

**URL:** https://forum.kirupa.com/t/text-pixel-explode-effect/28209
**Category:** Uncategorized
**Created:** [August 11, 2003, 11:57am UTC](https://forum.kirupa.com/t/text-pixel-explode-effect/28209 "2003-08-11T11:57:05Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![radicaljugnu](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@radicaljugnu](https://forum.kirupa.com/u/radicaljugnu)
#### Post date: [August 11, 2003, 11:57am UTC](https://forum.kirupa.com/t/text-pixel-explode-effect/28209/1 "2003-08-11T11:57:05Z")

</div>

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-

```auto

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-

```auto

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 🙂

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [August 11, 2003, 10:03pm UTC](https://forum.kirupa.com/t/text-pixel-explode-effect/28209/2 "2003-08-11T22:03:26Z")

</div>

Check the forums, I posted the code twice I think (last time during the footer contest, check my thread) 🙂

Good luck :cowboy:

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [August 12, 2003, 4:55am UTC](https://forum.kirupa.com/t/text-pixel-explode-effect/28209/3 "2003-08-12T04:55:01Z")

</div>

ya thx, Ilyas, pretty interesting AS you got there, but that also uses Arrays to create the points of the letters, just with the jiggling of the pixels and stuff. Thanx a lot, but still I wish there was a way to just write in text to a dynamic text box and stuff. Though this will also work, will just take some time. 😉
