-
Senior Member
I've played with a few 3rd party demos, including the recent Flash n' pack,
but nothing supports javascript getURL commands.
I'm no programming genius, but I've finally accepted that projectors cannot
open fullscreen .htm documents because they cannot directly run javascript.
As such, I've decided the next best thing is to open my local .htm using
the basic getURL('file') command, and use javascript in the .htm to modify
itself instead.
However, I've only been able to get the .htm window to resize itself - I've
not been able to get the other window commands to work - using the following
code:
<script language=Javascript>
window.resizeTo(screen.availWidth,screen.availHeig ht)
window.toolbar.visibility=false;
window.locationbar.visibility=false;
window.menubar.visibility=false;
window.statusbar.visibility=false;
</script>
I had also tried to open a customized popup from this window, but couldn't
then get the window (not the popup) to close itself without getting that
annoying security prompt, when using the window.close() command.
Anyone got any suggestions, or work-arounds, for opening a clean fullscreen
.htm window from a projector?
-
Hello Bluemoth,
I think you have overlooked Flash 'N Pack. or maybe it's because of the help files are not yet finished since it is still under beta version...
anyway what you are trying to do can be easily acheived in Flash 'N Pack.. and here is how:
Compiled .exe demo:
http://flashnpack.com/files/users/sa...fullscreen.exe
and here is the Flash 'N Pack and .fla Source file: ( Note: You will need Flash 'N Pack application)
http://flashnpack.com/files/users/sa...fullscreen.zip
Let us know if that's what you were trying to do..
-
Senior Member
Let us know if that's what you were trying to do..
[/B][/QUOTE]
I've not looked at the .fla yet, to see what is actually being done to get the web page fullscreen, but the .exe certainly appears to work like I want it to.
Thanks for that. I never saw that on the flash n' pack board, or app folders.
Just hope I can get it to work when I get to look at the .fla (fingers crossed).
:;bluemoth::
-
Senior Member
Looked at the files (certainly were very interesting), but I could
only get it working with absoulte URLs. I tried various alterations,
but couldn't get a local .htm to display.
At first I tried removing the http:// prefix, as you do with .swf
files that call for a local file:
fscommand ("fullscreen", "true");
fscommand ("ActiveX.Load", "{8856F961-340A-11D0-A96B-00C04FD705A2},shdocvw.dll,0,0,[ScreenWidth],[ScreenHeight],Normal,Web,default");
fscommand ("ActiveX.Call", "Web.Navigate(promo.htm)");
Then, I tried to use the Local: prefix as you do with SwiffCANVAS,
but of course that didn't work either.
Is it possible?
-
Glad it worked for you :
if you want to use it with a local Files you will have to use the Predefined varaibles :
like :
[TempDir]
[SrcDir]
[WindDir]
an so on... you can find them all here with an explaination:
http://www.flashnpack.com/help.htm
now in your case if the file is in the same forlder as your Project then you would use:
fscommand ("fullscreen", "true");
fscommand ("ActiveX.Load", "{8856F961-340A-11D0-A96B-00C04FD705A2},shdocvw.dll,0,0,[ScreenWidth],[ScreenHeight],Normal,Web,default");
fscommand ("ActiveX.Call", "Web.Navigate([SrcDir]promo.htm)");
That's it ..
I hope this helps.
-
Senior Member
[SrcDir] . . . that's it. Never would have thought of that as the prefix in a million years. Thanks alot.
Just as a note . . . I checked out the Flash n' pack forum, but the browser always crashes when I try to submit anything.
To make things worse, I'm using a networked machine, so I can't change any settings at my end unfortunately. It's running Win 2000.
Again, thanks for the help.
::bluemoth::
-
Hmmm weird I don't know why your browser would crash, well the board does require IE 5.0 or higher, so that might be the case.. I did notice your post there though so I'm wondering if you fixed the problem... about the demo for your DivX it will available tomorrow just check here :
http://www.flashnpack.com/forum
-
Senior Member
Looking forward to it. Shame you had to rebuild the app to get it working (yet another download to the belt).
::bluemoth::
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|