ActionScript 3.0 :: Stage Sizes For Fullscreen Flash?

May 14, 2009

I've been messin' around with fullscreen flash and I'm wondering, what's the best stage size for this? Obviously, 550 x 400 doesn't work, but what's a good stage size to start from?

View 3 Replies


Similar Posts:


Professional :: Can't Obtain The Stage's Sizes?

Oct 14, 2010

Situation:I've got 2 swf files,1 is a preloader which loads the 2nd swf file, my site.Both of them, if started separately,work correctly.Problem:when I put the files together,linking the site's swf to the preloader,I get a  null element error and the site loads no correctly.What I've understood :The preloader is ok, because I can remove the error message working on the site's swf AS code.In the preloader's code I have some lines to center its animation on the stage, I do that like this:

import flash.display.Stage;
var myStage:Stage = this.stage;

then using myStage.stageWidth and myStage.stageHeight I calculate the clip position

Also on the site's code I do the same to center a movieclip using exactly the same code, but it doesn't work and I've found that the problem is the myStage variable, not because it has the same name as the variable on the other file (I've tried to name it myFrame).It looks that on the site's swf the myStage variable can't be assigned and then results to be null.

Question: How can I obtain the stage's height and width since var myStage:Stage = this. stage; doesn't work?

View 11 Replies

ActionScript 2.0 :: Open Image In Fullscreen With Stage.displayState="fullScreen";?

Dec 28, 2006

i have my photo gallery and if you push a button photo has to open in new window with fullscreen.

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

View 2 Replies

ActionScript 3.0 :: FullScreen One Element On Stage And Not The Whole Stage

Sep 18, 2008

Imagine a stage. Imagine a series of images (smaller than the stage and spread out evenly) that have been loaded into a bunch of "swfContainer" movieClips via the Loader Class. Is it possible to make one of these "swfContainer" movieClips go FullScreen and nothing else (i.e. not the entire stage, just the _mc that one of these images sits in)?

View 1 Replies

ActionScript 2.0 :: Fullscreen Scroll Bar On Fullscreen Flash Site

Apr 19, 2009

I need a fullscreen scroll bar on my fullscreen flash site , i need it to function similar to this URL...

View 1 Replies

C# :: WebBrowser Flash Fullscreen / ESC Won't Exit Fullscreen

Jul 14, 2010

I have a swf inside a html page. If I open it with IE or FF and put it into full screen I can exit full screen with the ESC button.Now if i try this with my WinForms app and WebBrowser (or ShockWave Flash Object) it's not working??

View 3 Replies

ActionScript 3.0 :: Scaling Stage In Fullscreen?

Nov 19, 2009

I'm having a little trouble getting my swf file to fully scale in fullscreen mode. It doesn't look like the stage is scaling and my picture gets cut off. Attached is an image and the code also. It goes full screen at its native resolution fine but gets cut off when i try to scale.

import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.events.Event;

[code].....

View 2 Replies

ActionScript 2.0 :: Stage And Fullscreen Fscommand?

May 4, 2011

I'm making a flash movie project, the stage size is 600x800. When I use fscommand to make the flash projector fullscreen it shows everything, including out of stage things. How do I get the projector to only show the stage Fullscreen? PS: An answer in AS 3.0 would be fine to! As 2 is preferable!

View 1 Replies

Resizing Flash Swf's To Fit Screen Sizes?

Jun 19, 2009

I would like to know how to resize flash to fit in browser/monitor sizes. This site http:[url]....is a perfect example. Notice how it opens with no scroll and fits to a window that matches your screen size.

View 1 Replies

ActionScript 3.0 :: Video Playing Fullscreen Instead Of Stage

Nov 23, 2009

I'm developing a kiosk-type projector file to play fullscreen & I'm encountering a strange problem. There's a video on the stage (720 x 480) and the stage is 1280 x 768. When the projector switches to fullscreen mode, the video expands to fill the height of the screen instead of the stage filling the screen. It's acting like the fullscreen mode is telling the video to play fullscreen.

View 6 Replies

ActionScript 3.0 :: Max Stage Size When Not In Fullscreen Mode

