Resolution Screen Swf Resize
how do you get actionscript toscale an swf so that its size is an equivalent ratio to the users computers screen resolutioni didnt really think flash and html worked like that.thought it was best to design with the size of users screen resolution inmind as well as boarders of whatever it is ur building
KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 07-21-2008, 04:58 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Resize Screen Resolution
Hi,
I've created a presentation in Flash MX and exported it as an exe. I want to resize the screen resolution, NOT resize the exe when the exe opens. Can anyone help?
Thanks!
Screen Resolution Resize - FS Command?
Hi,
I've made an interactive presentation in Flash and want to export it as an exe. I want to resize the screen resolution and NOT the exe as it impairs the quality but I can't find out how to do it.
Can anyone help?
SWF Resize Depending On Screen Resolution
Hello,
I wrote the following code to resize depending on the screen resolution.
It does not seem to work.
Can someome tell me why?
Code:
var userRes:String = System.capabilities.screenResolutionX + "x" + System.capabilities.screenResolutionY;
if (userRes >= "1440x900") {
Stage.scaleMode = "noScale";
} else {
Stage.scaleMode = "75%";
}
Could my html code be overriding this code?
Resize The Mc Best To The Users Screen Resolution
hi i have this code that loads my large images on my site but it does not reduce them it shows the image with original resol only so if the user looks an image that's resol is 1600*1200 and their own screen resol is 1024*768 then they cannot see the images all part. so what i want is to implement a "reduce to best fit if their screen resol is lesser then the image resol" feature for this code. if anyone can help i will be very gratefull thanks.
this is the code that loads the large movieclip
Code:
var mcl2:MovieClipLoader = new MovieClipLoader();
var mcl_listener2:Object = new Object();
mcl2.addListener(mcl_listener2);
mcl_listener2.onLoadProgress = function():Void {
mainTL.attachMovie("mc.loader", "largeloader_mc", 50000, {_x:Stage.width/2, _y:Stage.height/2});
};
mcl_listener2.onLoadInit = function(mc:MovieClip):Void {
// remove loader
mainTL.largeloader_mc.removeMovieClip();
// set mc's for quick access
var holder:MovieClip = mc;
var image:MovieClip = mc._parent;
var border:MovieClip = mc._parent.border;
if (loadedFirst != true) {
// center holder
holder._x = -holder._width/2;
holder._y = -holder._height/2;
// border
border.colorTo(largeImageBorderColor, 0);
border._width = border._height = 0;
border.tween(["_width", "_height"], [holder._width + largeImageBorder, holder._height + largeImageBorder], 1, 'easeInOutExpo');
// attach prev | next
if (!image.prev_mc) {
image.attachMovie("arrow.prev", "prev_mc", 51, {_x:0 - Math.round(holder._width/2) - 13, _y:0, _alpha:0});
image.attachMovie("arrow.next", "next_mc", 50, {_x:Math.round(holder._width/2) - 10, _y:0, _alpha:0});
image.prev_mc.alphaTo(100, 1, 'easeInOutSine', .75);
image.next_mc.alphaTo(100, 1, 'easeInOutSine', .75);
image.prev_mc.onRelease = function() {
switchImage("prev");
}
image.next_mc.onRelease = function() {
switchImage("next");
}
}
fadeDelay = 0.5;
image._visible = true;
loadedFirst = true;
} else {
// just resize things
image.prev_mc.slideTo(0 - Math.round(holder._width/2) - 13, null, 1, 'easeInOutExpo');
image.next_mc.slideTo(Math.round(holder._width/2) - 10, null, 1, 'easeInOutExpo');
holder.slideTo(-holder._width/2, -holder._height/2, 1, 'easeInOutExpo');
border.tween(["_width", "_height"], [holder._width + largeImageBorder, holder._height + largeImageBorder], 1, 'easeInOutExpo');
fadeDelay = 0;
}
// fade in
holder._alpha = 0;
holder.alphaTo(100, 1, 'easeInOutSine', fadeDelay);
// populate copy
populateCopy(image, holder, thumbSelected);
};
mcl_listener2.onLoadError = function(mc:MovieClip, errorCode:String):Void {
if (errorCode == "URLNotFound") {
throwError("The URL you requested could not be found.");
}
};
How To Resize Movie Depending On The Screen Resolution?
I am working in a flash site.
I want it to has "the same view size" in any screen.
How can i do that?? it is possible avoid the "pixelation" of jpg files (inside the swf) does it depend on the resolution (pixels/???) of the jpg file?
Thanks! Byebye
Flash Screen Resolution/resize Question.
I have a large (dimensions) swf that I am trying to adapt for various resolutions. Is there a way to scale this based on resolution, or is necessary to build multiple sizes of the swf?
A good example of what we are trying to achieve is www.tronicstudio.com. The way the site relaunches full screen no matter what screen resolution you view it at is exactly what we are hoping to do.
Any advice would be greatly appreciated!
How Can I Resize My Flash Site To Fit Any Screen Resolution?
I built a 100% flash site with tiled framing but I have a problem. My flash was built 766 x 750 pixiels. When viewed at resolutions greater than 1024x768 the webpage looks great but anything less than that it looks like @#$@. I know most people probably view at 1024 x 768. Is there anyway to auto resize based up on screen resolution or something to detect the screen size and adjust the webpage accordingly.
www.platlimosvc.com
Below is my html (index.html) for my flash movie:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
<table cellpadding="0" cellspacing="0" border="0" style="width:100%; height:100%">
<tr>
<td valign="top" style="width:100%" height="750">
<table cellpadding="0" cellspacing="0" border="0" width="766" style="height:100% " align="center">
<tr>
<td valign="top" width="234" style="height:750px ">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swfl ash.cab#version=6,0,29,0" width="766" height="750">
<param name="movie" value="flash/xxxx_main.swf">
<param name="quality" value="high">
<param name="menu" value="false">
<!--[if !IE]> <-->
<object data="flash/xxxx_main.swf"
width="766" height="750" type="application/x-shockwave-flash">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="pluginurl" value="
Screen Resolution Auto Resize Flash Files
how can i create an auto resized flash website in any screen resolution, i've seen other sites that can auto resize itself in any screen resolution and still have its perfect form.
Resize Resolution
Using Flash MX 2004,I've created a site using 1024 X768 resolution.. I need to change it to 800 X 600. Any way I can automatically do this so that the pictures, text etc. all get scaled along with the background. I dont want to use the automatic resize option under publish settings..I need it to stay at 800 X 600 on all monitors.
thanks
EMI
Resize Window Depending On Resolution
Can someone show me how to make my swf resize to a certain size if the user's monitor resolution is 1024x768 or less. If it's bigger than it can stay the same.
Detect Resolution - Auto Resize
Ok, I'm sure this has been discussed thousands of times but here goes...
Heres my site :
http://www.spiralecom.ca/CRLD/
It looks great at 1600*1200.
My stage size is 898*616
Now it is always dead center of the page. I figured that one out.
Problem is when I look at the site on a 17 inch CRT screen at 1024*768, it really looks awfull... its way too big
I have this code in my first frame :
Stage.scaleMode = "noScale";
Now I've noticed that if I use ' Stage.scaleMode = "showAll";
It resizes the hole flash file whenever the browser is resized... now this is sorta what I want but not really :P
My site should look exactly the same at 1600*1200 and 1024*768...
Like lets say flash detects that the user has 1024*768 then my hole flash.swf file is reduced by lets say 75% so that it still is centered and it is not blown up full screen... if the user has the 1600*1200 it stays at 100%...
if its a 800*600 its reduced and centered at 50 % ... etc etc
Is this possible? or did I loose all of you ? :P
Resolution Problems, Resize FullScreen?
Hey guys ....
I got some resolution problems .... my site is done at 1024 x 800
at my computer I can see my site just fine no problems at all ... but when someone tries to see my site at some other resolution below 1024 x 768 you cant not see my Cube anymore (the yellow and blue one)... my site is a FullScreen Site as you can see.
There's any way that you can make that fullScreen size, changeable so the user can see the site at whatever resolution they have ... what I mean is any kind of code that said ok this user has a resolution at 800x 600 and my fullScreen size will resize automatically ... Im sure I've seen something like that somewhere dont know where thought I just wonder if someone knows how to do this ? or any idea how to solve this problem ? hints whatever.
Thanks
well now that I think I dont know how many of your will have less than 1024 x 768 ..... but at least I will try .... hopefully you got my idea :lol:
by the way My site isnt finish yet as you can see
My Site
Resize Movie Based On Browser Resolution
Hey
I have a flash movie which is 800x800 in true size.
I am wanting to have a display in the main content area of a website I am creating, and to also resize automagically based on browser reoslution.
The code is :
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/..." width="100%" height="100%">
<param name="movie" value="Files/Images/flash2.swf">
<param name="quality" value="high">
<embed src="Files/Images/flash2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="800" height="800"></embed>
</object>
However the movie clip is displaying at about 25% of available space.
Any ideas please ?
Thanks
Nigel Wilson
"kiwi-kid"
www.potentialunlimited.co.nz
Screen Resolution
Is there a way of controling screen resolution through actionscript?
Thanks
Screen Resolution
Is there a way of controling screen resolution through actionscript?
Thanks
Screen Resolution
Is it possible to get a flash movie to fit the current screen resolution say 800x600 and 1024x768 without it being distorted in anyway.
Set The Screen Resolution
Hi,
I would like to know if there is any way to change the screen resolution of the user from a projector ?
Via FScommand perhaps ?
Thanks.
Screen Resolution
I created an entire website using flash at 800 x 600. But when someone when a different monitor resolution goes to it..it doesn't fit. Without creating two sets of files, can I write in something that will make the swf files fill the screen appropriately, no matter what size screen they are using?
thanksfor you help!
Screen Resolution
Here is a question for general discussion and a question if anyone has a good solution.
When developing web sites what screen resolution do you all develope in. The reason I ask is cause while having a couple of friend do a quick site check for me, I got various replies some saying that it was way too big(the were using 800 x 600) and some thought it was a perfect size. How do you get your movies to appear "good" no matter what resolution they are viewing it with.
I hope I am making sense here. Thanks in advance for all the replies
Craig
Screen Resolution
This is an unrelated to flash question, but hopefully someone can help me... I was in the process of checking a web site I am creating in different screen resolutions to to make sure everything was cool with it, and brought it up to 1280 res, and when I brought it back down, I now have this "flickering" on my screen,.... and if you look at it long enough, it could prob cause a seizure,... anyway, I tried re-starting my computer, and that did not work.. any suggestions? Hopefully I didn't toast the video card.
Mike
Screen Resolution
is there any way to detect the screen resolution of a viewer
from flash?
Screen Resolution
Hey everyone. Im pretty new with Flash MX, and I was curious with actionscript. Are you capable of changing the screen resolution of the user? What all are you capable of doing with Flash MX regarding messing with the user's preferences, or can you at all? Im NOT going to use this to mess with anyone innocent, nor anyone guilty. I am just curious to see how good and powerful Actionscript is. If there is a way and you dont feel like you should post it up on these forums, then Email me @ NeeBeR_FeeVeR@yahoo.com or AIM IM me at eenomojjahshik.
Also, i would like to talk to programmers on advice and tips. I am somewhat new to XP...well Windows for that matter. I quit for about 3 years and came back. I have been a Linux user for a while, and I have lost some skill with Windows.
Thanks to ALL!
Screen Resolution Help
I have my screen width set to 1024*768...
The page I've just finished looks great at that resolution, but at 800*600 it looks a bit distorted, rather terrible actually.
All I'm using is text basically, hardly any graphics. I exported it at 90 for quality. Any help as to why it doesn't look so clear at that resolution?
Thanks for any help
M
Screen Resolution
I am building a web page using dreamweaver mx, flash mx, and fireworks mx. I want the web page to be a exact fit to whatever
screen resolution the surfer is using. Can anyone help the newbie out?
Thanks
Screen Resolution MX
When i create sites in Flash, i put the swf in a cell in Dreamweaver MX. But as far as i can tell there is no way of making it resize to fit the screen when people use different screen resolutions, without using any Javascript or other code. When i try to put the swf as a page on it's own (so i can tell it to fit the screen 100x100 percent) the browser says 'downloading from site' before it loads up, which stops it being displayed until about 50% of the preloading is done.
Is there a way in Dreamweaver MX to make the layout cell containing the swf to resize to fit different screen sizes? Or is there another way?
What's the best way to have a swf on it's own as the main part of a website? (do you just point a link to the main swf?)
Screen Resolution
Hi, hope somebody can help me..is there in flash a possibility to get the screen resolution of an user? i want to use an automatic junction for the resolutions....
thnx
Screen Resolution
I've been asked to do a presentation in Flash which will be shown on a 42" plasma screen......can anyone tell me what would be the best size to make my movie?
Thanks
regards
phillip morrison
phillipm@eircom.net
Screen Resolution
Do anaywone know how to build a flash website for any screen resolution?
Thanks
CSS And Screen Resolution
I did the mistake of designing a site in 1024x768. The flash movie is 650px bt 400px. Its centered in the HTML page. Now I've been reading a lot about CSS and Im not sure, but I do believe it can sort out my problem. I would like to resize it for 800x600 so it looks the same size. Im certainly not going to redesign the site cause its just a propsal at this point. Anyways, can anyone tell me or direct me to a tutorial on what I should do if I want to do this. Been a while since I've designed so im a wee bit behind on things!
Thanks a bunch!
Screen Resolution
I am sure it's been asked a thousand time but how do I set my page to fit with the different screen resolutions?
Thanks
Set Screen Resolution
Hi i have a swf embedded in a html file. WHen it is loaded Is it possible for it to automatically se a specefic resolution of the screen (1024 x 976...etc)...so that it appears as the same size on everyone's monitors.
Thanks
[CS3] Screen Resolution
Step 1: In the first frame, flash checks for screen resolution. If it is not 1024x768, the flash will display a message saying "Please change your screen resolution to 1024x768 and then press OK".
I am using System.capabilities.screenResolutionX and System.capabilities.screenResolutionY to check for screen resolution.
Step 2: Now the user is supposed to change his screen resolution and then click on OK. Now it goes to next frame where again I use the same code to check for screen resolution.
The Problem is that: Even after the user has changed the screen resolution and pressed OK, flash again reads the same screen resolution that he had before. why does this happen????
Screen Resolution
hi,
I have a situation, I want to detect the screen resolution of system and wants to change it from my flash movie. is this possible?
Screen Resolution
Hi everyone,
I'm designing a website in Flash and i've encountered a problem with screen resolution that i know is familiar to people, but i can't seem to find a straight answer to.
I started designing the site with dimensions of 1024x768 (my screen resolution is 1152x864). all of the text (and graphics) are sized well and legible. Now when i change my screen res to 800x600 or 1024x768, the text becomes tiny and blurry! In the HTML script it have set to width and height at 100% so that the entire site will be visible regardless of screen size and res.
so what do i do to make the text readable regardless of screen res? i really would like to avoid creating two sites with different sizes and not using the 100% scaling option in the HTML.
any ideas or tips?
Thanks
Screen Resolution
i'm working on a website with a 1280x1024 screen res but would like the website to be viewed at 1024x768. i know i have to set the flash size to 1024x768 but when i publish and view at different screen resolutions, the image is distorted. i would like the launchpage to open a full windowed page. is the answer in the publish settings? thanx
Help With Screen Resolution?
hi guys just wondering, what's the standard size that I should be designing for 15" still with 800x600 resolution?
Or can you point me where I would find info on it?
Thanks in advance.
Screen Resolution
Hi all ,
I would like to add a button to my web site , which will automatically change the screen resolution of the PC on which the flash element is played , is this possible and if so does any one have a script for it.
Thanks in advance.
What Is The BEST Screen Resolution?
IN FLASH MX, I set my screen resolution to 760px (width) x 560px (height). My monitor screen resolution is 1152x864. It looks fine at that monitor screen resolution. HOWEVER, the website looks h-u-g-e on monitor screen resolution 1024x768. It looks elongated on monitor screen resolution 1280x768.
So I am wondering what is the best screen resolution to set when in Flash? that will look good on all monitor screen resolutions?
art.design@adelphia.net
About Screen Resolution
Hello there,
I would like to know the opinion of another flash designers about the next issue.
I work with a 800 x 600 resolution, so my flash work will on a size based on that. So, this means if someones uses 1024 x 768 or larger, they will have a lot of black screen on their browser!
How can you solve this? Does we make the SWF to open in his own size , besides the screen resolution of the user, or do you have to design based on
each screen resolution?
Any help about this issue, will be great.
thanks,
www.filete.net
Screen Resolution
Hi
I've built a flash presentation at 1024x768. When i view it on my monitor at any other resolution than that, it pixelates :-( I thought vector graphics didn't do that?
Is there a command i can use to change the screen resolution automaticly when a user opens the presentation?
Otherwise, how do i stop it getting distorted
These are the commands i start the show with
fscommand("fullscreen", "true");
fscommand("allowscale", "true");
fscommand("showmenu", "false");
Screen Resolution
Hi everyone,
I'm designing a website in Flash and i've encountered a problem with screen resolution that i know is familiar to people, but i can't seem to find a straight answer to.
I started designing the site with dimensions of 1024x768 (my screen resolution is 1152x864). all of the text (and graphics) are sized well and legible. Now when i change my screen res to 800x600 or 1024x768, the text becomes tiny and blurry! In the HTML script it have set to width and height at 100% so that the entire site will be visible regardless of screen size and res.
so what do i do to make the text readable regardless of screen res? i really would like to avoid creating two sites with different sizes and not using the 100% scaling option in the HTML.
any ideas or tips?
Thanks
Screen Resolution
Hey guys,
I got a very basic question. I often see full screen flash websites covering whole screen. The script they use adjust acording to the client's screen. I tried same webpage on my widescreen 15" and normal 19" screen and they still covers full screen..
I am sure you know what i'm on about (Zzzzz)
How to do this? if you can pass me any tutorial link, it will be wikid.
Cheers pips.
(Sorry if this topic is posted before)
Screen Resolution
Hi,
It is me again. I am currently developing a Flash software application. I have the size of the movie set at 1024 X 768. However, I would like the movie to determine the size of the users resolution and resize to fit the screen. Will Flash automatically do this for my projector file? Or do I need to script it in the .swf file? If so how would I go about this?
Thanks,
Sam
Screen Resolution
Hollar
So I am starting a new project and I have not decided what size I want to make it.
I know that a rule of thumb that a lot of people use is to make the project 640 by 480, however this can get boring.
What other sizes does everyone use... I would like to have a little fun, but keep functionality and view ability (for those with smaller screen resolutions/ older computers).
PS... This forum is the tits, everyone has been a big help.... cheers!!
Detecting Screen Resolution (Win 2K)
How do I detect the user's screen resolution (Win 2K)--I will be using a standalone player and want to make one version for 800x600 and another for 1024x768 (not everything to scale up).
Does anyone know how to detect screen size?
And I have to do it all from one .exe (can't load outside URLs, though I could write a file to disk then read it.)
Thanks!
Bob
Screen Resolution Blues
I Created a projector file that I designed at 1024x768. I published it at percent (100%). However when I view it at a lower resolution (600x800 )it looks like crap. Any suggestions?
Is there a way that I can sniff out what resolution the user has set and instruct them to set their monitor to the 1024x768?
Any help would be greatly appreciated. Thank you!
|