flash mx, any command to minimize the projector? or bring a web browser over it?
I tried adding onload=window.focus(); in the body of the page a button in the projector opens, but no luck there. Is there any way to minimize the projector? I've done it with director before, but can't find anything similar with the projector. Or any other code for the webpage?
unfortunately no, you can't.
You would need a thrid party app such as one found atwww.northcode.com (the best). there are bunches of third party swf wrappers out there that allow you to do all sorts of weird things.
i recently went through this awhile back. i wanted the projector to be all flash based and didn't want to use any wrapper apps, so i had to deal with the projector focus problems.
basically, whenever i clicked a link, i'd window the projector and thereby allow the user to get to the browser. then, whenever the user clicked on my movie again, it went to fullscreen.
i made a generic link movieclip that had the following code strURL = "http://www.thepage.com";
this.onRelease = function() { // Place the movie back into a window fscommand("fullscreen", false);
// Get the webpage
getURL(strURL)
// Set a function for the onRelease of _root
_root.onRelease = function()
{
// Put the projector to fullscreen again
fscommand("fullscreen", true);
// Remove the onRelease handler
delete _root.onRelease;
}
}so pretty much, whenever the user clicks a link, the projector goes back to window mode and a function is set on _root so that whenever the user clicks the movie it goes back to fullscreen. the function then deletes itself restoring normal control to the movie.
it isn't necessarily an ideal method, but it worked for my project. just wanted to throw out some ideas for you.
hope this helps!
i thought about that too. it's probably the best solution. or frickin' macromedia could stick a minimize fscommand in their player.