Jun 23, 2010

Is there a way to determine the non-fullscreen maximum stage height/width? In other words, is there a way to pre-determine what the value of stage.stageHeight and stage.stageWidth will become before the user maximizes his browser?

View 2 Replies

ActionScript 3.0 :: Fullscreen Video Background On Stage

Dec 1, 2009

This fullscreen code works properly if the stage is 400 x 400 px or smaller than .flv ( I tested it in both in html and swf ).
stage.addEventListener(Event.RESIZE, onF);
function onF (event:MouseEvent):void{
stage.displayState = StageDisplayState.FULL_SCREEN;
video.fullScreenTakeOver = true;
}
But the video is not going fullscreen if the stage is bigger than 400 x 400. I have to make a stage big in order to design the rest of my website.
Publish settings : exact fit, 100% width 100% height, flash only Allow Full Screen.

View 3 Replies

ActionScript 2.0 :: Fullscreen Projector With NoScale On Stage

Mar 22, 2008

I working on a projector presentation in flash where I would like to run it in fullscreen. I use:
fscommand("fullscreen","true")
In the first frame, but it scales up my content so that it gets blurred. Is it possible to keep the stage width and height and still go fullscreen, so you just fill the space with stage color.

View 2 Replies

Professional :: Flash Frame Sizes In YouTube?

Jul 18, 2010

I'm back in video after a decade long absence and I'm completely new to YouTube because I've been living on a continent that rarely even has Internet.  I've got some old footage I need to put on YouTube, but YouTube's specs are a bit contradictory at times.Starting from the get go, I have several questions and I hope you can point me in the right direction.  It sounds like an FLV file is what I should go for, so I'll base my questions on that.  Don't hesitate to answer between the lines.  And don't hesitate to tell me to change tracks.

The most clear export I can make from my old Avid editing program is an uncompressed QuickTime movie.  I can't find anything in the YouTube specs about QuickTime moives.  They don't say they're good.  They don't say they're bad.  Can I convert to an FLV file and upload to YouTube with good results? When I export non-HD material from my editing program, what frame size do I export?When I convert to an FLV file, what size do I re-size to?  Or does YouTube resize whatever I send to them to the right size?When I convert to an FLV file, what's a reasonable bitrate for video?  How about audio?Or do I even need to bother with the above?  In one YouTube information sheet, it sounded like I could just upload a plain old MPEG2 file and YouTube would go from there.  Correct or not?What's the benefit of an alpha channel?  It seems like the files get smaller, but I can't get them to play at all after I've ticked alpha.I'm using Avid Xpress Pro 4.3 and have access to both AVS and TMPG 3 for MPEG conversion.  I'm using CS3 from Adobe.

View 7 Replies

ActionScript 2.0 :: Flash Background Different Sizes For Different Pages?

Aug 14, 2010

i am building a website in flash 8 and was wondering if it is possible to make different background sizes for different pages.I know how to change the template size, but when, for instance i change page 3's background (because it is a bigger page) all the other pages' background change to that size.

View 1 Replies

ActionScript 3.0 :: Switching To Fullscreen With FLVPlayback Component On Stage

Sep 5, 2009

I've encountered a really frustrating problem recently when switching to StageDisplayState.FULL_SCREEN with a FLVPlayback component on the stage.

My movie:
bottom layer: a movie clip inside of which is a FLVPlayback component playing a flv movie
upper layer: movie clip (logo), second mc (fullscreen button)

Fullscreen button code:
function doFullscreen(event:MouseEvent):void {
if(stage.displayState == StageDisplayState.FULL_SCREEN){
stage.displayState = StageDisplayState.NORMAL;
} else {
stage.displayState = StageDisplayState.FULL_SCREEN;
}}bFullscreen.addEventListener(MouseEvent.CLICK, doFullscreen);

Effect (Before clicking the fullscreen button):
Everything is okay, the movie plays, logo and button are visible.

Effect (After clicking the fullscreen button):
The only thing that is visible is the playing movie, but logo and fullscreen button disappear.

