Click to See Complete Forum and Search --> : Import SWF as an object and see dimensions.
ER Wyler
06-15-2002, 02:02 PM
Am I doing something wrong? I cannot figure out how to see the width and height of an imported SWF object. I want to be able to resize it and know what the new pixel dimensions are on the fly. You can see this with an image or vector object on the bottom task bar. Or is this in the works for a future update? Any help would be appreciated.
johnie
06-15-2002, 09:32 PM
The bounding box shows the hieght and width Visually... It is possible to make those changes. You can just click on the scale tool and resize.
The internal drawing tools will show an aproximate pixel size of a shape so you could also draw a shape over the bounding Box. If you must know the aprox pixel hieght and width you could do this and then remove the shape when you are done playing with it.
Possible new feature?
Bob Hartzell
06-15-2002, 10:31 PM
You can manipulate the object because it is a movie clip using action scripts. The width is swf1._width and the height is swf1._height. Unlike user drawn movie clips the origin is the upper right coner of the bounding box (a design flaw on my part).
bridelh
06-16-2002, 07:19 AM
Originally posted by Bob Hartzell
Unlike user drawn movie clips the origin is the upper right coner of the bounding box
I think 0,0 origin is at the upper left.
Hilary
--
Bob Hartzell
06-16-2002, 08:37 AM
Correct.
johnie
06-16-2002, 05:16 PM
I am not 100% sure, but I think he wants an internal measure that shows in the bottom of the drawing tool like there is for rectangles. Then again all those numbers, as is anything when dealing with a vector drawing tools, are subjective and aren't really pixel sizes.
I don't think he was interested in scripting the height and width, which adjusting the hieght and width properties of a movie clip will do through scripting.
Drawing a rectangle over the bounding box and then seeing its relative size does this more or less. I don't see the utility in doing this, but then I don't really see to much utility in showing it for other shapes, but some who want to make it exactly half the size of another shape without scripting (Or something simular) may want to do that.
flashkit.com
Copyright WebMediaBrands Inc., All Rights Reserved.