You could adapt this for use:
 
http://www.darronschall.com/weblog/archives/000054.cfm
 

Jason Merrill 
Bank of America  
GT&O Learning & Leadership Development 
eTools & Multimedia Team 


 


________________________________

        From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel Holth
        Sent: Sunday, March 25, 2007 7:29 PM
        To: [email protected]
        Subject: [flexcoders] Registration point woes
        
        

        I'm developing my first Flex component, and I'm having some
trouble 
        with registration points and images. I'm loading data from
flickr, 
        and have a custom class that extends mx:Image.
        
        I'm trying to create a rollOver effect that will increase the
size of 
        the clip from its CENTER, but right now the registration point
is the 
        top left... I've dealt with this issues in Flash, but I can't
seem to 
        figure out a way to do it in Flex. I tried changing my custom 
        component to be a canvas, and adjust the position of the image
by 
        width/2 and height/2 but then it only shows a quarter of the
Image.
        
        Could someone help me out on how to get Images/components to
scale or 
        register from their actual center, not the top left?
        
        Thanks!
        -DC
        
        http://blog.dcholth.com <http://blog.dcholth.com> 
        aim: zotropix
        

         

Reply via email to