What happens:
The mc with the FLVPlayback component gets the highest child index and covers the logo and button. It is not the problem with aligning logo and button on the stage, as without the FLVPlayback component they are perfectly aligned. I also tried to manually switch the depth of the mc with the FLVComponent, unfortunately without any result.

View 1 Replies

Professional :: If Go Fullscreen When Viewing An Flv The Video Remains On The Stage

May 5, 2011

I've used a standard skin on an FLVplayback component which loads and plays perfectly. The problem arises when I enter fullscreen mode and then leave it again. Once I've done this, the video remains on the stage irrespective of what frame I'm on. I can even change scenes and the video remains in the middle. I haven't even added the video using actionscript so I don't really understand how it could possibly stay on more than the frame its inserted in!? At the moment I've used no ActionScript to control the video. I apologise if I'm missing something, this is the first time I've dealt with videos.

View 8 Replies

ActionScript 1/2 :: Movie Clip In Center Stage Even Fullscreen?

Mar 2, 2012

how do I get a movie clip in the center of the stage, even if it moves to fullscreen

View 3 Replies

ActionScript 3.0 :: Stage To Prevent Scaling Of Movieclips On Fullscreen?

Mar 3, 2011

in flash AS1,2 you just input this code Stage.scaleMode="noScale";

on a frame of the main stage to prevent scaling of movieclips on fullscreen.I tried the same thing in AS3 and its not working for me. so my question is how would i apply this in AS3?

View 8 Replies

Data Integration :: Any Way To Change Image Sizes (From XML) In Flash?

Sep 7, 2006

I am creating a slideshow within Flash that uses XML data pulled from a database. Is there any way to manipulate the image size from within Flash? I am going to use the slideshow for a plasma display, and have clients uploading image files at random, which are then added to our database. I need each image to be 16:9. I know the easy way to control this would be to give the clients size requirements - we will do this in the future - but unfortunately there are hundreds of images already in the database that are already odd sizes. While it's clearly possible to change the size of the movie itself, is there a way to force each image that is imported from the XML to be a particular size - say 800 x 450 or 1200x 675 or 1600 x 900? (i.e. -- can I force the XML generated image to fill up the whole screen/browser window, regardless of what size it is?) It does not matter if the image gets distorted or stretched.

View 1 Replies

Data Integration :: Will Flash Optimize Image Sizes

Jul 15, 2008

I have a question about the optimization of pictures placedin a Flash stage.If I put a big sized pictures (for example: 1024 x 1024) andif, in the final result, the picture is downscaled on the Flashstage (for example : 200x200 pixels), once the swf is created ,will the picture be as heavy as before it was downscaled, when theflash web site will be loaded in browse

View 2 Replies

Flash :: Manage Multiple Sizes (dimensions) Of Bitmaps?

Jul 22, 2010

I have a custom Image class that I am using to store individual image information for a gallery application:

