I made my first flash-site, it's based on a top frame that loads the pages and a small bottom frame that doesnt change content. The problem is that the dimensions are fine for my screen (1280X1024), but too big for many other screens, laptops etc. Is there a way to maybe add a line to the index.html that will automatically adapt the dimensions of the flash content in the top frame to make sure that users dont have to scroll to see the whole page? To make it fit into any screen, no matter what the resolutions are, without any changes to the proportions of the individual components.
Help would be much appreciated, thanks!
Roderick.
3 9491
Yeah, I checked that one already :)
That's how I ended up on this site...
The things is though, if I change the dimensions (proportionate) , the quality goes
down and some things smooth first start to look less good and kinda rough...
So I am wondering if there isnt a way to size it down AND keep the smoothness,
you would think it's possible since you are taking something of a high resolution and downscale it, not the other way around (low res-upscaling).
So... I still keep my hopes up, thanks though!
Motoma 3,237
Recognized Expert Specialist
I made my first flash-site, it's based on a top frame that loads the pages and a small bottom frame that doesnt change content. The problem is that the dimensions are fine for my screen (1280X1024), but too big for many other screens, laptops etc. Is there a way to maybe add a line to the index.html that will automatically adapt the dimensions of the flash content in the top frame to make sure that users dont have to scroll to see the whole page? To make it fit into any screen, no matter what the resolutions are, without any changes to the proportions of the individual components.
Help would be much appreciated, thanks!
Roderick.
You can set the embed width to a percentage, or change the width dynamically with javascript.
To prevent scaling, you need to set the Stage's parameters correctly: -
Stage.scaleMode = "noScale";
-
You can optionally add a listener for resize events: -
sizeListener = new Object();
-
sizeListener.onResize = function() {
-
trace (Stage.width)
-
trace (Stage.height)
-
};
-
Stage.addListener(sizeListener);
-
Hope this helps.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Juggernath |
last post by:
I have upload form for uploading swf file and then I should get true
dimensions of that flash. Any ideas how to do it?
|
by: Laphan |
last post by:
Hi All
This sounds such a simple request, but doesn't seem to work.
Basically I'm allowing the user to upload their own SWF files to their web
site via a web browser (ASPupload).
I don't want to limit the dimensions that they have to use in their SWF
files so I want to simply extract and display their chosen SWF file without
specifying...
|
by: Mark |
last post by:
Hi all,
This is what I'm trying to do. I'm trying to load a flash movie
transparently over my existing html page (not covering the full
screen, but 75% of it), so it is kind of similar to a "splash screen"
in the respect it is to be an introductory screen.
I already have a flash movie made (although for some reason
WMODE=TRANSPARENT...
|
by: post2google |
last post by:
I was thinking about where to go for lunch the other day, so I went to
hardees.com to see what the menu looked like these days. What
comes up is a big note that my flash version is not new enough so I
can't use the site. What complete losers!
When are businesses going to understand that the purpose of a web
site is to communicate with...
|
by: eddiewireless |
last post by:
I need help figuring out what dimensions to use for a flash site, I have a site that I finished not long ago; I set the dimensions to 1028*960. Now when I view it on my pc at home it looks great, but when I view it on computers elsewhere the dimensions are all messed up and text is barely readable.
Any help would be appreciated.
| |
by: rhansen22365 |
last post by:
Hi Everyone,
I've developed a site in Flash MX which is 720x560 pixels in size. I was wondering if anyone knew of a way to save the file so that it would't adjust to the size of the screen of any computer. Basically, I'm hoping to keep it the same size no matter who views it and no matter what computer it is seen on so that it doesn't...
|
by: akir |
last post by:
Before I begin, I would like to highlight that I'm a fairly novice Flash User. I've recently used the website building tool many of you may of heard of called Cabanova. I decided that I wanted to move the entire Flash Workings from this site into another webpage, where it would act as a simple Flash Movie. To achieve this, I :
used Flash...
|
by: nathj |
last post by:
Hi,
I'm stuck. Obviously I'm stuck or I wouldn't be posting a new question.
I have a php script that takes information from a database and outputs it to the screen. The information in questions relates to a SWF file that I wish to use to display the members of the network team in our organisation.
$lcDisplay .= '<div...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |