We fake events all of the time w/o much trouble.  The Automated Testing
feature does some things like this.
 
However, you have to know which event to fake.  In this case, Buttons do
not listen to MOUSE_OVER, they listen to ROLL_OVER
 
-Alex

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Bjorn Schultheiss
Sent: Sunday, April 01, 2007 6:58 PM
To: [email protected]
Subject: Re: [flexcoders] visual effect of mouse over using
dispatchEvent



when you dispatch an Event that way does your handler still fire?
You may have to manually switch the normalskin to the value of the
overskin.

This would be nasty tho.
Good question, perhaps Ely or Alex can elaborate?



On 01/04/2007, at 3:46 AM, dantmcgowan wrote:


        
        and I use dispatch event to simu! late the mouse over:
        
        myButton.dispatchEvent(new MouseEvent(MouseEvent.MOUSE_OVER));


 

Reply via email to