Resize to Box

Resize any display object, maintaining aspect ratio, to fit within a box. 