I am trying to create a Flash based website that runs full screen. It will have a series of still photos or possibly, a video as a background with a few menu buttons on top of them. What I don't understand is how to compensate for the various monitor aspect ratios. If I make it wide screen, a square monitor will show blank bars at the top and bottom. You can see an example of what I'm trying to do at [URL] Also, what is the optimal size to make the Flash video? I am running Flash MX 2004 (Version 7)
I have an application, what playing server side playlists. The problem is: in the player (FLVPlayback) the videos with different aspect ratios displaying with the aspect ratio of the first video.
I have been watching too many peoples asking about various aspect levels for images and videos. Here is a simple demo to show your image/video with different aspect ratio levels. I hope the aspect ratio list is very tiny like, 3:2, 4:3, 16:9, 1.85:1, 2.39:1. Here is sample code:
Code: function setAspectRatios() { var widthR:Number = 2.39; var hightR:Number = 1;
I have a simple silly question that I've seen posted here a million times but now I can't seem to come across. Whats a good equation to keep aspect ratios on resize?
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.
here's where all you math genius' get to help me out. I know that this principal is not difficult and was taught sometime during my highschool years.I need a math formula which reduces the ratio of any x:y to the smallest quanity possible. Basicaly so that the smaller of the two numbers is 1 and the other number is whatever it would be, compared to 1... but, I need it to work for both posative and negative numbers.(I'm the ultimate Math newb.. bear with me)
so. I have x=20, y=20 is 1:1 -20, y=-10 is -2:-1 x=10, y=-5 is 2:-1 ect.
I'm creating a scrollbar gallery from a tutorial on this site. Though I've completed the tutorial, and customised the gallery to my own needs, however I'm trying to make a very small change to it - and no matter what I do, keep running into problems. I'm trying to replace the rectangular handle with my own customised handle - a (20 x 20) 'circular' png image that I've imported into Flash, made a graphic and stored in the library (though I understand it can be imported using actionscript, like the other images in the gallery).
When doing a gradient fill on an area chart, the gradient ratios are used only between the min and max of the chart. The area below the min is then filled with the last color in the gradient.
To make sure that it was using the ratios only between the min and max I inserted a zero (0) into the chart and the gradient expanded to the full height. I also checked the gradient values by creating a with the gradient fill.
How do i get the ratios to be effective through the entire fill not just between the min and max?
I want to make an application that works on 2 screen.on screen1 I need to make GUI with several buttons, sliders, radio buttons, field for dynamic texton screen2 (big screen / LED / video projector) I want to output photos and simple vector animations that are controlled with GUI on screen1 I don't know if it is possible in Flash to have one output with GUI and other with content. Does Flash recognize multiple screen outputs? Is there an action script command to tell flash projector: this put on screen1 and this put on screen2.
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?
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?
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";
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.
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.
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 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.
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.
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.
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.
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:
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
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();
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.
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?
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.
Is there a setting/script so that Flash movie will auto resize the site down for smaller screens, but will only go to the maximum stage dimensions of 770px X 650px?
I have been trying to work out how the full-browser background was done here: [URL] It scales in a very elegant way: it never stretches the image, stays centered on the image and never causes ugly blank areas around the image. For me, it's become deceptively difficult to achieve! :-(