Answered
Fitting a picture to fill a box
I have a layout that I've created in Flash that involves
bringing a picture in dynamically into a box. I can get it to come
in at the top left without a problem, but ideally I need it to fill
the height of the box (if it's a portrait picture) or the width (if
it's landscape).
The box's dimensions are 555px wide x 420px height
If it is a portrait picture, then it needs to be centred horizontally.
I'm so used to pressing a couple of buttons in InDesign (fit content proportionally and then centre in box) that I forget everything technical in Flash requires so much thought!
Any help would be most appreciated.
Andy
The box's dimensions are 555px wide x 420px height
If it is a portrait picture, then it needs to be centred horizontally.
I'm so used to pressing a couple of buttons in InDesign (fit content proportionally and then centre in box) that I forget everything technical in Flash requires so much thought!
Any help would be most appreciated.
Andy
