Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Running a JavaScript function after flash loads in ie6
Old 03-18-2009, 03:16 PM Running a JavaScript function after flash loads in ie6
Super Talker

Posts: 116
Trades: 0
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
DonnaZ is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to Running a JavaScript function after flash loads in ie6
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.07764 seconds with 12 queries