package mtm.test
{
public class Image extends Object
{

[Code]....

This is how I would implement the above:

var image:Image = new Image();
//I would be loading external bitmaps but for the example I'll just create new ones:
image[BitmapThumbnail] = new BitmapThumbnail(new BitmapData(65,65,false,0x000000));

[Code]....

Is there a simpler way to do this? I feel that there is a lot of repeated code within the BitmapType sub-classes.

At the least, this helps to avoid a bunch of for loops trying to find the requested size, and it seems portable to situations where more or less sizes of Bitmaps are required.

View 1 Replies

Professional :: FLVplayback Fullscreen Not Working When Stage Is In Full Screen Mode

Jun 8, 2011

I have an SWF file with a full-screen button working perfectly. I have added an FLVPlayback component, working correctly.
 
However, if the whole stage is in "Full Screen" mode, and I click on the button which loads the FLVPlayback component, the screen becomes black and the FLV doesn't even load.
 
I have tried addind the action movieHolder.fullScreenTakeOver = false;  but it did not help.
 
I m working with Flash CS5 and AS 3

View 14 Replies

ActionScript 2.0 :: Fullscreen The Video Object Loads In The Top-left Corner Of The Stage?

May 8, 2008

I'm working in a xml videogallery and I'm using a video component... The problem is that when I go fullscreen the video object loads in the top-left corner of the stage (is a 800x600 movie) tough I publish my movie with 100% x 100% dimensions.

[Code]...

As you can see after the first fullscreen the stage remains in the Top Left corner. Is there any way to make the stage return to the center? I need to do it when I return from fullscreen to normal mode... or.. what can I do? I tried to put the gallery inside a MC and center it but still fails cos the video object loads in the registration point of the MC (like in the first example I've provided)...

View 4 Replies

ActionScript 3.0 :: Flash Preloader That's Aware Of Multiple External File Sizes?

Aug 14, 2010

I have an AS3 .fla that loads an external XML file of image names, and then iteratively loads the images into the .fla. All this works great. What I want is to create a preloader that is aware of the size of all these external images. As far as I can tell there's no way to do this, but I'm hoping someone here is smarter than I am.

I tried Lee Brimelow's method of having a separate SWF whose only job is to load another SWF in its place. This doesn't work because the preloader's call to .bytesTotal only reads the bytes of the main SWF, not of the external XML or JPGs that are dynamically loaded into it. So the result is the preloader reaches 100% when the main SWF is loaded, but that happens really quickly and the bulk of the load time comes after the 100% mark, when the main SWF starts loading in images.

The more I think about this, the more it seems that you can never access the .bytesTotal property until you've already instantiated the loader and called the .load() method. Am I wrong? Is there a way to fetch just the SIZE of an external file without actually initiating the act of loading the file into memory?

View 4 Replies

ActionScript 3.0 :: Fullscreen Button On The Playback Component, Which Will Allow The User To Toggle The Video Fullscreen?

Apr 13, 2009

I like to make a fullscreen desktop application, with an FLV, using the FLV Playback component. However, I�d like there to be a Fullscreen button on the playback component, which will allow the user to toggle the video fullscreen.I cant, for the life of me, figure out how to do this with various settings�it should be easy! This is what I have--is there a better way to do things (without a custom movie player)? My inital settings are as follows:

Code:
stage.displayState = StageDisplayState.FULL_SCREEN;
theMovie.fullScreenTakeOver = false;

Then I have a function which should work--but my button won't appear in fullscreen--Can I apply this function to the built-in fullscreen button?:

Code:
function handleClick(event:MouseEvent):void
{
if ( !theMovie.fullScreenTakeOver )[code]....

View 9 Replies

ActionScript 2.0 :: Fullscreen Image/stage - No Image Distortion?

Dec 17, 2004

I have found 2 different Threads about the topic, which worked fine.[URL]... and it seems that it is close to what I am trying to achieve. However, the codes that they came up with don't seem to work with mine. I attached the FLA.Anybody has a solution so when the stage is scaled down smaller than the original image size, the image stops scaling. And the image doesn't distort. The eagle on the intro scales proportionately and the one when you go to campaign section behaves exactly like I would like to.I've found the website here by the way, which was the starting point of my experimentation.

Code:
//stage properties
Stage.align = "TL";

[code]....

View 8 Replies

ActionScript 2.0 :: Loading Fullscreen External SWF's Into A Fullscreen SWF?

Oct 19, 2006

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:[url]....

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.

View 2 Replies

Background .jpg In Different Browser Sizes?

May 12, 2009

I'm building a flash website. I want the background to be a .jpg photograph which fills the entire area outside the browser. I understand that it is possible to scale background to fit different sized computers, but I don't understand how that doesn't distort the image when viewed on a widescreen computer. Is there some way tocreate a site that shows a portion of the image on a 800 x 600 monitor, a little more of the image on a 1024 x 768 monitor and even more a 1650 x 1050 monitor.

View 1 Replies

ActionScript 2.0 :: Getting The Byte Sizes?

Mar 1, 2007

if i am using sound/music in a flash movie and i would like to create an instance for it then play it in actionscript, how would i go about getting the size of that sound file?Here is the code i used, btw the sound file has a linkage name of 'tune'

Code:
musik = new Sound(this);
musik.attachSound("tune");
musik.start();
varsize = musik.getBytesTotal();

A dynamic text field is placed in the doc to show the value of varsize but when the movie loads, it shows as undefined!

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved