ACTION SCRIPT
This Clip Shows The text match with their shape.
If text stop anywhere insist of matching shape then this text will come start position.
I used two array where one of array store text element and one of array store their shape name. use drag and drop concept