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




Fullscreen Background



Hi everyone. I have a question. I would like to use a jpeg as a background and i would like this background to be always fullscreen. i don't know if it's very clear but i want my swf to be in 100 % in the browser but only the background in "fullscreen". What is the best way to do that considering that the differents sizes could distort the jpeg. Thank's a lot. Chris



KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 11-27-2004, 05:12 PM


View Complete Forum Thread with Replies

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

Help With Fullscreen With Pic As Background...
Hi there!
I'm designing a website for a singer. She wants a pic as a background and it should resize according the size of the browser window. I thought it would be a cool thing to do it in fullscreen flash. How can you get the pic to scale so it keeps the proportions? Also the problem is the area where I want to have text etc. That is resizing as well. I want that to stay fixed for a 800x600 resolution. I know that I could do the background pic in html but how do you get that to scale so it keeps the proportions? Does anyone have any suggestions how to solve this?

Niklas

Fullscreen Background
How have they done they done the backgound in this site?
http://www.whitevoid.com/application.html
It looks like the backround is a linear filled m.c.... however if you were to create the background as an m.c. it would not stretch correctly to fill the browser window... therefore please can anyone tell me how they have done it. regrds J

Fullscreen Background
Hi everyone.
I have a question. I would like to use a jpeg as a background and i would like this background to be always fullscreen. i don't know if it's very clear but i want my swf to be in 100 % in the browser but only the background in "fullscreen". What is the best way to do that considering that the differents sizes could distort the jpeg.
Thank's a lot.

Chris

Fullscreen Background
I have a concept for my website:

http://img502.imageshack.us/img502/8...mesusv4td5.jpg

This will be my first ever flash website so I am expecting things to be tough. The first problem which I've encountered is how to get the background repeat pattern + gradient to fill the screen. I need the pattern the stay in resolution when the browser window is resized. The gradient needs to stretch/squash to fill the screen.

I was also wondering if someone could point me to a tutorial on how to make the central section of the website (as seen in the concept) float into position when the browser window is resized rather than moving abruptly.

I've search Kirupa and Google, I couldn't find out how to do this. I saw the tutorial for repeating patterns (which by complete coinsidence uses the same pattern as in my concept! ), I assume this will be useful? But it still doesn't show me how to make it a background that fills th screen while staying in resolution, or how to do the gradient.

Thanks,

Peter

Fullscreen Background Image
i'm developing a site that has a fullscreen background image, similar to what www.hi-res.net use (see www.massiveattack.com/start.html), but i'm finding that it's causing a few problems.

first it doesn't resize as the window's resized as smoothly as the ones hi-res use, and also, it seems to require alot of processing power, which i'm assuming is because it's continually looping a fairly large image.

here's the AS i'm using...


Code:
myImage._width = System.capabilities.screenResolutionX;
myImage._height = System.capabilities.screenResolutionY;
myImage.onResize = function () { this._x = (Stage.width-this._width)/2;this._y = (Stage.height-this._height)/2;};
Stage.addListener(myImage);
myImage.onResize();
this script is on an MC that contains the image, with a gotoAndPlay(1) on the next frame.

does anybody have any suggestions or alternative ways of achieving the same effect?

cheers

[F8] Fullscreen Background Without Stretching?
Hello,
I am interested in having a fullscreen image as a background which does not stretch when the window is resized.
Also, I want the content (within the boundaries of a rectangle) to be centered on the screen when the window is resized.

This site pretty much shows what I'm after LINK
Notice vertical resizing centers the menu window (horizontally also prefered)
And there is also a cap on the max. resize of the window

Does anybody know how to do this?

Thanks

Fluid, Fullscreen Background
I'm trying to achieve a fluid, full screen background setup with the code below. The problem I'm having is that when I view the file (both in Flash and via all browsers), I'm not able to see the background image. It's only when I resize my browser that the background image appears. I've tried defining the _x & _y position of my bg_mc thinking that might work, but it didn't. Also, I'm working in Flash MX 2004 Pro.

Is there some conflicting code I'm overlooking, or perhaps a possible fix?



Code:
stop();
Stage.scaleMode = "noscale";
Stage.align ="TL";

_root.bg_mc.inside.loadMovie("weddingone.swf");

