for 1 to sprite.imagepointcount
create object at sprite.imagepointX(loopindex)
create object at sprite.imagepointY(loopindex)
pin object to sprite.
this will loop through all imagepoints on a sprite, and do whatever you want at each point. you probably want to pin it to the main sprite object