Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




'fullscreen' Code



hi all,

what's the code to activate fullscreen and where do I put it??

i've done this before but forgotten.

thanx



KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 05-01-2003, 03:34 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Help...Need Javascript Code For Fullscreen
Ive been looking for javascript for full screen.
examples:
http://www.egomedia.com/
http://www.progressivetechnologies.com.cy/

I want it just like those links. No bar at the top of screen, however the menu showing at the bottom of monitor. Any help would cure the ulcer I have growing

Steve

Fullscreen Code Compatible For All?
Hi, Can anyone help me with this fullscreen script... like at http://www.cartier.de once you click the animation in middle, the fullscreen page it launches.. i want to do the same with an 800 x 600 animation i have made. Is there any browsers which wont open this? And what about pop up killers? Will this be viewed by everyone or is their problems with this fullscreener? (apart from the issue of people disliking loosing their desktop)

Also the small white star which moves around the page... how do i do this and make it so smooth? I have tried making a star and then i draw a guide layer and snap to it and do motion tween, but its not as smooth and natural as theirs? Any tips?

Fullscreen Code Compatible For All?
Hi, Can anyone help me with this fullscreen script... like at http://www.cartier.de once you click the animation in middle, the fullscreen page it launches.. i want to do the same with an 800 x 600 animation i have made. Is there any browsers which wont open this? And what about pop up killers? Will this be viewed by everyone or is their problems with this fullscreener? (apart from the issue of people disliking loosing their desktop)

Also the small white star which moves around the page... how do i do this and make it so smooth? I have tried making a star and then i draw a guide layer and snap to it and do motion tween, but its not as smooth and natural as theirs? Any tips?

Need Code - Flash Fullscreen In Browser
Hello,

I have tried to use the fscommand fullscreen true and allowscale false commands in my flash movie to obtain this effect of this website.

http://www.domanistudios.com/

The website is always 1 size, but no matter what your resolution it fills the screen. There also are not any scrollbars along the sides, unless you shrink the window a lot.

Am I missing some really easy code/concept here?


Thank you for just checking out the post.

From,

bamski

Whats The Code To Make Your Movie Go In Fullscreen?
Whats the code to make your movie go in fullscreen? thanx

If (fullscreen, True) { Fullscreen, False } & Vice Versa
Heya,

on (release) {

if (fscommand("fullscreen") == true) {
fscommand("fullscreen", "false");
} else {
fscommand("fullscreen", "true");
}
}


this doesn't work in both directions.. it only makes fullscreen if it's not already. i have it on a button, which is meant to toggle fullscreen.

lil help ?

ta

FK

Button That Can Minimize A Fullscreen Flash Exe To Not Fullscreen
Hi!! I have a flash projector file that turns fullscreen. I have a quit button at the top of the presentation but i want to have a button that will just minimize it to its actual size incase people need to see there desktop. Anybody know script for something like this. I was trying something like:

on (release)if
fullscreen=true
fscommand("fullscreen", false);
if
"fullscreen=false
fscommand("fullscreen", true);
BUT IT DIDNT WORK!! any help would be awesome!!! thanks!!

[AS FLASH8] - Loading Fullscreen External SWF's Into A Fullscreen SWF
Hey guys, sorry if this gets confusing I'm trying to explain the best I can.

Here's what I'm having a problem with: http://golibersuch.com/c/mnsm3.html

What I've done is created a "fullscreen SWF" by using ActionScript to stretch a movie clip (yellow rectangle) in the background to fill the whole browser frame. The navigation is positioned in the upper left using ActionScript also; when the user resizes the window, positions are adjusted so the nav always stays in the upper left. (Adapting the technique from http://www.tutorialized.com/tutorial...retching/13567)

External SWFs are loaded from an XML file into a blank movie clip on a layer that is between the yellow background and the navigation (adapting the kirupa XML Photo Gallery). Here's my problem: I want to be able to create full screen backgrounds for these external SWFs so when they are loaded into the main SWF they cover up all the of yellow background of the main clip. Also if the user resizes the window, I hope like the main SWF, the background on the external SWF can also resize to match.

If you press next twice to get to item three for example, I want to be able to stretch that orange box to fill the entire background. You'll notice if you resize the window on the third item, the orangle rectangle will adjust, it's just not correct. Any ideas? Maybe I'm going about this wrong. If this helps, a zip of all related files including .fla can be found here: http://golibersuch.com/c/mnsm.zip

Thanks! Any input would be appreciated.

From 'fullscreen' To 'normal'. Fullscreen Still Active?
Hi,