bottomright._x = Stage.width
bottomright._y = Stage.height - bottomright._height
bottomleft._y = Stage.height - bottomleft._height
topmenu._y = Stage.height - topmenu._height
topright._x = Stage.width - topright._width
center._x = (Stage.width + 800)/2
center._y = Stage.height/2
sizeListener = new Object();
sizeListener.onResize = function() {

bottomright._x = Stage.width
bottomright._y = Stage.height - bottomright._height
bottomleft._y = Stage.height - bottomleft._height
topmenu._y = Stage.height - topmenu._height
topright._x = Stage.width - topright._width
center._x = (Stage.width + 800)/2
center._y = Stage.height/2

};
Stage.addListener(sizeListener);

var sListen:Object = new Object();
sListen.onResize = function() :Void {
rePosition(bg_mc);
};

Stage.addListener(sListen);
function rePosition(clip:MovieClip) :Void {
if(Stage.width/Stage.height>clip._width/clip._height) {
clip._width = Stage.width;
clip._yscale = clip._xscale;
} else {
clip._height = Stage.height;
clip._xscale = clip._yscale;
}
clip._x = Stage.width / 2;
clip._y = Stage.height /2;
};

rePosition(bg_mc);

Fullscreen Gradient Background
How do I create a gradient background for a fullscreen resizable flash file? I found a tutorial that shows me how to repeat a pattern but I only want to put it on the X axis.

Have A Background Image In Fullscreen
Hi I just have two question

1)
How can I create a fullscreen flash with a image in the back that dont distort the image if the visitor have not so big screensize or if the visitor have a widescreen or not.

2)
What size is the background image going to be so it fit nice to both widescreen and not widescreen?

I was thinking about create a fullscreen flash and have a nice backgrund image but I dont want to distort the image.

Background Video Fullscreen
Hi everyone, I've been searching the net for the best way to get a fullscreen movie to play as the background but with little luck -

Here's the kind of background im after - if someone could help me to understand the needed code or point me to a tutorial that would be great

http://andco.dk/#AndCo

cheers,
Tommy

Fullscreen Flash Background
Hey guys,
I have this flash piece ive made for a cd that I have keyed to autorun.
I want the background to fill the screen when the user puts the cd in the tray but not have it make the flash interface go fullscreen I hope that makes sense. In the screen below it shows the flash interface opening fullscreen and on the right just the background filling the page with the interface center. Im sure its easy but could anyone give me some help?
Thanks,
Chris

Fullscreen Background Image?
Hi, im trying to make a background image on full html screen like this one at

http://www.refune.com/index_main.html

but i cant for the life at me get it to work right.

I have got it to scale using this code below

Stage.scaleMode = "noBorder";
var stageListener = new Object();
Stage.addListener = (stageListener);
stageListener.onResize = function() {
background._height = Stage.height;
background._width = Stage.width;
};

it scales but pixelates and doesnt seem to scale like the website, any help would be appriciated im pulling my hair out on this!

Also im using a JPEG image but it pixelates when i resize the HTML page so i am wondering if the image should be of an another format?

Fullscreen Background Image
Hi everyone!

I want to achieve a similar effect like this website - www.minus.dk -

If you try to resize the browser window you'll see that when the background picture is loosing it's original proportions it doesn't scale it anymore, it just hides parts of it.

I can make the image occupy 100% of the browser area, I just don't know how to make it "smart" the way that when it reaches a certain width/height it no longer scales.

Thx in advance.

Flash Cs3 Background Fullscreen Question
I imported an image from illustrator to set as my background image and when I preview it in Firefox and IE it never fills the screen. There is always an inch or two of white showing. I tried to make my bg image bigger but the same thing happens, any clue how I can make my bg image fill the whole browser screen. Thanks.

Loading Random Fullscreen Background Image
so, i finally got the fullscreen / scaling background to work. AND i can add .swf's and other mc's over top of it without any problem. however, i want to be able to have the background image randomly generated. i know how to do that on its own, but i can't get it to work with this script. any advice?

here's my fullscreen / scaling bg script.


Quote:




Stage.scaleMode = "noScale";
_global.imgConstantWidth = bgImage._width;
_global.imgConstantHeight = bgImage._height;


setImage = function(mc){

var originalWidth = 1280;
var originalHeight = 850;
var widthGutter = (Stage.width - originalWidth)/2;
var heightGutter = (Stage.height - originalHeight)/2;

mc._x = -widthGutter;
mc._y = -heightGutter;


if (mc._width > Stage.width){
mc._x -= (mc._width-Stage.width)/2;
}

if (mc._height > Stage.height){
mc._y -= (mc._height-Stage.height)/2;
}

}

