Don't have time to run it, but probably a fact of life.  When things
move/zoom on rollover/rollout, they can move from under the mouse
causing further rollover/rollouts

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Heiko Niemann
Sent: Friday, December 21, 2007 6:11 PM
To: [email protected]
Subject: [flexcoders] Moving Buttons - Bug?



Hello,

I tested following code:

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";

     layout="absolute">
    
    <mx:Zoom id="grow" duration="100" zoomWidthTo="2" />
    <mx:Zoom id="revert" duration="100" zoomWidthTo="1" />    
    
    <mx:Panel title="Moving Buttons" layout="absolute" 
        left="20" top="20" right="20" bottom="20" >
    
        <mx:Button x="400" y="200" label="rollOver" 
            rollOverEffect="{grow}" rollOutEffect="{revert}" />
        <! ;mx:Button x="400" y="350" label="mouseDown" 
            mouseDownEffect="{grow}" mouseUpEffect="{revert}" />
        
    </mx:Panel>
    
</mx:Application>


It's just a little zoom effect on buttons - a sample found at many
places.

Basically it works but both buttons will move to the left if I
a) move up and down over the first button very fast
b) click n-times on the second button - very fast again.

That's a side-effect I did not expect :) So
1) can somebody verify this effect?
2) is this a bug or did I miss some attribute I need to set? (obviously
the coordinate system gets dizzy somehow)

Regards, Heiko





 

Reply via email to