# Splitting a display object

**URL:** <https://forum.kirupa.com/t/splitting-a-display-object/310971>\
**Category:** flash\
**Created:** [June 24, 2010, 8:52am UTC](https://forum.kirupa.com/t/splitting-a-display-object/310971 "2010-06-24T08:52:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![romit\_2034](https://avatars.discourse-cdn.com/v4/letter/r/ed655f/32.png) [@romit\_2034](https://forum.kirupa.com/u/romit_2034)\
**Post date:** [June 24, 2010, 8:52am UTC](https://forum.kirupa.com/t/splitting-a-display-object/310971/1 "2010-06-24T08:52:11Z")

</div>

I have text field about in the center of my stage. When a button is clicked, I want this text to split and animate out and the new text to appear.

What I thought was to use the Bitmap data object and draw the content movieclip using the .draw() method and then manipulate this pixel data.

But I have only done very trivial things with pixel data in actions script. Can someone help me with what I am trying to do?

Essentially I now have this bitmap data of the movieclip, i want to split in into individual pixels (or small enough chunks) and then animate these chunks.
