Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Force HTML to Load In Front of Projector?

Status
Not open for further replies.

CharlieIT

MIS
Apr 9, 2003
157
US
I am creating a front-end for an installation program. My Flash movie is published to microsoft projector (exe). I have it running in fullscreen mode. I have a button which launches a web address. If the person running the installer has their Internet Browser minimized when they run the installer, and they press any of the URL buttons, the pages load BEHIND the projector window (so you don't see anything happen).

Does anyone know how to force a URL to load in a new (maximized) window using Flash?

Thanks in advance for your help!

Charlie
 
Give focus to the opening window within a onLoad in the html's body tag?

Regards,

cubalibre2.gif
 
i once had a client ask about this....i didnt know the answer as i only work with director for those types of projects but looked around and found this....client said it workred like a charm so i guess its a good answer


You can't open custom pop up window from projector w/o opening the parent browser window first .
However by using HTA (HTML Applications) you are able to do so, only with IE 5.X browsers. HTA has big range of parameters which you can freely define to customize your window to perfectly meet your project needs.

Here is a demo , two methods of opening .HTA files from Projector EXE.
One using Command Com and CMD files , and second one using FlashGeek 3rd party tools by Rick Turoczy (
The first sample include only one HTA and Flash FLA/SWF files .
Rename the HTA to TXT to read the source , modify your parameters and rename back to HTA.
This is very easy method however by executing command from flash there is a short time
DOS window prompt which can't really be avoided.
If you need Neat solution you should directly go to second sample.
<-- 6 KB

The second samples is more complex but very neat and fast , include some extra files :
flashgeek.exe - the trigger that allow to open any application on your OS
MSVBVM60.DLL - associated DLL files which must be in same directory as the flashgeek.exe
and flashgeek.txt which include your HAT file target to be open .
All you need to do after customizing your HTA file , use FS command EXEC to target flashgeek.exe which by reading the flashgeek.txt with destination file name will get open in matter of seconds.
Might look a little confusing but is perfect for Standalone EXE projector and html content.
<-- 727KB

Special thanks to André V. for bringing HTA idea back to life and of course to Rick for
making his great tools available for our free use .
 
Oldnewbie--not sure what you mean.

When my flash projector movie is taking up the whole screen, and I press a button in the Flash projector movie to launch a url, the url loads behind the projector window because the browser is minimized. I've tried something like this:

on (release) {
getURL ((&quot; &quot;_blank&quot;);
}

But that does not work--the new window simply loads minimized.
 
Was just a thought!


Maybe you should follow the instructor's way...

Regards,

cubalibre2.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top