On 4/30/07, beecee1977 <[EMAIL PROTECTED]> wrote:

>         <mx:Zoom id="zoomEffect" zoomHeightFrom="0.5"
> zoomHeightTo="1" zoomWidthFrom="0.5" zoomWidthTo="1" />
>         <mx:Image id="im1" source="im1.png"
>                 rollOver="zoomImg(event)" rollOut="zoomImg(event)"
>                 scaleX="0.5" scaleY="0.5" x="28" y="10"/>
[snip]

> The idea is the have a toolbar where as I scroll over the images are
> zoomed (ala Mac toolbar I think).
> I find that when I move the mouse slowly across the images it behaves
> as expected. However if I move the mouse more quickly all the images
> end up getting zoomed.

Use the "rollOverEffect" and "rollOutEffect" styles instead of
triggering the zoom manually. The effect styles should take care of
terminating any existing zoom effect and starting a new one when you
roll over/out the image.

Reply via email to