Professional :: Stage Dimensions(size) In Flash CS4 (AS3)

Mar 16, 2010

how to get the dimensions of my stage (x,y), BUT only the stage and not all the objects that might continue off the stage included.For example : My stage is 400 x 550.I want to get 400 and 550 returned.

View 3 Replies


Similar Posts:


Professional :: Ecard Suggested Stage Size - What Optimal Pixel Dimensions Would Be For Ecards To Run On Multiple Platforms

Feb 15, 2011

I have one that's almost done and the stage size is 700x800 px. But I'm starting to worry if that's going to look too small? To change it, will be a lot of work - there's animation, imported Jpegs etc. As far as I can tell, in order for it to look correct in larger dimensions I will need to basically create it again from the ground up. So, I'd really like to get an idea of what the optimal pixel dimensions would be for ecards to run on multiple platforms.

I really want to do this and I don't feel like I can move ahead until I get the viewing size correct. I don't even mind redoing the card. I just want my future cards to be the correct size. I don't want to have to come back and redo them all. By the way, the cards are being made in Flash. The site itself will be created in DreamWeaver.

View 8 Replies

ActionScript 3.0 :: Setting External SWF Dimensions To Root Stage Size?

May 15, 2009

I am loading the SWF just fine, but I want the SWF to fit the root stage exactly. What happens instead is that the external SWF seems to include white space from around itself.

For example, the author-set width of the Tanks game (an example file I was using) is 550px, but when I set the width of loadEvent.currentTarget.content.width to 550px, the game is resized to maybe 350px width. I have to set the value of loadEvent.currentTarget.content.width to something like 640 in order to get the game itself to make full use of those 550 pixels.

