Actionscript trace

Hi all

First a brief explanation

I have images that are made up of hundreds of 1 colour dots that are different shapes and sizes, see attached example for basic idea(very basic)

what i want to do it to be able to import that image into flash and get it to “trace” the individual dots into sprites so i can tween them in an out of position

And ideas? or advice as to what to look at or where to start?

Many thanks in advanced