Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 235
  • Last Modified:

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!:)!
0
Nickvannuil
Asked:
Nickvannuil
  • 3
1 Solution
 
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
 
rascalpantsCommented:
you need to close this out as well

rp
0
 
rascalpantsCommented:
Nickvannuil,

you need to close this question out...

please come back and comment or award the points...


rp
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now