Code:
package {
import flash.net.URLRequest;
import flash.display.Loader;
import flash.events.Event;

[Code].....

I have CS4 with AS3. I hard-coded values for cWidth and cHeight instead of getting them from flashvars because I am just testing in the IDE right now. Normally I would get those vars from flashvars.

View 1 Replies

Professional :: Dimensions - Specific Standard Size ?

Mar 23, 2011

For an e-learning presentation, what is the standard size the Flash stage should be set to nowadays? Is there a trend as to a specific standard size that everyone is using? This will be embedded / placed / inserted within a .ASP page.If standard interactive actionScript and animations, should I stick with SWF file format?

View 2 Replies

Professional :: Why Is Stage Larger Than .fla Dimensions

May 12, 2010

The more I work with this program, the more weird stuff I encounter.  I set up my .fla file as 700 x 400.  I've been putting stuff on the stage and adding tweens, then when I test the movie, part of the stage image is cut off.  I turned on the ruler, and found that the top of my stage is aligned at X 0.00 and Y -44.50.  I drew a box the size of the entire stage, and its position is X 0.00 and Y -44.50, and the dimensions are 700 x 469.  Can anyone tell me why my stage is larger than 700 x 400, and how to get the top left corner of the stage to be aligned at X 0.00 and Y 0.00? 

View 4 Replies

Professional :: Stage Size For A Flash Website?

Jul 12, 2010

I am taking a beginners Flash course and our final project is to create a movie/website in Flash. 100% Flash based. In a previous course, I made an HTML site. For this project, I am recreating that website in Flash. But what should the stage size be? That is where I am stuck. I don't know what a normal Flash site size should be to fit the screen like a normal HTML site.I already know to havethe dimentions set to 100% and 100%. But for some reason, when I use Control > Test movie, it never seems to fit right. It's either crunched together to much or spread out to far to where the header and footer are partially off the screen. I've seen posts on the web from years ago that said 950x550 is the size needed. Is that still the case? Because it just doesn't look right. With HTML the page height would adjust to the content and it would automatically scroll if needed. But Flash doesn't seem to do that. It seems that you are stuck with 1 size and you have to work around it.

View 1 Replies

Flash :: Professional - Stage Size Limit To SC3?

Jul 4, 2011

I am not a Flash user and would like some information as a client. I have some problems with my service provider and wanted to verify his claims regarding the software.

1. Is there a stage size limit to flash SC3 and what is it?

2. Is it possible that the software crashes because of the data added to it (pictures and vectors)? Or dose the crash is happening from insufficient computer resources?

3. Dose a 1027X768 stage require a substantial amount of computer resources? And is a 4 year old 17" mac book pro might crash repeatedly if such data is applied to it? I understand that these are not the general questions asked in this forum

View 13 Replies

Flash :: Find Natural Size / Dimensions Of SWF File?

Dec 2, 2009

I've been given a Flash file (.swf extension) to put into a web page. Opening the file in my browser makes it quite blurry, so I'm assuming there is a natural size for the file, same as an image.

It's also rectangular so I need to work out the aspect ratio if I don't have an exact size. How would I find this information out?

View 1 Replies

Javascript :: Show Flash Using Original Canvas Size Dimensions?

Sep 2, 2010

I have a generalized media player web app that I wish to be able to use flash in. The client uploads the flash to a particular directory, and a webpage is produced automatically that houses that flash file. The output of this process currently looks something like this:

<OBJECT id="flashContent" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<PARAM value="always" name="allowScriptAccess" />
<PARAM value="#FFFFFF" name="bgcolor" />

[Code]......

I am trying to get the flash to display using the original canvas size (540 x 400 by default) but every time I load this in chrome I get 300 x 150 and in IE the box is square.

how to get it to render using the flash canvas size?

View 2 Replies

Flash :: Maximum Movie Stage Dimensions In CS4?

Aug 22, 2009

Anyone know what is the maximum movie stage dimensions in Flash CS4?

View 8 Replies

Flash - Get The Stage Dimensions With StageScaleMode.SHOW_ALL?

Mar 29, 2011

If you set the stage.scaleMode to StageScaleMode.SHOW_ALL, your swf may be scaled up or down, and may be padded on the top/bottom or left/right. However, stage.width + height always return the width and height as defined by your swf, and stage.scaleX + Y always return 1. As I understand it, resize events are not thrown. So how do I get the actual scale and dimensions?

I want them for two problems:I want to fill that padding on the top/bottom or left/right with something only if the user can see it.
I am drawing vectors into bitmaps and want to properly scale it so it doesn't look jagged (or fuzzy with bitmap.smoothing). Flash seems to do the scaling correctly when you cacheAsBitmap=true, so how do I recreate this?

View 2 Replies

Iphone :: Flash Stage Dimensions When Exporting For IPad

Oct 3, 2011

In the Flash CS 5.5 AIR settings for iOS, in the General tab of a panel, there's a menu that lets you specify the target device:

-iPhone;
-iPad;
-(both) iPhone and iPad;

What happens if I specify the third? That is: I can't understand if I can use the default stage dimensions (iPhone dimensions) or I must eventually create a stage (and assets) for iPad (and it will work for iPhone too).

View 1 Replies

ActionScript 3.0 :: Get An Object To Increase In Size The Lower It Goes Down The Stage And Decrease In Size The High It Moves Up The Stage?

Dec 29, 2009

I'm trying to get an object to increase in size the lower it goes down the stage, and decrease in size the high it moves up the stage.

It only needs to increase or decrease by a small amount. Basically, it's for a game character. To ad realism to his movements, it would be nice to have this feature.

This is where i'm up to so far:

Code:
import fl.transitions.Tween;
import fl.transitions.TweenEvent;
import fl.transitions.easing.*;

[code]....

I think I need something like:

if (object moves up)
decrease
else if (object moves down)
increase

View 6 Replies

ActionScript 3.0 :: Flash Movies Are Clipped At Their Stage Dimensions For Html?

Jun 24, 2009

how do i make sure my flash movies are clipped at their stage dimensions for html.as it is now, anything thats big enough to over lap or are off my stage still show up.all i want displayed is whats on the stage, and nothing else. is there a specific code i need to use? or is it just a check box setting that i cant find in my publish settings?

View 1 Replies

ActionScript 3.0 :: Change Stage Background Color And Stage Dimensions?

Aug 12, 2009

I am wondering if it's posible to set the backgroundcolor of the stage through as3 code.i am also wondering if it's possible to set the stage height and stage width through the code. for the application i wish to develop, the values of the stage color and the stage dimensions are provided by an XML file.

View 8 Replies

Professional :: Set The Size Of The Stage To 500 X 400?

Jan 26, 2011

I have created a flash project in CS5 and I have set the size of the stage to 500 x 400. When I view it in the flash player as the swf it plays fine. What I want to be able to do is get the swf file to fill the screen with the image no matter what size the end user scales the window of the Flash player too.

View 5 Replies

ActionScript 3.0 :: Get Image Size Dimensions From An URL?

Jan 16, 2011

I'm loading images from an XML file and I know what the image name is, however this is in a string variable. How can I get the dimensions of the image from this?

View 1 Replies

ActionScript 3.0 :: How To Retrieve Image Size Dimensions

Jun 21, 2010

I'm using FileReference to load up JPG or PNG images and I'd like to retrieve the image size dimensions somehow. Is there a way to do this?

Code:
//initialize the fileReference
fileReference = new FileReference();
//add some listeners
fileReference.addEventListener(Event.SELECT, onSelectFile);
fileReference.addEventListener(Event.COMPLETE, onCompleteFile);
[Code] .....

View 4 Replies

ActionScript 3.0 :: Get Image Size Dimensions From String

Jan 16, 2011

I'm loading images from an XML file and I know what the image name is, however this is in a string variable. How can I get the dimensions of the image from this?

View 1 Replies

Professional :: Increasing Editing Stage Size?

May 30, 2011

I am creating a platform game that is 800 by 600 dimension where the camera scrolls with the player. The problem i am having is that if i want to draw a map that goes off screen the stage are that i can edit in can only go so far when i am creating the map however i drag an object further than the edge of the editing space i can see it when the camera scrolls over to it in game but when i do this i cannot easily edit the objects that are not in view in the editing window. I can slightly increase the size of the editing window by changing the dimensions of the game to 2880 by 600 editing and then changing back to 800 by 600 but still i can only enlarge it up to 2880 because that is the maximum. Is there any way i can edit very large objects like a map that are way bigger than the stage dimensions?

View 1 Replies

Professional :: Flash Demo Loop Dimensions

Jan 6, 2012

I have to create a demo loop that will play on a 32" TV at a convention center booth. This .swf will also be repurposed on a webpage after the convention.What's the best pixel dimension to create the flash stage? If I create it at 1024 x 768 to fit safely within a browser, any idea how it will look when viewed on a TV? Will it look distorted? How do I compensate for fact that the TV may be 1080p or it may be 720....  and still have it work on a typical web page?

View 3 Replies

Professional :: Dynamically Changing Stage Size On Runtime

Mar 31, 2010

I need to change the stage size dynamically. When I try to do this?
size_mc.onRelease = function(){
trace(Stage.height);
Stage.height += 100;
trace(Stage.height);}
It comes always the current stage size.

View 3 Replies

Professional :: Scale Entire Contents Of Stage Down In Size ?

Jun 28, 2010

Can a finished flash file be resized.
 
Stage is at 1684 x 1322 animated map operated by buttons in a static key located outside of map border, all on stage. Map also pans/zooms.
 
Two scenarios:-

1) resize stage and all contents down to a different size.

2) resize the animated map down but more so than the static key (sits outside the map) which should remain readable.

View 1 Replies

Professional :: Reducing/increasing Stage Size Centrally?

Nov 19, 2010

I notice that Flash makes changes to a stage size to the right. Is there a way of making the change so it expands out from a central point, i suppose like photoshop and similar. This has caused me some problems in the past when a client has asked for the site to be increased or reduced in width for example, and it can take a considerable ammount of time to move everything accordinly

View 3 Replies

Professional :: Making Stage Size Larger Than 2880x2880

Dec 6, 2010

I have a presentation work and the size that i have to work is larger than 2880 pixels which is the maximum value flash cs5 allows. So, is there any way that i can make the stage size larger? (approximately 3900 pixels)

View 2 Replies

Professional :: Motion Presets, Stage Size, And Defaults?

Feb 10, 2012

I put a motion preset (zoom in 3D) on a movie symbol instance. It worked great--it zoomed in well, and the instance stayed at the center of the stage for the whole animation, which is what I wanted.

I realized that I needed to change the stage size, for reasons I won't go into.I converted the stage measurement from pixels to inches, and resized it.Of course, all my graphics and instances were now off-center. In realigning and resizing everything, I discovered that my instance with the motion preset was no longer staying centered on the stage. It now travels in a right diagonal down to the bottom right corner of the stage when played. In fact, now anytime I use that particular preset on anything, in this file and in new ones, the same thing happens. It's like the preset has changed permanently on my computer and won't go back to the default.

I've tried editing the path frame by frame, but that makes a mess. I've tried using the subselection tool to edit the path, but that's imprecise and not working well.As an aside, I loaded this particular file onto another laptop here at work that has Flash Pro too. Before I opened my file on this new computer, that motion preset worked fine. Now that I've opened this file in the new computer, that preset is messed up, even when I start a new file.

View 3 Replies

Professional :: Build A Flash That Auto-adjust Its Size To The Browser Window Size?

Jun 8, 2010

I am trying to build a flash that auto-adjust its size to the browser window size, while leaving the content of the flash itself top-centered in the screen.I have found this solution [URL].. on How to keep centered stuff in this exact case so i am pretty confident i will be able to adjust that script to do what i want.
 
Now my problem is that if i put my content inside the movie-clip (centerrectangle) with all the animation require, link and other stuff, the movieclip (center rectangle ) never have the exact same center, thus making the script go wild trying to always adjust the location to the variable size of the movie clip.

[Code]...

View 9 Replies

ActionScript 3 :: How To Get Stage Dimensions Without Using Singleton

Feb 18, 2011

I have a few classes in my project which aren't display objects, but they need to know about the stage of my project (stage.stageWidth, stage.stageHeight). Is there a simple way to pass this information along to my classes without using a Singleton or passing these items in as parameters into the constructor??

View 3 Replies

IDE :: Export The Stage At Its Dimensions In Pixels?

May 25, 2009

was wondering if someone could tell me how to modify this code so i can export the stage at its dimensions in pixels. Right now the script saves the stage without bounds, unconstrained. I need it to draw the stage at its default 1280x720 stage size and whatever is within the stage bounds, not whats off the stage bounds

function createJPG(m:MovieClip, q:Number, fileName:String)
{
var jpgSource:BitmapData = new BitmapData (m.width, m.height);
jpgSource.draw(m);

[Code]....

View 2 Replies

ActionScript 3.0 :: How To Change Stage Dimensions

Sep 17, 2011

i'm using AS3 and I'm trying to change the stage dimensions to get bigger when I press a button. The current dimensions are 550 x 700, and I thought the code:import flash.events.MouseEvent;btn.addEventListener(Mouse Event.CLICK, makeStageBigger);function makeStageBigger(evt:MouseEvent) {stage.stageWidth = 800;stage.stageHeight = 900;}would work, but nothing happens. I'm getting no errors or anything, but when I click the button, it doesn't work.

View 1 Replies







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