FLEX, Actionscript: 2 questions about mouseOver event and image scaling

Posted by Patrick on Stack Overflow See other posts from Stack Overflow or by Patrick
Published on 2010-04-18T15:16:38Z Indexed on 2010/04/18 15:23 UTC
Read the original article Hit count: 500

Filed under:
|

hi,

1) if I create items in a for loop, is correct to add a new eventListener for each item ? Or should I add only 1 eventListener to the parent ? and call the event through ID ?

2) if I want to scale my item, (a LinkButton with icon image), I noticed that the icon is sometimes resized with delay, so I have a bit of flickering when I trigger the event. Should I not use icons, and set the image in another way ? How can I fix this ?

thanks

© Stack Overflow or respective owner

Related posts about flex

Related posts about actionscript-3