ActionScript 3.0 :: HD Full Screen Aspect Ratio
Mar 5, 2011
I have set my stage at 1920 x 1440 with a background bitmap that matches that size. The aspect ratio of my stage/bitmap is 4:3. When I run my Flash website on a legacy 4:3 monitor set at 1024x768, the top and bottom portions of the stage image are truncated. The remaining part of the displayed picture has an exact aspect ratio of 16:9.
[Code]...
View 2 Replies
Similar Posts:
Dec 12, 2009
I am trying to emulate an effect like this site uses...
[URL]
and I've basically poached their script, a jQuery initiated 100% width and height background that loads into a couple of holding containers.
The thing I would like to do differently is fix the background in place so the content can scroll over it. How can I, say, write the flash movie to the BODY background or something like that? I'm not a javascript wiz and am not sure how I might do this.
View 3 Replies
Sep 2, 2010
This is what i'm trying to do , get the Ratio 4:3 9:16 etc from an mp4 movie (h264) so when ill open it in fullscreen using a flash player / action script 3 it will still keep the ratio.
View 2 Replies
Jan 20, 2009
[ X ] Problem solved I just came up with something i have some trouble to handle I've tried a couple of solution but none seems to work perfectly
What I'm trying to do is simple, get my flash to go full screen, but whatever resolution the user has, my flash must centers itself with the biggest proportion possible, and two movie clips goes right and left of it, as if they were borders.
I've been able to do this with a simple png, but i was not able with a movieclip where his dimension changes through time. ( i have a tween, so the mc gets really big even though just my stage is displayed)
View 1 Replies
Jan 23, 2012
I want to produce a small movie using flash that i can pass onto someone else for inclusion in a presentation
They have asked for the final movie to be a quicktime .mov using the H.264 codec and that the aspect ratio should be 16:9
So my question is, how do i set up a flash project to ensure the final outputted movie will be in the correct aspect ratio? do i need to know the correct pixel dimensions?
View 6 Replies
Feb 9, 2009
i'd like to use one flv player .swf to play both 16:9 and 4:3 videos without stretching the 4:3. how to detect the aspect ratio of the flv file being loaded?
View 0 Replies
Sep 3, 2009
I found a thread in actionscript.com that resizes a bg image beautifully (without any pixelation whatsoever), except that there is a minor glitch in the script that doesn't load properly. What does the solution mean: "try waiting until after the image is loaded. call your setBackground(); function from the onLoadInit"
Here is the script:
import flash.display.*;
// this tells Flash NOT to allow the assets to be scaled
Stage.scaleMode = "noScale";
Stage.align = "TL";
[code]....
View 2 Replies
Jan 29, 2012
I have developed a couple of websites before in Flash, the problem is, the resolution of the site is good on my platform. i.e. 1024 x 800. However, when I get to view the site in 1366 x 788 the whole site looks sad. Badly oriented and sometimes I have to scroll through my page up and down - you know what I mean.
how to solve the problem so that my site looks good, centre oriented, doesn't matter at which resolution the user is viewing it.
View 3 Replies
Sep 21, 2011
I have made a resizeable box that you can resize using handles on all four cornersI have tl (top left handle), tr (top right handle), bl (bottom left handle) and br (bottom right handle)Its rather difficult to explain. See the picture attached, the blue arrows are where the mouse could move and the green arrows are where the boxes should goor now let's concentrate on moving the tl handle so that when it is moved left or downwards it gets smaller, towards the br handle
I've have tried this:
tl.y = tl.x
tl.x = tl.y
[code].....
View 7 Replies
May 9, 2011
I have created a flash video player using as3 (videoObject) but when I play the video the video is streched how to tell flash using as3 to maintain aspect ratio.
View 2 Replies
Nov 16, 2009
I have 30 seconds spot that I need to convert it into DVD with 4:3 aspect ratio. Does Flash has ability to do it or do I have to burn it using third party software and on the third party software does it has the option to make the aspect ratio to 4:3? I think is 720X480 in pixel right? It has to be NTSC format.
View 9 Replies
Jun 8, 2010
I want to know how can i make something like if any one scale browser my site will scale in aspect ratio without cropping
something like jimcarrey website [URL]
View 2 Replies
Jul 2, 2010
how to make a video player and I was wondering if there is a way for me to receive the aspect ratio of a loaded flv or get native dimensions of the video so I know how to scale my video properly according to the loaded flv.
View 1 Replies
Oct 7, 2006
Is it possible to keep the aspect ratio of a picture loaded with loadMovie, or is there another way to accomplish the same?
View 4 Replies
Feb 4, 2008
I have this video background, and I want its aspect ratio to be kept intact when the window is resized. Also I want the screen fiiled, if the aspect ratio would make the video smaller than the window it won't resize, it would just center.
[URL]
I have that code, it gives you an idea of what I want. however its buggy and flickers.
View 3 Replies
Sep 8, 2008
i try to charge a XML images inside a movieclip, but i need this movie clip maintain the aspect ratio. This movie clip gonna change with the size of the explorer, but when this change my image is going stretch. I used this code doesn't work but i try:
Code:
stageListener.onResize = function() {
MC._x = Math.round((Stage.width/2)-(MC._width/2));
MC._y = 153;
[code]....
View 2 Replies
Dec 23, 2010
I need to scale images so that they always fit within my browser but also retain their aspect ratio. All other examples I have seen at some point either the width or height is cropped off by the edge of the browser. I need my images to always stay inside but also I do not want them to ever scale above 100% i.e. no enlargement. owever the images don't stay within 100% scale and also get cropped off.else as much as I can.The code I have is like this
Code:
if(mainTL.allImages._width > Stage.width){
mainTL.allImages._width = Stage.width;
[code].....
View 2 Replies
Jan 4, 2010
I want to load it always to fill the whole screen but to retain the aspect ratio. So far I am able to stretch it to 100% of the screen but the aspect ratio is not preserved. The instance name of the mc in which I load the background image is "back".
Here is an example of what I need: [URL] Try to resize browser window to see how the background image preserves its ratio.
PHP Code:
function loadFunc(What, Where) {
var LoadingObject = new MovieClipLoader();
var NewObject = new Object();
[Code].....
View 8 Replies
Apr 13, 2011
I am working on a new site with a liquid layout and I havent been able to find a way to keep the aspect ratio correct with the different sizes.
[Code]...
the image size im working with is 990x600 for a 1024 display.I would like the image to be centered and never to have empty area, so if it needs to it would strech past the sides.
View 3 Replies
Jan 9, 2010
I have a video gallery and some of my videos are in 4:3 ratio and some in 16:9 ratio. I have also a fullscreen function on my video player. The problem is on a screen with 16:9 ratio which most of us have, my 4:3 video's is stretched across the screen. They don't maintain their pixel aspect ratio.
View 1 Replies
Feb 25, 2011
Every Time I am getting Pixel Aspect Ratio as 1:1 when i use Capabilities class. How can I get the actual ratio when it is Non-square pixel?
View 1 Replies
Aug 25, 2009
My html has 3 parts which I want to appear vertically in the page: header swf footerThe header is 100px high and 100% of width. The footer is 25px high and 100% of width.
I want my swf to take up the remaining vertical space on the page while maintaining its aspect ration of 4:3. I'd also like automatic redistribution of space to occur whenever the page is resized.
I have attempted to put the swf into the page using dreamweaver's built in methodolgy cs4's method when creating a corresponding html page swfobject 2My swf ends up with the dimensions of the page (without regard to the header and footer). The result usually involves the other content being off screen and unwanted vertical scrollbars. Often, regardless of my choice of showall or exactfit, i get distorted aspect ratio.
Is there an approved or standard way to achieve automatic resizing of a swf based on the remaining available unused height in a page?
View 1 Replies
Mar 19, 2007
My question is in making a flash website the pictures never stay the same size, the resolution of a monitor changes my pictures to tall or fat looking, if not made in that resolution 1024x768. but i have seen some websites not do this, is there a back script in java in html or enbed in flash.
View 1 Replies
Jun 15, 2007
I'm working on a large bitmap background site and for some reason, I can't get the bitmap to resize (with the correct aspect ratio) upon loading. It only works after the window has been resized. When I try to call the function after the bitmap has been loaded it displays nothing until the window is resized.This is my Actionscript:
ActionScript Code:
import flash.display.*;
// this tells Flash NOT to allow the assets to be scaled
[code].....
View 3 Replies
Jan 15, 2010
[URL]
Notice if you adjust your browser size in both direction, it'll resize itself accordingly.
But if you resize in only one direction (squish your browser left) it won't resize at all past its aspect ratio..
Same if you squish your browser upward (with out resizing to the left or right), it'll resize till the aspect ratio is good, but if you continue squishing your browser up, it'll simply stop resizing all togethor and crop it.. AS well as the top portion of the flash file never moves up.
I want to make a full flash page, but allow the aspect ratio to be maintained when people adjust their browsers, so it can be resized if the browser is at a smaller resolution, but if they only move one side of their browser, nothing happens, (try it on the jimcarrey site to see what I mean, if you size your browser in both directions, the site resizes, but if you resize your browser in only one direction, say like up/down, it'll just crop out the bottom once the aspect ratio is met.
View 5 Replies
Jan 11, 2012
Is there any possibility/workaround to detect if user's webcam supports 16:9 aspect ratio?
View 4 Replies
Oct 5, 2005
lock the aspect ratio of a dynamically loaded image when i resize my browser.
View 3 Replies
Nov 19, 2009
I am new to Flash so this may be a basic question, but I have not been able to find anything in the help files or the forums. I have tried several times to change the size of my quicktime movies, from 550 pixels by 400 pixels to 480 pixels by 480 pixels, and I cannot seem to do it. I have used "Modify > Document" and tried every option I could find through this command. Each time I export I double check that the export settings match my desired size, and they do, but when I open the movie in quicktime, it has been stretched to fit 550 x 400 pixels. The preview movie looks exactl how I want, it is only the exported movie that is incorrect. Is it possible to make a quicktime movie of the size I would like, or is that a standard format that cannot be adjusted?
As a workaround, I have tried squeezing my 480x480 content into the 550x400 stage (while scaling it prportionally). but when I do this, the square of content is not centered in the background in quicktime. It is off center in the preview movie as well, and this commonly occurs after I have used "modify > document" to change the size of the document. The side to which it is aligned seems to be inconsistent. Is there a way to realign the video after I have modified the document size? Does changing the document size through "modify > document" affect the centering and alignment of my video? Is there a way to change it back?
[Code]...
View 1 Replies
Dec 12, 2011
i have a TitleWindow popup which opens a videoDisplay to play a video when i click on a thumb.What i want is my popup to resize and the video inside it but to maintain its original aspect ratio and not stretch.[code]
View 1 Replies
Jan 20, 2010
I have a video inside of another movieclip. When I go full screen, I scale up the outer movieclip to fit the screen. So that OuterMovieClip.width is equal to screenWidth etc. How do I maintain the aspect ratio on my video so it does not get distorted? Whats the proper math for that?
View 1 Replies