Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Desktop, Mobile and non-browser Environments > Projectors and CDs

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-09-2001, 04:34 PM   #1
Michael Kivi
Registered User
 
Join Date: Nov 2001
Location: Boston, MA
Posts: 8
Send a message via AIM to Michael Kivi Send a message via Yahoo to Michael Kivi
Red face New Browser Window opens behind Flash Movie

I built a Windows Projector(.exe) in Full Screen Mode for a software installation CD. Within a few of the scenes, I'm using
geturl to open html readme documents. Here's the issue. . .certain browsers open the New Browser Window behind the Flash movie, which I mentioned is in Full Screen Mode. Other browsers open the New Browswer Window in front of the Flash movie, which is of course, the desired effect. Any thoughts???

I tried loading the following javascript into the <body> tags of the html documents to no avail. . .

onLoad="JavaScript:self.focus();"

anyone else out there run into this one?

also, it seems to work perfectly in IE6, and not in IE5. . .
Michael Kivi is offline   Reply With Quote
Old 11-12-2001, 02:33 PM   #2
Michael Kivi
Registered User
 
Join Date: Nov 2001
Location: Boston, MA
Posts: 8
Send a message via AIM to Michael Kivi Send a message via Yahoo to Michael Kivi
Default

Javascript was indeed the answer. . .I just needed to get the syntax correct. I placed this in the head of my html docs:

<script>
<!--
function setFocus() {
window.focus()
}
//-->
</script>

and then called the function in the body tags:

onLoad="setFocus()"

This actually works for my local html docs, and also seems to set the focus on non-local html docs that I have not placed the script into. . .strange. Apparently, once the new window has been set to focus onLoad, the browser "remembers" and focuses all new html docs, without the javascript. . .so, I'm all set as long as someone doesn't link to one of the non-local html docs first!
Michael Kivi is offline   Reply With Quote
Old 12-04-2002, 08:41 AM   #3
miakazi
Registered User
 
Join Date: Dec 2002
Location: Hannover, Germany
Posts: 10
Default

Hi, I'm having the same problem with launching an Explorer window from a projector file. If explorer is open, it opens behind the full-screen projector. If it is not open it opens in front. How can I be sure it will always open a window in front of my projector? Any ideas- would be greatly appreciated!

miakazi
miakazi is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tutorial for Launching a Centered Pop-Up Window vazbo ActionScript 1.0 (and below) 6 09-11-2009 11:19 PM
Change width - Height in flash movie according to html window size Andemad ActionScript 2.0 1 09-03-2008 07:35 AM
Point flash movie from "back" browser button Lynx75 Server-Side Scripting 1 11-16-2002 12:40 AM
PANIC - HELP PLEASE!!! centering flash in browser window... STUCK :( eyedea Other Flash General Questions 5 11-18-2001 11:15 PM


All times are GMT. The time now is 01:38 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.