I'm pretty sure you can't do anything about that.  I've found that
setting focus to the SWF only works in IE; e.g. - where you do a
javascript .setFocus() to the swf object and the text box in the Flex
app already has focus.

It's just a difference between IE/FF unfortunately...

It's a little 'hacky' in my opinion, but if you absolutely need keyboard
events from a non-focused swf, check out Gary Bishop's blog about a
creative way of doing this by capturing keyboard events with Javascript.
I've had to do it for a number of things I've worked on and it works for
me, but only on those browsers with Javascript enabled...

 
http://wwwx.cs.unc.edu/~gb/wp/blog/2007/06/08/fixing-firefox-flash-fooli\
shness/
<http://wwwx.cs.unc.edu/%7Egb/wp/blog/2007/06/08/fixing-firefox-flash-fo\
olishness/>

- Kevin

--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> For me, it happens in every browser.
>
>
>
> ________________________________
>
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
> Behalf Of Michelle Grigg
> Sent: Wednesday, June 18, 2008 10:36 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Flex and Flash 9 movies in Firefox
>
>
>
> Hi guys!
>
> I'm perplexed.
>
> I have a Flex 2 application that runs a little Flash 9 movie within it
> at one point. This SWF requires user interaction in the form of
> typing a letter into a textbox.
>
> Strange things occur in Firefox when, once you get to the frame with
> the textbox (focus is set to it so that the cursor is blinking), then
> alt-tab to another window and go back, you cannot interact with the
> textbox at all. The cursor has gone, and clicking on the control does
> nothing. Clicking on a button works, however.
>
> Anyone know how to fix this? Anyone even had this problem themselves?
> It ONLY happens in Firefox.
>
> Cheers,
> Michelle
>

Reply via email to