Scale to Bounds?

Am am working on a project that needs some sort of scale to bounds script. For example, imagine a movieclip with 10 objects within. Each object has its bounds stored. I need to be able to scale and move the container movieclip so that the selected sub-movieclip takes up the view area (view area is stored as bounds too).

Had anybody had to do something like this? I am having trouble finding any information on this.


About this entry