resizeImage = function(mc){

var scaleByWidth;

if (Stage.width/Stage.height > _global.imgConstantWidth/_global.imgConstantHeight){
scaleByWidth = true;
}else{
scaleByWidth = false;
}

if (scaleByWidth){
mc._height = Stage.width * _global.imgConstantHeight / _global.imgConstantWidth;
mc._width = Stage.width;
} else {
mc._width = Stage.height * _global.imgConstantWidth / _global.imgConstantHeight;
mc._height = Stage.height;
}

}


setImage(bgImage);
resizeImage(bgImage);

sizeListener = new Object();
sizeListener.onResize = function() {
setImage(bgImage);
resizeImage(bgImage);
};

Stage.addListener(sizeListener);

Random Fullscreen Background Image On Refresh
Hi there, I have flash site and client wants random fullscreen background image to load on refresh. sounds easy right ?. but i've tried a lot of components and code snippets but it's causing headaches as nothing seems to work. i have a client squirming because it isn't done and i was wondering if you could help me out.

I did purchase a component from flashden (randombgholder) which does exactly what i want, but it seems to clash with the flashloaded fCMS system i have working in place, and somehow knocks it out, but that could be my bad amateur flash coding causing it. And when i go to center the swf over the background using his code he provided it goes haywire.
perhaps i could do a random fullscreen background image on page refresh in html?? i tried some css ones, but nothing works probably because i'm very new to flash and the likes.
links to tutorials or someone i could even pay to do this - anything really appreciated.
THanks in advance, Angie.

AS 2 Loading Random Background FULLSCREEN Images
Hi there,
I have been looking at this tutorial http://www.kirupa.com/developer/mx/l...background.htm

but I need the background images to be FULLSCREEN. Can someone help me out? Is there a way to do this that someone can point me to ? I have a client squirming, and my head is on the block.

I am using as2, flash cs3.

Thanks in advance, Angie.

Scale Fullscreen Background On Browser Resize
I'm loading fullscreen images into a centered background movieclip.
When I resize the browser, I want the background mc to scale proportionately and remain fullscreen, w/o any blank spaces.

I'm done with the centering but I can't figure out how to do the scaling.

example: http://www.lookmumimontheinternet.com/d ... ackground/

Fullscreen 'background' With Centered Fixed Size 'container'
Hi,

I'm using Flash CS3 and actionscript2 and am after getting one swf embedded that will load one movieclip as a fullscreen (stretching and distorting and all) background movieclip and a centered 900x500 'containter' for the content. Much like:

http://www.willhowe.co.uk/client/zue.../smoothie.html

