FULL SCREEN MOVIE

right now im working on a lil project of my own...
i want the flash movie im working on to be able to run from a cd rather than put it on the internet...
i was wondering if anyone know how to make a flash movie, when opened, run in full screen?
also i'd like to know how u make a flash movie maximise the window its being played in, ie the flash player program.
also how would i make it auto run from a cd?

thank you veryyyyy much!:)!
NickvannuilAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
rascalpantsConnect With a Mentor Commented:
have your questions been answered?  if so then award the points :)


rp
0
 
rascalpantsCommented:
place this code in the first frame of the movie to make it a fullscreen:

fscommand("fullscreen", "true");


you would have to use Javascript in conjunction with a getURL(); to make the window maximize.


you create an Autorun.inf file by opening notepage and type the following:

[autorun]
OPEN=moviename.exe

and then save the file as AUTORUN.inf


the autorun file will open the moviename.exe file ...



here is the javascript to auto maximize the window...


<script language="JavaScript">
<!--

top.window.moveTo(0,0);
if (document.all) {
top.window.resizeTo(screen.availWidth,screen.availHeight);
}
else if (document.layers||document.getElementById) {
if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}
//-->
</script>


just place this code in between the head tags of your html file...


rp  
0
 
NickvannuilAuthor Commented:
thank you:-)
0
 
NickvannuilAuthor Commented:
thanks man....im still not so sure about the javascript part... you said just put it in between the html tags and there was already javascript stuff there from the FS Command soooooooo im a lil stuck with it but ill get there! thanks!
0
 
rascalpantsCommented:
there is no fscommands in my javascript code above?  are you using it somewhere else?

you can have as many Javascripts on a page as you want...

just place the one I gave you first, and it should relocate the page and make it fullscreen...


rp
0
All Courses

From novice to tech pro — start learning today.