Hi Willy,

If this was Flash, you would just place a mask over the image.  In 
Flex, you can emulate this by placing the image inside a container 
that uses absolute positioning.

<mx:Canvas width="100" height="100"
    verticalScrollPolicy="off" 
    horizontalScrollPolicy="off">
    <mx:Image x="-200" y="-300" source="large_image.jpg"/>
</mx:Canvas>

-TH

--- In [email protected], "Willy Ci" <[EMAIL PROTECTED]> wrote:
>
> hi
> 
> is there a way to display certain portion of a image using the 
image control
> 
> let;s say my large_image.jpg is 400x400, but my image box is only 
100x100,
> <mx:Image height="100" width="100" source="large_image.jpg" />
> is there a way to display part of the image from 200 to 300?
> 
> thanks ahead
> 
> 
> 
> -- 
> Willy
> 
> -------------------------------------------------------------------
---
> maybe today is a good day to write some code,
> hold on, late me take a nap first  ... Zzzz
> -------------------------------------------------------------------
---
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to