OK, let me see if I can get this one down without the need for too
many subsequent clarifications....

I have a php file which is bringing in 3 different swfs into 3
different fieldsets of one form, each swf interacting with the input
boxes in that fieldset to update a matching text box in the swf on
keystroke.  All done using swfobject with static publishing method (so
I could utilize swfobject.getObjectById).

So this works like a charm.  except in IE.  In IE, one would work and
not the others.  And depending on the load time for the page, it could
be the first swf only, or the first swf you interacted with that
decided to work.

So it turns out at the same time I was having problems tabbing from
one textbox to the next (in IE).  Quite often you'd get to a certain
point and tabbing would bring you back up into a loop in the top of
the browser (address bar, search input, tabs, back to address bar, ad
infinitum), and after the first couple of times, I decided to set a
tabindex for these inputs.

So this fixed it!  Mostly.  It turned out to work more easily and
regularly if I split it out so that IE gets a window['swfID'].method()
call and others get a swfobject.getObjectById('swfID').method() call.

But then if you reloaded the page (using the refresh button), the
tabindexing would go all wonky again.

So then I added a pageload method which would set the focus to the
first input.  This fixed THAT problem.

Now everything appears to be working normally.

Hope this can save someone a few hassles.

tl;dr:  set tabindex attribute for each input you're using, then make
sure onload to set the focus to the first input. also be sure to split
out the call to window['swfID'] method for IE and the
swfobject.getObjectById('swfID') method for other browsers.

-- 
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en.

Reply via email to