I have a window that's set to fullscreen. I would like to open another window from there that's not fullscreen and lose the fullscreen window.

Actualy I'd like to skip the fullscreen so I put a javascript on the page:

window.open('theURL', '_blank');
window.close();

The URL is opened but in fullscreen. How do I get rid of it?

ThanX for any suggestions.

cYa,
Ivo

FLVPlayback Fullscreen When Stage Is Fullscreen?
Hello, a bit of a newb to AS3 but can't find any answers to this.

I have my stage set to fullscreen and Exact_Fit.

stage.scaleMode = StageScaleMode.EXACT_FIT;
stage.displayState = StageDisplayState.FULL_SCREEN;

I did this because I don't want any borders and I want the swf to fit the screen entirely. I have videos i am displaying using the FLVPlayback with a skin that has the fullscreen button. When I click the fullscreen button, the stage is made smaller, nothing happens with the size of the video. I also have the fullScreenTakeOver property set to false. If I have it set to true, the video loads fullscreen, which is not what i want, need it to load at the normal size (800 x 600).

note:: If I do not have the stageDisplayState = FULL_SCREEN, and I have fullScreenTakeOver = true, everything works fine but the stage is in window mode and does not take up the entire screen.


Any Help is GREATLY Appreciated!!

Thanks!

Open Img In Fullscreen With Stage.displayState="fullScreen";
hello:} i have my photo gallery and if you push a button photo has to open in new window with fullscreen. is it possible?

for fullscreen i use Stage.displayState = "fullScreen";

please help :} and sry for my english ;}}

Near Fullscreen Launch Without Fullscreen - How To?
Maybe someone can help: how to code a flash launch so that it takes up nearly, but not all of, the users' screen with a browser window?

I dislike flash that takes over the entire window opening fullscreen, this is hostile programming like popups ..

I'd like to be able though, to open the window nearly fullscreen, eg 10 pixel border, and minimize most of the browser bars, eg status window etc... ideas on how to code this?

much appreciated!

Custom Fullscreen Button VS Component Fullscreen Button
So, I have been playing around with fullscreen FLV movies. There is one thing that I notice that is irritating the heck out of me. When i use the fullscreen component, the video goes fullscreen and the video gets automatically smoothed out. When I use my own button to go fullscreen its all pixelated. I have some code to smooth it out, however it seems to eats ram like a fat kid who hasn't ate in days, especially on celerons.

The code i use to smooth the video is this

Code:

stop();
function startMe(event:MouseEvent):void
{
      vid.skinScaleMaximum = 1;
   vid.enterFullScreenDisplayState();
   vid.getVideoPlayer(vid.activeVideoPlayerIndex).smoothing = true;
   this.gotoAndPlay(2)
}
playinFull.addEventListener(MouseEvent.CLICK, startMe);


Does anyone know how to get the same results that the component uses, as it seems not to eat as much ram?

It also seems if i set the video player skin not to scale the interpolation gets lost on the video.

[F8] Loading And Unloading External SWF Code Issues, Code Check Please
Okay, I'm still clumsy with AS and I'm having problems loading and unloading external SWFs. I have SWFs created by others in Captivate that need to be controlled by a main menu. I created the menu and buttons and have been trying to code it so that with the button click, the appropriate external SWF loads in an empty movie clip, plays, and then closes at the final frame and returns to the menu. So far, I can get it to load, but then I'm stuck as I'm not sure what I'm missing as far as it reading the frame numbers.

Here's the code I've written. I can't seem to get my idea for the onEnterFrame function checking the frames to work.

What am I missing? Can anyone offer any suggestions or guidance? Thanks!


Code:
this.createEmptyMovieClip("clip1", 1);

myfirst_btn.onRelease = function() {
clip1.loadMovie("externalswf1.swf");
}

mysecond_btn.onRelease = function() {
clip1.loadMovie("externalswf2.swf");
}

mythird_btn.onRelease = function() {
clip1.loadMovie("externalswf3.swf");
}

clip1.onEnterFrame = function() {
if (clip1._currentframe == clip1._totalframes) {
// remove move clip1 and return to menu
clip1.removeMovieClip();
}
}

External SWFs, Code Works But Not With Additional Code
I'm using a loadMovie code that works perfect by itself, but when I add additional code to the button, it doesn't work.

Here's the scenario:

I have an MC named songs In this MC I have several buttons that should each perform very similar actions.

The first action is a:

gotoAndPlay("somewhere"); action that takes the movie to a specific frame of this MC. This code by itself works fine.

The second action I need to happen is:

this.contents.loadMovie("music1.swf") which loads an external SWF which is nothing more than an MC with an audio clip. This code, by itself works fine.

The problem comes when I combine the two codes to create:

on (release)
{
gotoAndPlay("somewhere");
this.contents.loadMovie("music1.swf");
}

The movie does go to the "somewhere" frame, but the external SWF no longer loads.

I have tried it with _root.songs.contents.loadMovie("music1.swf");

I have tried placing the loadMovie code first, but neither of those solutions work.

Any ideas?

Thanks

Help> How To Remove Part Of The Code Without Breaking The Entire Code
I use the following code on my website (http://www.misenplace.com.br ), it`s a fading out script that shows a banner underneath it.

I want to remove the pagetitle, welcome, date and sitename, but I can`t figure it out since when I remove something the movie doesn`t load or it doesn`t fade out as it was supposed to.

here`s the code


Quote:




var imgLoader = new MovieClipLoader();
var mindepth = welcome_txt.getDepth();
mindepth = mindepth < pagetitle_txt.getDepth() ? (mindepth) : (pagetitle_txt.getDepth());
mindepth = mindepth < date_txt.getDepth() ? (mindepth) : (date_txt.getDepth());
mindepth = mindepth < sitename_txt.getDepth() ? (mindepth) : (sitename_txt.getDepth());
var maxdepth = welcome_txt.getDepth();
maxdepth = maxdepth > pagetitle_txt.getDepth() ? (maxdepth) : (pagetitle_txt.getDepth());
maxdepth = maxdepth > date_txt.getDepth() ? (maxdepth) : (date_txt.getDepth());
maxdepth = maxdepth > sitename_txt.getDepth() ? (maxdepth) : (sitename_txt.getDepth());
this.createEmptyMovieClip("imageHolder_mc", mindepth - 1);
imageHolder_mc._x = 0;
imageHolder_mc._y = 0;
imageHolder_mc._alpha = 0;
imageHolder_mc.duplicateMovieClip("imageMasker_mc" , maxdepth + 1);
imageMasker_mc._alpha = 0;
imgLoader.loadClip(imageName, imageHolder_mc);
imgLoader.loadClip(imageName, imageMasker_mc);
welcome_txt.text = themessage;
welcome_txt._visible = false;
welcome_txt.autoSize = true;
var sitename_str = pagetitle;
var pagetitle_str = "";
var pos = sitename_str.indexOf(" - ");
if (pos > 0)
{
pagetitle_str = sitename_str.substr(pos + 3);
sitename_str = sitename_str.substr(0, pos);
} // end if
pagetitle_txt.text = pagetitle_str;
pagetitle_txt._visible = false;
pagetitle_txt.autoSize = true;
sitename_txt.text = sitename_str;
sitename_txt._visible = false;
sitename_txt.autoSize = true;
var curdate = new Date();
var date_str = curdate.toString();
var pos = date_str.indexOf(":");
var datestr = date_str.substr(0, pos - 3);
datestr = datestr + (", " + date_str.substr(date_str.length - 4));
date_txt.text = datestr;
date_txt._visible = false;
date_txt.autoSize = true;
imgLoader.onLoadComplete = function (targetMC)
{
_root.onEnterFrame = function ()
{
if (imageHolder_mc._alpha < 100)
{
imageHolder_mc._alpha = imageHolder_mc._alpha + 3;
}
else
{
if (!welcome_txt._visible)
{
welcome_txt._visible = true;
pagetitle_txt._visible = true;
sitename_txt._visible = true;
date_txt._visible = true;
imageMasker_mc._alpha = 100;
} // end if
imageMasker_mc._alpha = imageMasker_mc._alpha - 3;
if (imageMasker_mc._alpha <= 0)
{
delete _root["onEnterFrame"];
} // end if
} // end if
};
};






thanks a lot everyone

Movieclip Code Interacting With Document Class Code
I'm coding an application in Flash CS3 but relying heavily on doing most of the heavy lifting in actionscript3. I've set a document class (i.e. package me.mine{ class Main extends Sprite(){} }) with most of the code necessary.

In my Library I've got a Movie Clip for a control panel. I instantiate the movie clip from the Main class. This movie clip will change itself around (an off state and an on state with different menu options) - and i want to be able to add a button within the clip, and when it's clicked, have it call out to a function in the the Main class.

But I can't figure out how to get the MovieClip to talk to the Main class (I can set event listeners from the Main class on elements in the clip, but the clip will change around so I want it to work in the other direction).

Thanks for your help!

How Do I Execute Code Then Move To Another Frame When Code Is Finished And Run More?
hello. im well new to flash and im tring to build a cool flash movie using MC Tween in action script. my problem is i want to execute soem code then whenits finisd move on to frame 5 which has more code in it and then execute that code and so on how do i achieve this.
thanks

Code - What Code? You Didn't Spend Hours Writing It.
Hello,

Has anyone had a problem where sometimes (for no apparent reason) flash doesn't retain your code after you save and quit and then reopen the fla?

I used to think this was happening due to my backup app., but it's not running anymore. I even saved an additional copy of the file on my desktop AND dragged another copy to another folder. Everything was missing the same code.

We I published the swf before exiting, it worked perfectly.

Any ideas for fixes? Running os 10.3. Tried getting rid of prefs - no luck.

This is getting annoying. Happens with every fla I'm editing.

Thanks,
Ward

Newbie Convert Button Code To Frame Code
Hi all!

I guess this is a really simple one.

I have a button with the following code attached to it:


PHP Code:



this.onRelease = function() {    SWFAddress.setValue('/portfolio/');}this.onRollOver = function() {    SWFAddress.setStatus('/portfolio/');}this.onRollOut = function() {    SWFAddress.resetStatus();} 




I want to use this code on a frame. Is it onLoad I need to use??

Object/embed Code Missing From Source Code
I have the wackiest problem.. its killing me. I developed a simple flash banner for a client. It works fine on 99% of all machines, but the client's machine happens to be in the 1% that it DOES NOT work on. When he pulls up the page containing the flash file, he gets nothing. He has the latest flash plugin, and can view other flash content. When I view the source code on the machine that is having the problem, all the code is there EXCEPT the object/embed code. Its just missing. What in the world could cause that? I checked for firewall issues. He is running norton firewall. I disabled it, but he still has the problem.

This is the page in question:
http://projects.newtarget.net/RELOconnections/flashtest.html

as you can see, nothing special. simple flash, simple code. the other computers in his office have no trouble, its just his computer and his parents computers. I tried the page in IE 6 and firefox. Same result, he is not getting the flash code. He's on WinXP.

Can anybody think of ANY reason why he would be being shielded from getting object/embed flash code?

-vb

Fullscreen
I have see flash movies that automaticly go full screen, how do i do this?

Fullscreen
I hafta do this presentation for a class, and I was wondering if one of you could do it for me??? :-) Just kiddin. I already made it and have the projector movie, but when I click on it, it comes up on a little screen and I need it fullscreen. If there's a code for this, please let me know.

