ActionScript 2.0 :: Full Browser Sites - Scaling And Position
Oct 20, 2009
I'm working on a site right now where the flash player fills the browser window up to 1600x1200 res. The developers I hired are having problems with AS2 when it comes to scaling things and positioning them as the browser window changes size. While it works, the biggest problem is the aspect ratio, keeping the layout looking nice, and the footer keeps dropping off the screen at certain sizes.
Screen res closer to 16:9 looks better laid out than 4:3 and they keep telling me that it has to be proportional when it comes to positioning and scaling, although positions aren't really changing from whatever code they've used. To me, there must be some way so that if looks nice on 16:9, when it goes to 4:3 it will look good too, or even some in between size, they should be able to use code to figure out where things belong, even if it's not perfect. Instead, there are big gaps of dead space on 4:3 and it just looks like crap.
This is also true of background images which fill up about 1/3 of the page on the left or right. As we go down in size they say only a proportionate scale can be used, but sometimes the images are staying too large based on the size of the browser window and should be scaled more. Some of this may be attributed to much of the content being loaded dynamically as the client has us building a CMS, but to me, it's still coordinates and scale when it comes down to it and I don't know why raw percentages must be used instead of some more complex math.
If someone knows how this can be achieved, or can at least point me to web site that has this working properly, I can make sure they investigate further and figure this out before the deadline. I'm adding attachments to illustrate what I'm talking about. I'm using colored blocks to define where dynamic text boxes, icons, footer, images and navigation are. Arrows show where i'd like things to move dynamically.
View 0 Replies
Similar Posts:
Jul 24, 2010
What's the best practice to scale images in full browser sites? I am new to Flash and have a pretty good understanding of how most things work in Flash. My newest goal is getting Flash to scale 100% on all browsers. But when I do, my pictures become pixelated and I'm sure videos would do this as well. So my question is - what's the best practice or actionscript to keep this from happening? Sites like [URL] that have utilized their abilities to scale their images on any browser are great examples. How can I achieve this?
View 1 Replies
Nov 12, 2007
So I'm trying my hands on some full browser flash and after reading a couple of tuts I wrote this
Code:
#include "mc_tween2.as"
Stage.scaleMode = "noScale";
stageListener = new Object();[code]...
The trace's are because it didn't work like I thought it would.Etc the middle movieclip didn't center itself but rather positioned itself seemingly how it pleased so I traced its x position and the var stageXcenter position and like suspected it shows different values.
View 2 Replies
Apr 15, 2010
I am in AS2 with a working full browser flash site. I have an mc I'd like to start out at 100% but scale up to 120% if the browser window area increases. How do I tell example_mc to scale proportionally up to 120% when the window scales?
View 1 Replies
Apr 12, 2010
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! :-(
View 1 Replies
Oct 12, 2008
i would like to hear some feedback on how to seo flash sites using deep linking. I am using swfAddress and swfObject but the urls generated by swfAdress with # anchors are not really seo friendly, google just ignores enything behind the "#" and this could be end in cloaking.
View 2 Replies
Jul 24, 2006
What are some of the basics needed to design and develop a Full-Screen Flash site?
- Ex. Publish at 100% (width and height)?
- Some sort of Java Script?
- CSS that allows for this to happen?
I just need a starting point and will be glad to research the rest. Looking for sqare 1.
[Code]...
View 4 Replies
Jun 22, 2010
i've been working with flash for a long time, but there's still something that i don't quite think i'm understanding fully. i see many of these sophisticated photography sites programmed so that the photo fills the whole screen (such asand the photo is crisp and clear on any sized monitor.i know how to set the site to be programmed to fill 100% of the screen, and i know how to "trace bitmap" inside of flash so that the photos work a little better. they then act more like vector images than bitmaps which tend to pixelate when proportions are enlarged. but when i use the "trace bitmap" feature, the flash file often becomes very large size in terms of KB, even when some detailed smaller images are traced.
View 1 Replies
Apr 1, 2010
I am working in Flash CS3 and Actionscript 3.0 My application resizes according to browser width and height. If the user first resizes the browser and then loads the flash application, I could not get the full browser width untill the user goes for full screen. Is there any way around, to get the full browser width before the user goes for full screen.
View 1 Replies
Jan 22, 2009
I'm working on a small flash site and I want the swf file to have "bleed" or to go to the very end of the window so that the swf isn't just ploped over top of a background. [URL]
View 1 Replies
Apr 14, 2005
I have a standalone Flash projector running off CD. Currently, I use
getURL("http:url....);
to open the page on default browser. Only problem is the browser window is opening at the size it was last used. I like to see it opens full screen.
View 2 Replies
Nov 15, 2010
it's possible to have flash load a FLV video but have it fill the screen and be scaleable?
This is my video script:
ActionScript Code:
/////////////video
var nc:NetConnection = new NetConnection();
nc.connect(null);
[Code].....
View 8 Replies
Jun 30, 2009
I have a very simple flash file with the FLVPlayback Component on the stage. When I test it in the HTML page and I click the full-screen button, the video overflows the screen. It looks fine in normal mode - everything is scaled perfectly - but when it enlarges there's a black bar above the video and the bottom 1/3 falls off the screen.
View 1 Replies
May 8, 2007
[URL].. Anyone know the AS to make it automatically check the size of the browser for the listeners_notice when you resize the browser it works perfectly...but not when it first loads up.
[Code]...
View 11 Replies
Feb 1, 2010
I have an AS2 image gallery with thumbnails and fullsize images and descriptions that load from external XML-files. I have found out how to take this gallery into true full screen. But when going full screen, I want only the full size image to scale up. Descriptions and thumbnails should stay the size they have when the flash movie is in its normal display state.
Attachments: Gallery.txt.zip (998 bytes)
View 3 Replies
May 16, 2009
If you click the "FS" button inside the player for full screen, it goes to full screen, but does not scale my player. Here's my SWF embed code. I have tried it both this way and taking out the wmode line.
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("player_bitgravity_fs.swf", "flvplayer", "724", "409", "9", "black");
so.addParam("wmode", "transparent");
[code]....
View 1 Replies
Mar 15, 2009
I'm workin on a multimedia CD that I'm creating entirely with Flash. I have just ncorporated 2 video files. They play in the flash players fine but when I click on the Full Screen mode it blows the video up way to big to the point were I can only see a small section of it.
View 1 Replies
Mar 30, 2012
I'm writing a standalone windows AIR app and using
contextView.stage.align = StageAlign.TOP;
contextView.stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;
contextView.stage.scaleMode = StageScaleMode.SHOW_ALL;
Which will scale my app to full screen and show the entire app with no cropping, however may leave borders on the left and right. Which it does I'm wondering if there is a way to remove or at least set the color of those borders, they are currently white. Its a big wide 2" section on the left only in my case.
So I found out how to change the color of it, by doing a backgroundColor="#f3f3f3" on
See attached image below
View 1 Replies
Jul 18, 2011
I have a project which has a background which is a swf that is scalable with the browser.However I do not want anything in the parent SWF to scale and want to position it in the top left of the browser regardless of size. how to do this in AS3 Currently it seems that the parent SWF is scaling everything as a result of a child swf on the stage.
View 7 Replies
Mar 9, 2005
Essentially I want a MC to take it's X position and magically set its x and yscale, so that when it is at an X of 0, it's xscale is 75, when it's at a X of 88, it's xscale is 100, and when it's at a X of 176, its scale is 75 again. But it needs to scale from 75 to 100 and back to 75 smoothly, while it's being moved by another script.
View 4 Replies
Mar 9, 2005
Essentially I want a MC to take it's X position and magically set its x and yscale, so that when it is at an X of 0, it's xscale is 75, when it's at a X of 88, it's xscale is 100, and when it's at a X of 176, its scale is 75 again.But it needs to scale from 75 to 100 and back to 75 smoothly, while it's being moved by another script.
View 4 Replies
Nov 24, 2010
i want to show swf with zoom out 50% by default when user opens the page.URL...
View 3 Replies
Jun 26, 2010
im using this scaling script here: [URL] and my problem is that this script only works fine with the bitmap inside the fla (640x width). If i include a bitmap in the same MC with a better/greater resolution, the script doesnt scale the image correct and the position is also failed. i include a image with 1920x1200 and see after export into swf, embedded in HTML and so on only a little part of the big picture.
View 1 Replies
Feb 20, 2004
I have a dragable movie clip that on release I want to scale, depending on the mouse position, the further the mouse up the screen (y) then the smaller the clip scales on release.
View 6 Replies
Aug 23, 2010
I am making a site using a liquid layout in Flash and have added an FLV with playback component swf. When I test the file it scales fine in the browser until you try rescale/minimise/enlarge etc. It then squashes.Url...Try rescaling the browser and you'll see the issue occuring. This only happens with the FLV playback component added. It is a linked file by the by and not embedded.
View 1 Replies
Mar 1, 2010
I'm looking to have a logo stay locked in position on the right and the menu bar stay locked in position on the left when scaled in a web browser. The background in the main stage area. Is there a way to do this in Flash or is this done with HTML?
View 2 Replies
Sep 10, 2009
if i was to make a flash website is there a way that i could have it scale the width to fit the browser, and scale the height so that it keeps the same aspect ratio and doesn't stretch the contents out of proportion?
View 3 Replies
Apr 11, 2010
Im designing a website but having trouble viewing the whole page on different sized monitors. On more square resolution monitors, the left side of the website will get cut off. If you scale the browser window up, to a more widescreen format again the site will come back into view, but as you scale your browser window to the left e.i. making it more square, agian the left side gets cut off.
anyone know how to prevent or fix this? the site address is [URL]
View 3 Replies
Aug 1, 2007
I want a flv to fill the browser. I am using this code:
Code:
Select allStage.align = "TL";
Stage.scaleMode = "noScale";
Stage.showMenu = false;
var timeline:MovieClip = this;
var _minW:Number = 320;
var _minH:Number = 240;
[Code] .....
It works perfectly as written. It scale the movie on resize perfectly and retains the proportions of the video. It doesn't fill the browser completely though when the proportions arent correct(leaving bars or the background color on the sides or top and bottom). I want it to scale proportionately, but fill the browser, so effectively some of the movie will be cut off.
View 6 Replies
Oct 9, 2007
when I play my SWF locally, it scales dynamically with the size of the window. Now that Ive published it, the website is at a static size...how do I change that?
View 1 Replies