Detecting Screen Resolution In Flash
resolved
FlashKit > Flash Help > Flash ActionScript
Posted on: 08-02-2006, 03:32 PM
View Complete Forum Thread with Replies
Sponsored Links:
--> Detecting Screen Resolution WITHIN Flash? <--
hello,
I'm trying to detect the screen resolution so I can determine weather to open the site in a fixed window (popup like), or a standard scrollable one. For some reason though it doesn't seem to know what screen.width / height is, or javascript:screen.width / height.
Here's the code so far:
on (release) {
if ((screen.width>=1024) && (screen.height>=768))
{
getURL("javascript:window.open('Cebula.htm','thewi n','width=720,height=674,toolbar=no,scrollbars=no, top=0,left=50'); void(0);");
}
else
{
getURL("Cebula.htm", "_blank");
}
}
The result is always the execution of the else case (my res is 1600x1200). I'm out of ideas, so please please please let me know if you have any idea where I'm going wrong.
thanks a ton,
Adam
View Replies !
View Related
Detecting Screen Resolution And Scale The Movie In Flash. Possible?
Hi,
There is a
ActionScript Code:
System.capabilities.screenResolutionX;
and a
System.capabilities.screenResolutionY;
When the screen resolution is detected, is that possible to scale up/down
the movie from flash itself (no java) according to the user screen resolution? Could you please tell me how?
Is that a standard ratio for different resolutions?
And the last question:
If there are external swf movies which are loaded into the main movie, is that enough to give the scaling up/down in the main movie once?
thanks
View Replies !
View Related
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
View Replies !
View Related
Detecting Screen Resolution
Please help, I need to get a screen res. detector which will then send the user to the specified page for their resolution.
Ie
if (System.capabilities.screenResolutionY<=480) {
getURL("page_1.htm", "_self");
} else if (System.capabilities.screenResolutionY<=600) {
getURL("page_2.htm", "_self");
} else if (System.capabilities.screenResolutionY<=624) {
getURL("page_3.htm", "_self");
} else {
getURL("page_4.htm", "_self");
;
}
is this coding anywhere near correct ?
View Replies !
View Related
Detecting Screen Resolution
Hi, I was wondering if it is possible to detect the user's resolution and play a different flash file for each one. I want to make a site with images tiling from corner to corner but I want the same effect regardless of the resolution. Any ideas? Thanks!!
View Replies !
View Related
Detecting Screen Resolution
i want to load my presentation cd in full screen mode.
and i want that my application detect the screen resolution and adjust according to that resolution.
For example, i have a main movie which detect the screen resolution and adjust according to that resolution then play a command "loadmovie"..... like
if resolution is 800 x 600
then loadmovie
HELP NEEDED
thanx in advance
View Replies !
View Related
Detecting User's Screen Resolution
On the entry page i want to give the user 2 options for opening the site: 1000x500 or 800x400. How can I have a line of text telling the user his present screen resolution so they know which best option to click on? (as in Ultrashock's website)
Thanks very much in advance!
View Replies !
View Related
Detecting Change In Screen Resolution
Let me tell you clear scenario:
Suppose,user has resolution = 800x600 and is using my flash application, this is a simple case. Now, if He/She change his/her system's resolution from 800x600 to something else, while Flash application is running then how my Flash application can detect this change in resolution?
Best Regards,
Waqas Dar
View Replies !
View Related
Another Question: Detecting Screen Resolution
Is there a way to dettect the current screen resolution? I was hoping there was a way to detect it so the swf could scale appropriately. For example if the current resolution is 1024 x 768 but if it is anything more it only maxamizes rather than fullscreen. Anyone with any ideas would be very helpful. Thanx.
View Replies !
View Related
Detecting Change In Screen Resolution
Let me tell you clear scenario:
Suppose,user has resolution = 800x600 and is using my flash application, this is a simple case. Now, if He/She change his/her system's resolution from 800x600 to something else, while Flash application is running then how my Flash application can detect this change in resolution?
Best Regards,
Waqas Dar
View Replies !
View Related
Detecting The Screen Resolution: Some Questions.
Hi everyone,
Building a Flash Web site. What a nice challenge. Now, I was wondering.
When you visit www.b7ven.com, the pseudo preloader on the first page displays your screen resolution. How do you do that? This must be some dynamic text, but what is the code behind this?
I have found a jack of all trade code here: http://moock.org/asdg/technotes/echoVersion/
But not only that. You will notice that, if you have a low resolution, you will see the word "fail" instead of "ok". But that does not change anything cause the "enter" button still works and load the main Flash site.
A good practice would have brought you to another site, html perhaps where we can see the content. No? What is your opinion on this subject?
Thanks for your feedback.
View Replies !
View Related
Detecting Screen Resolution + Setting An If / Else Statement For An Fscommand...
Hi there, I'm not sure if this is possible but what I'm hoping to do is detect if a user's display resolution is less than 1024 x 768 as a flash projector file is launched - then depending on the result I want to select one of the following commands to ensure that no cropping occurs of my final file:
fscommand("allowscale", "false");
fscommand("allowscale", "true");
Hope that makes sense, any help would be much appreciated, thanks!
View Replies !
View Related
How Do I Get The Screen Resolution With Flash?
I have made 2 versions of my website, 1 for 800x600 and the other for 1024x768.
So, I have an intro page where there will be a link in the SWF saying "Enter site" (obviously).
So,
1. How do I make a link in an SWF?
2. I want the link to open main1.htm in the existing whole window if the resolution is 800x600 (or basically just not 1024x768)
and, the link should open main2.htm in the exsting whole window if the screen resolution is 1024x768.
Could anyone post a step by step way to do the same??
View Replies !
View Related
Can Flash Player Set Screen Resolution?
Is there a way to have the flash player temprarily change the screen resolution?
I have a .exe presentation burned to disc that autoruns at fullscreen and i set the fscommand "scale" to false, b/c if it scales to fullscreen, it will run VERY slow. BUT, if the screen resolution can be changed to something like 800x600 for the length of the movie, the presentation will appear bigger without slowing anyones' system.
Can it be done?
Thanks.
View Replies !
View Related
Flash Resizing To Fit Screen Resolution?
I made this site to fit the average screen (1024 x 768), but people with higher resolutions (1280x1024) are complaing it's tiny on their screens.
http://www.sunsetclubcharlotte.com/
Is there anything that can be done to make Flash automatically resize for higher resolution monitors?
Thanks.
View Replies !
View Related
Setting The Screen Resolution In Flash
Hi All,
Can anyone help me to set the screen size to 800 by 600 after i publish swf.
I have stage set as 800x600... but some animations come to stage from outside the stage which i dont want the users to see. thus i want to set it so that the users do not have control on it. I mean the user should not be able to maximize or minimize the screen size.
thank you...
View Replies !
View Related
Full Screen In An Resolution From Flash
I have done a web site which open in fullscreen in a popwindow...in 1024x768 resolution it open in middle of screen but if i open it in more than 1024x768 resolution it does not open in middle of the screen......
Can anyone help me....plz...
Cheeers!
Viren
www.7star.co.in
View Replies !
View Related
Full Screen In Any Resolution From Flash
I have done a web site which open in fullscreen in a popwindow...in 1024x768 resolution it open in middle of screen but if i open it in more than 1024x768 resolution it does not open in middle of the screen......
Can anyone help me....plz...
Cheeers!
Viren
www.7star.co.in
View Replies !
View Related
Please Help Screen Capture Resolution For Flash
Hi,
When I screen capture [using RoBo ScreenCapture] either web pages off the Net, or dialog boxes of programs [I'm using Flash for a presentation instead of PP] the images are pixelated or fuzzy or well, not good enough.
Let me explain In using RoBo, I make the capture at the highest Jpeg resolution possible. When I bring the jpeg into Flash [import directly into Library] and bring on the stage, I have to resize the image because it is too big for the stage [being 800X600]. The projector I will be using for the presentation is 800X600.so I set the stage for that.
When I publish the file and review it [setting my monitor to 800X600] the images look terrible.
Maybe I should explain that when I do the screen captures at first, my monitor is set at 1600X1200.
Should I set it at 800X600 when doing the captures first? I mean, does this affect the final output of the resolution of the jpg's when they are placed in Flash after the capture and import into the Library?
I have had to make captures of web pages, so I have my monitor set at 1600X1200 normally so I can get the most real estate on the screen as possible. I make the screen captures using that monitor setting. But I have my Flash movie stage set at 800X600.
My questions are:
1. Should I do the captures with the monitor set at 800X600 if the Flash stage is 800X600? If so, why?
2. If the projector resolution is 800X600, can I set my Flash stage at a higher size [resolution], say 1024X768? Will that actually affect the resolution when the Flash movie is projected on a projector with an 800X600 resolution if the Flash movie stage is larger?
3. What affects the final resolution output of the BMP images [jpeg's] in Flash for a presentation like I am doing?
4. What size should I capture the images at so I don't have to resize them in Flash?
WHAH! I just want this presentation to be successful. It's a training session on educating folks on computer virus prevention/protection from and ID theft, something this world is in dire need of!
Thanks in advance form anyone who can help me,
Ellen
View Replies !
View Related
Does Flash Recognize The Screen Resolution
Hello,
I'm creating an animation to be embedded into a HTML page.
I have html text somewhere in the background of the animation so I need to make the animation's bg transparent. What I am confused now is that what size I need to consider for my Flash animation's width since the screen resolution will be different in different users' monitors!? Is Flash able to recognize the screen dpi somehow so to be able to decrease or increase the width accordingly by itself, and in order not to overlap the html text? I truly appreciate your response.
Thanks so much for your help.
Mojan
View Replies !
View Related
2-Does Flash Recognize The Screen Resolution
Hello,
I got some responses through this title which were very helpful, however for embedding my animation I still have problems. The thing is that I need to place my animation, with a transparent background, over a layout in an html page! There are lots of div tags which confuse me. Everywhere I embed my animation goes before or after the layout and doesn't sit over the whole layout... I am not a technical person and thought I can place it into a table and done but it wasn't that easy....Does anybody can help me, please? I truly appreciate it. If you need the pages and sources I can send them too. Here is my email address: Mojan. Please let me know if anybody needed the source code in order to help me out.
Thanks a lot.
Mojan
View Replies !
View Related
Screen Resolution Viewing Flash
Ok. I have done a site in Flash and it looks pretty good in all Screen resolutions except 600 x 800. is there a way I can make it look the same in all screen resolutions? If I make it look good in 600 x 800 it looks horrible in all other resolutions. What should I do? any suggestions? It looks best at
1024 x 768
Thanks. You guys are great!
View Replies !
View Related
Flash And Coldfusion+Screen Resolution
Can anyone help me? I'm trying to store a visitors resolution to my database using Flash and Coldfusion
This is what I have - my flash file with this code...
onClipEvent (Load) {
Resolution = "System.capabilities.screenResolutionY:960";
"System.capabilities.screenResolutionx:1280";
mysend=new LoadVars();
whereto="add-info.cfm?myname="+Resolution;
mysend.load(whereto);
}
And I have a coldfusion page (add-info) with this -
<cfquery name="insertrecord" datasource="030201ics3m2b">
INSERT into Webstats (Resolution)
VALUES('#resolution#')
</cfquery>
I published the Flash File and tested it. The resolution isnt stored in the database. where have I gone wrong?
View Replies !
View Related
Screen Resolution Viewing Flash
Ok. I have done a site in Flash and it looks pretty good in all Screen resolutions except 600 x 800. is there a way I can make it look the same in all screen resolutions? If I make it look good in 600 x 800 it looks horrible in all other resolutions. What should I do? any suggestions? It looks best at
1024 x 768
Thanks. You guys are great!
View Replies !
View Related
Resizing A Flash Movie To Fit Screen Resolution
Ok...I know that I can use fscommand to get a movie to fullscreen in the flash player...but how can i do it in a browser window? From the splash page, the main page opens full screen using javascript, but the flash movie stays at it's set dimensions, even when i change the width and height parameters (to a percentage...can this be done?) in the HTML.
Is there a way to get the movie to resize to always fit the window that is opened, and hence each individual users resolution?
thanks....
friz b
View Replies !
View Related
Can Flash Auto-detect Screen Resolution?
Can anyone tell me if Flash is able to auto detect screen resolution from a .EXE file?
I'm creating a stand-alone movie that will launch when a CD is inserted (autorun.ini) and would like Flash (or another script) to automatically detect the screen resolution.
Can anyone help me?
Thank you
View Replies !
View Related
Flash On Lg Plasma Screen -- Resolution Concerns?
hi all,
just a quick question to see if anyone has any input, i did some searching on google and came up with nil.
does anyone know if there are any issuess that need to be taken into consideration when playing a flash movie on a large plasma screen monitor? my concern, primarily, is resolution.
if i design in flash a presentation that plays on a regular 17" computer monitor at 1024x768, when blown up to a large 72" plasma screen will it retain the same degree of crispness and clarity as the original? what about bitmap images? if the images used in the project are at 72dpi when they are imported into flash, will their quality not be affected when played on a large plasma screen?
anyone has any knowledge or advice or knows where i can read up on this online, drop me a reply.
thanks in advance,
viggaz
View Replies !
View Related
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!
View Replies !
View Related
Detect User's Screen Resolution For FLASH 5
I would like to know if there is any actionscript or javascript to detect the end user's screen resolution for FLASH 5. I am putting wallpapers for my vistors to download. After clicking the download button, they should receive the wallpapers with their screen's resolutions.
The version I am using is FLASH 5.
Thx!
View Replies !
View Related
Getting Flash To Accept Users Screen Resolution...
hello. i am building a website and i would like to make it completley flash. what i mean is that the flash movie takes up the whole of the users screen. for example when the user right-clicks the menu it is the flash menu for the whole of the white part of the page. i would like flash to be able to size the movie on however large the screen is of that user. PLEASE HELP!
here is an example of a website with what i am talking about: http://www.matthewlloyd.co.uk
that website fits on any screen size resolution. and that is what i want mine to do. please tell me how to do this
thank you, tristan
View Replies !
View Related
Containing A Flash Movie Relative To A Screen Resolution
How do i contain a web page to fit a certain percentage of a screen? So when viewed by different resolution screens, the page will appear the same size, relative to screen. if that makes any sense what’s so ever
i'm currently designing a site which looks smart when its small on screen, but looks quite standard when viewed from a lower resolution screen.
hope some1 can help.
jat
View Replies !
View Related
Flash Business Presentation- Screen Resolution Help.....
Here's the deal. I'm creating a presentation on my laptop which has a 1440x900 resolution. Now, once it's hooked up to the projector, the projector automatically changes my screen res to 1024x768, which completely distorts everything and it gets blurry and not visually appealing.
What I'd like to do is to figure out a way around this. Like maybe some way to reduce my screen res to 1024x768, but maintain proportions with black borders like on a DVD that's been formatted to fit your screen. Something like that. Can anybody think of anything?
Thanks in advance.
View Replies !
View Related
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="
View Replies !
View Related
Help With Publishing Flash Site _ Screen Resolution
HI guys,
I made a site to be seen in a 1024x768 resolution http://www.tupinikin.es/
(as of now it only works in IE)
as the cliente asked, now he changed his mind and wants it to fit in a 800X600 res.
I changed the size of the movie from pixels to percentagen, and if you resize the browser the site does change scale, but the letters and the images get messed up.
Anyone knows a work around this problem??
Thanks
View Replies !
View Related
Getting Flash To Accept Users Screen Resolution...
Hello, i am puzzled over this. I would to make a site which is just flash. so the whole page would be flash, but if i was to size it on my own screen, it would only be the size that i set it because it fits on my screen, but someone else might have a bigger or smaller screen so it would look silly on theirs. i have looked at a tutorial on this about setting publish settings to no scale and percentage=100% but it didnt work on the whole screen becaus when i right click and the flash menu came up (once i had put it on the web) it only went to some of the page and didnt cover the rest. i would like the right click menu to be all over the page i have seen websites which have this. please help.
Thanks alot
Tristan
P.S. I hope i explained it well enough
View Replies !
View Related
Finding User's Screen Resolution From Inside Flash
I seem to remember a guy named Subway on the Flashkit forums that had some script in his footer that could tell you what your screen resolution is at.
I was trying to findout how he did this because I need to use it for something.
I have a flash file I made that inside the flash movie I set the stage to noScale.. but apparently it is just barely too big for someone using 800x600 resolution. So I wanted to do a quick check in Flash that would not set the stage to noScale if the users resolution was 800x600 or below.
Does anyone know how to use this code.
I think it has something to do with the System object.
thanks
.fe.
View Replies !
View Related
Maintaining Flash Movie Screen Resolution Size
Hello, I wonder if there is anyway that one can design a site in flash that will display at the same same, regardless of what the viewer's screen resolution is?
My resolution is 1280x768 but when others view my site with a lower resolution (ie 800x600) then my site is too large. It is really frustrating as if I design my site at a higher resolution, the text is too small for a high resolution screen....UGH !!!
Please give any advice possible...thanks so much
View Replies !
View Related
|