FULLSCREEN Help
I need to know as soon as possible step-by-step instructions on how to make a flash file Full screen. I have a project due thursday. PLEASE HELP!!!!

F11 >fullscreen
is there any way of getting Flash to press F11 on the users keyboard to genrate the "user friendly" fullscreen, if not then is there a way of getting their screen fullscreen without using the javascript fullscreen.


thanx in advance,
Turbs

Fullscreen On MAC?
I have an index page which opens the flash movie page in fullscreen. I want to know if fullscreen browser page works on MAC aswell.
The index page is built in Dreamweaver and has this code

<body bgcolor="#FFFFFF" text="#000000" onLoad="MM_openBrWindow('url','name','fullscreen=y es')">

Do I have to add anything to make sure MAC users see the thing the way I want it?
Thanks!

Fullscreen
I'm playing with a movie that uses "fullscreen" mode through actionscripting, which doesn't work when loaded through a browser. How can I launch the movie through the flash player within a webpage? Is javascript required to do this? Thanks!

Fullscreen
Ihave put the a code on the first frame of my movie
_____________________________________
on (release) {
fscommand ("fullscreen", "true");
}
_____________________________________

but When i publish my movie it isn't working, do i have to publish my page on another way?? Or is my code wrong.

Fullscreen
If I use Fscomand ("fullscreen","true") and I public my movie like a windows projector I can really see my movie in full screen but How can I do the same publicing like a html or another to use in a website page. Thanks an sorry for my English.

Fullscreen?
I'm trying to open a website fullscreen, so there's no browser or something else visible except for the website and a litlle close-button, I don't want the users to seek for a close-button...
Is there anyone who can tell how I can do this in quite a few steps?

Thanks,

ErGoDyNe1

Fullscreen
hey can anyone give me an example of a basic universal fullscreen toggle? i.e. a single button, that can be used more than once within a movie that toggles between FS and windowed without leaving the frame.

JR

Fullscreen
Is there a way when using 'fscommand("fullscreen", "true");' in the main movie, that I can -prevent- the sub movies loaded with 'loadMovie("file.swf", 1); to be scaled to fullscreen? I tried using 'fscommand("allowscale", "false");' in the sub movie, but it was unsuccessfull.