(ignore the fact it uses simpleviewer - I'm just using to demonstrate, simpleviewer uses one embeded swf and external container and background movieclips along with .xml)

any idea's? I've seen it done a lot of times but can't find the answers

should be worth nothing im using swfObject javascript to embed

thanks for any help

- Will

Filling A Background With A Sprite In A Fullscreen Flash Application
Heya. I've been able to accomplish this with AS 2.0 but not 3.0.

The thing was this:
I had a Flash document that was used fullscreen in a browser and I had this 64x64 pixel sprite that covered the background, depending on how large the the browser window was, so that the background was always covered.

My question is: how do I do this in AS 3.0?

[AS2] FullScreen Cross Fading Background Image XML Slideshow
Hi,

A student of mine wanted to know how to do this, so I made this example for them. Basically it is a Full Screen Random Background Image XML slideshow. It uses the bitmap data object to create a smoothed background image, crossfade between new images and has the ability to turn scaling off at a certain user defined size. I borrowed some code from fr-ode's example (image resizing) and have added in the XML and cross fading element. The code is well commented, you should be able to figure it all out.

EDITS
OK, I've pushed all the slide show settings into the xml file. The cross fading now occurs contained within a movieClip on the stage, rather than by creating dynamic movieClips, this should make it easier to simply layer your manually created content over this movieClip.

Also, included source .flas.

You will need:
1/ Some large images
2/ An XML file, that points to these images
3/ Set your publish settings to 100% browser width/height etc
4/ TweenLite AS2 Class http://blog.greensock.com/tweenliteas2

Limitations
1/ Using the min height/ width stop scaling can cause a slight jump if a user resizes the window up again beyond that size. This is because Flash has to suddenly rescale the image to match the browser window, and there is a brief lag. This is only a problem if a user is madly resizing the window, most don't.

2/ The temp cross faded image is not bitmap smoothed, for a slight time it may look a little jagged. I didn't bother going to the extra steps to make this image smoothed.

Enjoy.
EXAMPLE
Example 1 Min Image Time

SOURCE FILES
http://www.noponies.com/dev/fullscre...llCrossXML.zip

PHP Code:



/*******************************************CROSS FADING BACKGROUND FULLBROWSER IMAGEShttp://www.noponies.comhttp://www.eolian.net.nz************************************************************************************CONFIGURE THE XML FILE FOR ALL SLIDE SHOW PARAMETERS!!******************************************Version 1 - Initial ReleaseVersion 1.1 - bumpyknuckles fix where an onloadStart listener function has been added tothe AS to help avoid an issue where the temp bitmap shows up occassionally. Version 1.2 - Moved to tweenLite, fixed an image display issue when a user may resize the browser when the first image is loading in. Credit toxxneon off ActionScript.org forums for pointing out this issue.Terms and Conditions of usehttp://www.blog.noponies.com/terms-and-conditions*///init import flash.display.BitmapData;Stage.scaleMode = "noscale";import gs.TweenLite;stop();//load in background images XML detailsvar backImage:XML = new XML();backImage.ignoreWhite = true;var bgImages:Array = new Array();var p:Number = 0;//track pos in arrays//Variables pulled in from XMLvar minHeight:Number;var minWidth:Number;var crossFadeTime:Number;var imageTime:Number;var order:String;backImage.onLoad = function(success:Boolean) {    if (success) {        //get vars from XML file        minHeight = this.firstChild.attributes.minHeight;        minWidth = this.firstChild.attributes.minWidth;        crossFadeTime = this.firstChild.attributes.crossFadeTime;        imageTime = this.firstChild.attributes.imageTime;        imageTime = (1000*60)*imageTime;        order = String(this.firstChild.attributes.order);        p = 0;        bgImages = [];//reset the array var, should for some reason you want to load in a different set of images        xmlNodes = this.firstChild;        largeImages = xmlNodes.childNodes.length;        for (i=0; i<largeImages; i++) {            bgImages[i] = xmlNodes.childNodes[i].childNodes[0].firstChild.nodeValue;        }        //load random image when we successfully parse XML        loadRandomBitmap();    } else {        trace("Fatal Error - Loading background image XML failed");    }};//name of your xml filebackImage.load("backimages.xml");/*create an empty mc to act as the background smoothed bitmap holderchange the depth etc here should you need to..Note that this is created inside thesmall mc on the stage*/bgHolder_mc.createEmptyMovieClip("bg_mc",1);//var to track the fading, we use this to try to resize the temp bitmap with a resize, should the user be resizing the window when we fade in outvar fadingComplete:Boolean = true;var firstRun:Boolean = true;//BITMAP BACKGROUND LOADING///function loadRandomBitmap():Void {    if (order == "random") {        //create the temp loader mc that we load our unsmoothed bitmap into        //a limitation of this approach is that as this top image fades in/out it looks a little jagged for 2 seconds or so..        bgHolder_mc.createEmptyMovieClip("bg_loader",2);        //random function for loaded images        randomImg = Math.floor(Math.random(bgImages.length)*bgImages.length);        bitLoader.loadClip(bgImages[randomImg],bgHolder_mc.bg_loader);    } else {        //sequential loading of images        bgHolder_mc.createEmptyMovieClip("bg_loader",2);        bitLoader.loadClip(bgImages[p],bgHolder_mc.bg_loader);        p++;        if (p == bgImages.length) {            p = 0;        }    }}//MovieClipLoader for bitmap image loadingvar bitLoader:MovieClipLoader = new MovieClipLoader();var bitlistener:Object = new Object();bitlistener.onLoadStart = function(target:MovieClip):Void  {    //alpha out our image we load our bitmap into    target._alpha = 0;};bitlistener.onLoadProgress = function(target:MovieClip, bytesLoaded:Number, bytesTotal:Number):Void  {    //amountLoaded = Math.floor((bytesLoaded/bytesTotal)*100);//calulate a loading percentage!    //do something with this data if you want};/*here we both draw our bitmap to our offscreen MC and handle the cross fading in and out - First we load our bitmap into our temp mc which is set to alpha 0, then we resize and fade ourtemp mc in so that we achieve the cross fading effect. When the temp MC is at 100% alpha weattach our bitmap object to our smoothed background MC and then quickly fade out and remove the temp MC.*/bitlistener.onLoadInit = function(target:MovieClip):Void  {/*clear the timer interval each time. We do this so that each new iteration of the timerstarts from when the bitmap is loaded, this stops us from trying to fade images etc that have not loadedand ensures that each bitmap is displayed for the required amount of time on screen. Essentially it negates download time*/    clearInterval(bitmapFadeInterval);    //create the bitmap object, each time this is reset, keeping memory footprint fairly low..    var bitmap:BitmapData = new BitmapData(target._width, target._height, true);    //draw the bitmap    bitmap.draw(target);    //we are starting to fade, so set our var to false and let the temp resize functions run    fadingComplete = false;    //resize the temp bitmap to match the size of the bg bitmap    this.resizeTemp = function() {        if (Stage.height/Stage.width>target._height/target._width) {            img_propa = target._width/target._height;            target._height = Stage.height;            target._width = Stage.height*img_propa;            target._y = 0;            target._x = 0;        } else {            img_propa = target._height/target._width;            target._width = Stage.width;            target._height = Stage.width*img_propa;            target._y = 0;            target._x = 0;        }    }    this.resizeTemp();    //fade in the temp bitmap    TweenLite.to(target,crossFadeTime,{_alpha:100, onComplete:fadedIn, onCompleteParams:[this], onUpdate:this.resizeTemp});    function fadedIn(ref):Void {        ref.resizeTemp        //attach our loaded bitmap to our background mc when the temp totally obscures it        //this is the smoothed bitmap        bgHolder_mc.bg_mc.attachBitmap(bitmap,0,"auto",true);        //make the bg resize        fullScreenBg();//This is  abit of a hack to catch user resizes        TweenLite.to(target,.1,{_alpha:0, onComplete:cleanUpTemp});        function cleanUpTemp():Void {            //remove the temp mc            removeMovieClip(bgHolder_mc.bg_loader);            //we are done fading..            fadingComplete = true;        }        //reset the timer        bgHolder_mc.bg_mc.attachBitmap(bitmap,0,"auto",true);        bitmapFadeInterval = setInterval(_root, "loadRandomBitmap", imageTime);        //resize the bg image        fullScreenBg();        //add the stage listener, which fixes an issue with the image being scaled out to        //some crazy size if a user is resizing as the image loads in for the first time.        if (firstRun) {            Stage.addListener(catchStage);//stage resize listener, added here after first image load.            firstRun = false;        }    }};bitLoader.addListener(bitlistener);//stage listener to handle resizing imagesvar catchStage:Object = new Object();catchStage.onResize = function() {        /*simple "OR" conditional to set a min size, if we are below that we don't do any more scaling    note that we wrap this in a if/else so that the function that we actually use to to the bg    resizing can be called independently of this check, for instance when we are below the resize    min but we are fading in a new image, obviously we would want that new image to scale*/     //**IF YOU WANT TO SCALE AT ALL STAGE SIZES, SET THE MIN HEIGHT ETC TO 0 IN THE XML    if (Stage.width<minWidth || Stage.height<minHeight) {        return;    } else {        //call the resize function        fullScreenBg();    }};//screen resize functionfunction fullScreenBg() {    if (Stage.height/Stage.width>bgHolder_mc.bg_mc._height/bgHolder_mc.bg_mc._width) {        img_prop = bgHolder_mc.bg_mc._width/bgHolder_mc.bg_mc._height;        bgHolder_mc.bg_mc._height = Stage.height;        bgHolder_mc.bg_mc._width = Stage.height*img_prop;        bgHolder_mc.bg_mc._y = 0;        bgHolder_mc.bg_mc._x = 0;    } else {        img_prop = bgHolder_mc.bg_mc._height/bgHolder_mc.bg_mc._width;        bgHolder_mc.bg_mc._width = Stage.width;        bgHolder_mc.bg_mc._height = Stage.width*img_prop;        bgHolder_mc.bg_mc._y = 0;        bgHolder_mc.bg_mc._x = 0;    }} 




Here is now the xml looks;


PHP Code:



<?xml version="1.0" encoding="utf-8" standalone="yes"?><!--   - DALESATTLER - www.noponies.com'crossFadeTime' |#| time in SECONDS of the cross fade between images - Default is 3 seconds'imageTime' |#| how long in MINUTES do you want each image to display for. Note you can enter.5 etc for 30 seconds. Default = 1min'minWidth' |#| Minimum screen size width at which point the images will not be scaled - Default is 0 = no min point'minHeight' |#| Minimum screen size height at which point the images will not be scaled - Default is 0 = no min point'order' |#| random or sequential image loading - choose either "random" or "ordered" = Default is random--><images crossFadeTime="3" imageTime="1" minWidth="0" minHeight="0" order="ordered">     <back>        <image>images/band.jpg</image>    </back>    <back>        <image>images/back3.jpg</image>    </back>  <back>        <image>images/wave1.jpg</image>    </back> </images>

Fullscreen Background Resize While Maint Content Doesnt Warp
I have seen many posts, and tutorials on this but not one on AS3! The one or two I did find were mainly for recreating a convoluted site which made me dizzy e What is the base as3 code for having my background (say a gradient called bg1) stretch and resize while my main content maintains its proportions on the center of the stage? Thank you in advance!

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.

Having Difficulties Trying To Change White Background Of Flash Menu Into Transparent Background
How would I best go about changing a Flash menu that currently has a white background into a Flash menu with a transparent background?

I want to take that menu (with a transparent background) and place it over a side-bar image that i've got in DW.

Any help/advice'd be greatly appreciated.

[F8] List Component - Transparent Background? Or A Custom Bitmap Background?
I have a custom bitmap I'd like to use as the background for my List Component in Flash 8 Pro.

I can't for the life of me find any documentation on how to make the list component background transparent or how to put a bitmap in the background of it.

Can anyone help with this? Please!

FOO

How To Make The Background Transparent And/or Change The Shape Of The Background
Im just curious how to change the shape of the background or the transparency.

Please let me know

Transparent Background/ XML Code To Change The Background Colour
Hi,

In a bit of a pickle here; I need a way to insert a swf file into any color background website, so it automatically matches up.

Now, can one make the swf files background transparent? And match the background of any given websites background?

Or, can one use some sort of XML file and simply change this xml file to match the background color of the website?

Now, what if the website uses a particulare pic background? How would one match this?

As usual folks, I am stuck between a rock and a hard place, so any help deeply apprecaiteed!

Kind Regards,

Boxing Boom

HTML Background Matching Flash Background
Hey, I have a flash website that opens as a pop up, the pop auto fullscreens. The background in the flash document is a gradient, and I have a gradient in the background of the html. My question is how would I get the background of the HTML to always match up with the flash background using a percentage?

www.flippingsweet.net/index2.html

Printing A MC With White Background, Not Stage Background?
I’m trying to print a movieclip with a white background while keeping the stage background black. The movieclip, printResults_mc has a white rectangle in the bottom layer, 850 pixels x 1100 pixels. The following function scales printResults_mc to the printer’s printable area but because it’s impossible to predict the aspect ratio of the printable area some black background always leaks out. I tried making the white background 20 pixels larger than I need (870 x 1120) and then setting a crop rectangle in addPage of (10,10,850,1100), no luck, the black stage background just fills in the area outside the crop. A simple solution would be to temporarily set the stage background color property to white, print, then set it back to black, but I can’t find any such property. Anyone have some ideas?







Attach Code

function printResults(e:MouseEvent):void {
var myPrintJob:PrintJob = new PrintJob();
var result:Boolean = myPrintJob.start();
var pageMargin:Number = 0;
if (result) {
prepPage();
var cropRect:Rectangle = new Rectangle(pageMargin,pageMargin,printResults_mc.width-pageMargin,printResults_mc.height-pageMargin);
printResults_mc.width = myPrintJob.pageWidth;
printResults_mc.scaleY = printResults_mc.scaleX
myPrintJob.addPage(printResults_mc,cropRect);
myPrintJob.send();
} else {
//User does not have printer or user canceled print action
};
}

How To Make The Background Transperant Or Without Background
Hi, I'm just wondering how do I make the movie background transperant a example of this can be found in cn.yahoo.com
the ad appears in the middle without background.

thank you

Transition Problems - Background To Background
my problem is, when click on the button to make a background go away ( fade out ) and another fades in...there is a quick blip or jump when it should be a very smooth transition from one to the other.

can anybody help me with this problem? the file is attached.

oh yeah, click on the red buttons toward the buttom to see the problem.

Transition Problems - Background To Background
my problem is, when click on the button to make a background go away ( fade out ) and another fades in...there is a quick blip or jump when it should be a very smooth transition from one to the other.

can anybody help me with this problem? the file is attached.

oh yeah, click on the red buttons toward the buttom to see the problem.

Transition Problems - Background To Background
my problem is, when click on the button to make a background go away ( fade out ) and another fades in...there is a quick blip or jump when it should be a very smooth transition from one to the other.

can anybody help me with this problem? the file is attached.

oh yeah, click on the red buttons toward the buttom to see the problem.

Swf In Table Background / Cell Background Possible
ive read it cant be done? but you never know! anyone know of how it can be done?

thanks

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.

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