If you don't own the content, the FCK won't help you. You'll need to wrap the content and implement your own tabbing scheme. Difficulty Rating 8 out of 10.
You'd need a SWFLoader subclass that implements IFocusManagerComponent. It would need a keyFocusChange handler that calls preventDefault(). From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of aut0poietic Sent: Tuesday, December 09, 2008 1:34 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Cannot Tab to MovieClips from Flash SWF Loaded with SWFLoader Thanks for the tip Alex. I'm googling now, but I'm curious how this could be of benefit to me for a MovieClip on stage. Content designers build the SWF's that my application loads in, which consists of simple MovieClips, images, vector graphics and some interactions (like drag/drops or a multiple choice question). It sounds like I'd have to specify a base class for every movieclip on stage that implemented IFocusManagerComponent. Am I far off, or is there some secret sauce in the kit? --- In flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>, Alex Harui <[EMAIL PROTECTED]> wrote: > > The CS3 entities need to implement IFocusManagerComponent. You might be able to use the Flash Component Kit to do that > > From: flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com> > [mailto:flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>] On Behalf Of aut0poietic > Sent: Tuesday, December 09, 2008 7:47 AM > To: flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com> > Subject: [flexcoders] Cannot Tab to MovieClips from Flash SWF Loaded with SWFLoader > > > Title pretty much says it all: > > I have a Flex 3 application which can basically be summed up as a SWF > player which loads SWF's created in Flash CS3. > > When the SWF's are loaded, I can interact with them using the mouse > (click/mouseover, etc). However, these items cannot be tabbed to. > > I've been hacking around on this all morning, without much luck. I've > ensured that every item in the application either has a tabIndex and > is .tabEnabled or has tabEnabled=false and tabChildren=true. > > I've even resorted to enumerating over the child MovieClips in the swf > (using swfLoaderInstance.content.getChildAt()) and setting tabEnabled > and focusRect are both true, and confirming that the tabIndex on these > mc's was preserved. > > I'm at a serious loss as to what to do next -- I can't have > controls/interactions that the user can't tab to. Am I missing > something simple? A setting on the SWFLoader? The Application? > > Hope someone's had to deal with this before and knows a solution. > > Jer >