Re: [flexcoders] Confusion on Image Component

2007-04-23 Thread Manish Jethani
This might work: 1) Set scaleContent to false 2) Set width/height of Image explicitly It'll display the content from {0,0}. If you want to display some other part, set the scrollRect property on the content object. On 4/23/07, Mike Anderson [EMAIL PROTECTED] wrote: Hello All, I have an

[flexcoders] Confusion on Image Component

2007-04-22 Thread Mike Anderson
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

Re: [flexcoders] Confusion on Image Component

2007-04-22 Thread Bjorn Schultheiss
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.