You're probably better off re-writing your own Image component that does exactly that. You could borrow what you need from the existing class i guess to make it easier.

Perhaps Ely Greenfield SuperImage already handles clipping, I'm not sure, either way another good place to start from.

regards,


Bjorn



On 23/04/2007, at 1:33 PM, Mike Anderson wrote:

Hello All,

I have an Image Component, which holds an image that is quite large -
and I only want a certain region of the image to be shown.

What I was hoping to do, is set the Width and Height settings of the
Image Component itself, and then set the ScaleX, ScaleY, X and Y
Properties of the "content".

I was assuming that the Image "Holder" would Clip the Content, since
Adobe made available to the Developer, Properties for the Image Control itself, in addition to Properties for the "content" in which the Control
houses.

Am I wrong in this thinking?

In order to achieve my goals of showing only certain areas of the Image
to be displayed, will I be forced to put each of my Images into a Box
container? Or some other type of container, that allows for the Content
to be Clipped, if the content's size exceeds the constraints of it's
parent container?

Thank you in advance, for any information offered on this topic.

Mike



Regards,

Bjorn Schultheiss
Senior Developer

Personalised Communication Power

Level 2, 31 Coventry St.
South Melbourne 3205,
VIC Australia

T:  +61 3 9674 7400
F:  +61 3 9645 9160
W:  http://www.qdc.net.au

((------------This transmission is confidential and intended solely for the person or organization to whom it is addressed. It may contain privileged and confidential information. If you are not the intended recipient, you should not copy, distribute or take any action in reliance on it. If you believe you received this transmission in error, please notify the sender.---------------))

Reply via email to