|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
forcing Flash movie browser to top...
Hi guys,
I am putting a flash movie together that will load into the background and i want it to pop to the top of the browser pile once it has loaded. I was wondering if anyone knows of a way to force a flash movie to the top of the browser pile once it has loaded. I have been playing around with trying to put javascript style onblur:self.focus commands on frame one of the loaded movie, but no success yet. Any help appreciated! |
|
#2
|
||||
|
||||
|
Not sure this is the best way, I've heard it does not work in some version of IE on the mac.
function focusMe(){ window.focus(); } place above script in the HTML holding your Flash. then, when your flash has finished loaded. Instead of just a gotoAndPlay(), also place: getURL("javascript:focusMe()"); Can anyone clarify whether this works on the Mac? Thanks |
|
#3
|
|||
|
|||
|
It does the trick.
Thanks for your help! ![]() |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > forcing Flash movie browser to top... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|