The browser does not give the Flash Player focus by default, which
is why the click is required.  In IE, you can write an HTML wrapper
that sets focus to the app automatically.  No such workaround on
Mozilla and Firefox as far as I know.

Doug

--- In [email protected], "Raheen M Shabbazz"
<[EMAIL PROTECTED]> wrote:
>
> I'm trying to intercept an onMouseWheel event which I can do
> successfully, but I have to mouse click on the app before the
> onMouseWheel even gets fired.  Is this by design or am I missing
> something?
>
> I created a default MXML Canvas application and put the following
code
> into the creationComplete handler ::
>
> var mouseListener:Object = new Object();
> Mouse.addListener(mouseListener);
> mouseListener. {
>      fast.echo.Echo.debug("------------> MouseWheelHit!");
>      fast.echo.Echo.debug("------------> delta = " + delta);
> };                       
>
>
> Again, this code works perfectly fine -- AFTER I mouse click on the
> app.  It does nothing until that happens.
>
> Any suggestions?
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to