Alex, Thanks, the wrong event was my problem. As soon as I changed my addEventListener and my dispatchEvent lines to MouseEvent.ROLL_OVER instead of MouseEvent.MOUSE_OVER it started working. Thanks again,
Dan --- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote: > > 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)); >

