?
Solved

FULL SCREEN MOVIE

Posted on 2003-02-26
5
Medium Priority
?
229 Views
Last Modified: 2010-04-03
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
Comment
Question by:Nickvannuil
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 22

Expert Comment

by:rascalpants
ID: 8027883
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
 

Author Comment

by:Nickvannuil
ID: 8027937
thank you:-)
0
 
LVL 22

Accepted Solution

by:
rascalpants earned 150 total points
ID: 8028156
have your questions been answered?  if so then award the points :)


rp
0
 

Author Comment

by:Nickvannuil
ID: 8028596
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
 
LVL 22

Expert Comment

by:rascalpants
ID: 8028947
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

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
Suggested Courses
Course of the Month13 days, 4 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question