You could simultaneously adjust x, y, and rotation to accomplish this,
although I haven't worked out the trig.

- Gordon


-----Original Message-----
From: Doodi, Hari - BLS CTR [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 8:32 AM
To: '[email protected]'
Subject: RE: [flexcoders] image scroll



Thank you very much for guiding me in right direction. Also I have another
problem. This time it is about Rotation. I am able to rotate an image using
rotation attribute. But the problem is image got rotated based on top left
corner. Is there any way to change the registration point of an image from
top left to center of the image?

Thanks!
Hari

-----Original Message-----
From: Manish Jethani [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 25, 2005 11:28 PM
To: [email protected]
Subject: Re: [flexcoders] image scroll


On Fri, 25 Mar 2005 08:58:12 -0500, Doodi, Hari - BLS CTR
<[EMAIL PROTECTED]> wrote:

> Yes, I am zooming image using
> scaleX and scaleY and also I did check my mxml file and parent is not big
> enough to hold the zoomed Image.

A couple of things:

 1.  Use scaleX and scaleY instead of _xscale and _yscale.  The former
will ensure the Loader object resizes and the parent knows about it.
 2.  Why have you set hScrollPolicy and vScrollPolicy to off?  Remove
that and it should work.

Manish


 
Yahoo! Groups Links



 




 
Yahoo! Groups Links



 





 
Yahoo! Groups Links

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

<*> 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