|
Hey all,
I have a big question.
We have a looping flash animation on our homepage. Also on the homepage is a login box. There's javascript that determines if someone logged in before and if so, places the cursor into the password field.
It works great in all the browsers except...IE6. The problem is that the javascript code runs before IE6 finishes installing the flash .swf. After the flash comes in, it has the focus and not the password field.
I've done everything I can think of... timers, putting the code in last on the page...nothing works. It turns out that the ENTIRE PAGE loads prior to the Flash File.
In FLEX, I can use onCreationComplete() to call an external JavaScript function.
Can I do something similar in FLASH? I'd like to trap only for IE6 and not other browsers, thus the code runs only for IE6.
Does it matter if the animation loops?
Donna
|