Thanks in advance,
:: Serviator

Fullscreen Swf
Hi ppl
i need to run a fullscreen swf from inside another swf. How do i make this? anyone can help?
thank you
andré henriques

Fullscreen Swf (again)
Hi again
I got an answer on my previous question, but found that doing that won't work as i wanted in that case.
What i would like to know now is:
How can i open a fullscreen HTML from a button that is on my SWF. I don't want to press a button on my movie that loads an html that has the order for opening another html in fullscreen, that wouldn't work nice. I would like to give the order directly.
Can anyone help?
thanks in advance

andré henriques

Fullscreen Help Please
Hello folks.
I am having trouble figuring out how to make a flash movie go full screen when viewed in a browser. I can do it when its a standalone player but the browser is a big problem for me, Anyone know how to do this. Well I know someone knows how
Any advice wil be greatly appreciated .
Thanks in advance.
Wil Clair

Fullscreen?
Hi everyone!

I was wondering, is it possible to make the flash movie open full-screen from the web-browser using 'fs-command' in Flash 5, for example? If not,then what actionscript commands i should use ?

~ Fullscreen ~ Without Any?
Hi :-)

Is it possible to write a script which HIDES browser?

Means make a real fullscreen without anything. Would be nice - or?

Example: ht*p://samplesite/full*** -> screen becomes black and animation starts.


Possible?
Regards;
BruZZ

Help Wit Fullscreen
Hi!

I would like to make a page go to fullscreen when its loaded, it has something to do with fc commands but i am not familiar. Do i need to use Java?
Basically i am asking for the code
Thanks!
Interesting

Anybody Knows About Fullscreen?
Hi,

I publish a movie using the fullscreen command. I have got several objects that exced the borders of the movie (800x600) and using this command (fullscreen) I can see this borders.
How can I do to hide them and see only the contents of the movie limits? Only the things conteined in the 800x600 area

TIA.

Fullscreen
Hello there.

Would anybody know the following:

I'm trying to create a flash site that would open up in as big window as possible (depending on viewers resolution). So as soon as you type the URL and press enter the browser window should be scaled to fill the hole screen.

Any help greatly appreciated.

- Harry S

Fullscreen Help
Help!

Can anyone explain to me how to remove the scroll bars on a page that is prompted to open full screen. I have a main page with a button action of: javascript:window.open("mypage.html",fullscreen=ye s), when the page opens fullscreen it has the right border only. How do i remove that.

www.praitiedesigns.com/splash.html


maximum thanx.
praitie

Fullscreen For AOL
hi, i have put up my website site and it looks FINE on internet explorer, everything is in place, nothing runs off the page!!!! BUT when i use my AOL browser there is some some running off the page, how can i fix this?

also is there anyway i can make my movie work quicker

Fullscreen
hello, I need to make my flash movie to jump to full screen when it's opened. But I don't want my actual movie to get bigger... I need flash to jump to full screen, but my movie to stay at 800 x 400 centered in the middle. How do I do this?
thanks

Fullscreen
Hi,
I am searching for a *.fla example of how to do a fullscreen of the flash movie when it starts, but I can't find it, can someone please help me?
Thanks in advanced!

F11 Fullscreen
Right ok quick question.

Is it possible to have a button within a flash movie that can change the broswer to fullscreen like we can by pressing F11

Cheers
Paul

Fullscreen
the code below, when used in a clip parameter, opens a new htm file in full screen.

does anyone know whether it is possbile to adapt the actionscript below (or know of another way, preferably just in Flash) to create true fullscreen on Macs.......


Code:
on (release) {
getURL ("javascript:window.open('" add url_f add "','" add winName_f add "','top=0,left=0,fullscreen=yes,outerHeight=' + screen.availHeight + ',outerWidth=' + screen.availWidth); void(0);");
}


(please don't start the PC v MAC debate on this thread... add them to the lounge... it's a client who has asked me this!)

cheers - ric

Again With The Fullscreen
Is it possible to actually change the users windows resolution when your flash projector starts?

I've seen it done before with a flash shoot-em-up -they resized to 640X480- but I think it had something to do with visual basic, dunno really! Any idea's?

FUllscreen
I was wondering if anyone knew how I can make my flash movie full screen, or at least maximize the window to fit the persons screen?

I have my site up, but i wanted the main page to fill the whole screen up
Thanks for your time
Jesse

Copyright © 2005-08 www.BigResource.com, All rights reserved