| Author |
MAKE FLASH FIT THE SCREEN
|
|
| witeboy88 2004-06-21, 4:38 am |
| we r completly making over r website using flash. We need to know how to make flash resize to fit any monitor so some people dont see everything in dif sizes
| |
| Sly1211 2004-06-21, 4:38 am |
| Do you mean that, when you change the size of the browser window, all the graphics on the site change size?
| |
| witeboy88 2004-06-21, 12:14 pm |
| no. some people have monitors that have more pixels than other peoples monitors is there anyway we can make it appear the same size on all monitors
| |
| Sly1211 2004-06-21, 7:15 pm |
| I don't know if you can do that. Maybe some of the more advanced members can help you out with this one.
| |
| posted.by\(Vern\); 2004-06-21, 7:15 pm |
| 800 pixesl across is 800 pixels across, regardless of my settings. Are
talking about attempting to reset the users monitor settings?
--
Regards,
--Vern
===========================
onClipEvent(doSomethingStupid){
setProperty("Face", color, #FF0000);
_root.audio = "uh oh!";
}
| |
| witeboy88 2004-06-21, 7:15 pm |
| no idont want to change there settings. what i want to do for example say my
friends monitor is 500 x 500 pixels and mine is 700 x 700 pixels and we set
flash for 500 x 500 pixels then it will fit my friends screen perfectly but it
will be smaller on mine. I want to make it fit the screen perfectly on both of
our monitors. like in html (hyper text markup language) you can ither set the
site to be so many pixels big or you can set it to fit 60% of the screen or
100% of the screen. I want to know how to make my flash fit to the screen 100%.
sorry i have a hard time explaining myself
| |
| oysteinwika 2004-06-21, 11:14 pm |
| Publish your movie, setting the HTML dimensions to 'percent', and then set it
to 100%x100%. Then use a CSS with: body {margin:0;} . Now you'll have a perfect
fit. Problem with this method is that bitmaps will be more or less distorted on
different resolutions, and designs tend to look too magnified on larger screens.
When working on 100% flashsites, I always set the following in flash - in
addition to the above:
Stage.scaleMode = "noScale";
Stage.align = "LT"; // if I want LeftTop alignment
This ensures you have a 100% page-fit, but without distorting the
flash-graphics, bitmaps and so on...
Beauty of this is that now you can control all the flash-re-sizing using the
read-only variables 'Stage.width' and 'Stage.height', like:
_root.imageMC._width = Stage.width/2; // sets the width of imageMC 50% of the
current screenresolution
Elements that needs to retain their original pixel-dimentions can then be
positioned using _x and _y.
Hope this helps!
Best,
?ystein
| |
| witeboy88 2004-06-22, 4:14 am |
| Thank you been posting on sites for a couple days and now finaly a responce. Only prob is i have to figure out what exactly you just said but im sure its not hard
| |
| posted.by\(Vern\); 2004-06-22, 12:15 pm |
| Well, that is what Sky1211 asked and you said no. But it was worded funny.
You should know - doing this will drive SOME people away from your site. I
never stay long at sites like this. It says a couple of things about the
designer -> Not a professional, Can you give a single example of a
professional done site that uses this technique? Also, this technique can
make your movies run slow and sluggish on some machines. I have a pretty
good machine, but if the designer uses too many alphas, to many things
moving at the same time, it can slow down even the faster machines. I run
1200x1600 and duel 19"ers.. Lots of people do nowdays. And sites like that
tend to run slow and drag. And the problem with raster images was already
addressed.
I wouldn't hang around a site like this for more than a few seconds,
experience has taught me that a site like that is never well done. BUT ...
I am open minded! If you know of a site or some site that go 100% monitor
res and are well done, by all means, post a link, I would like to see them!
:)
Most of all, have some fun and do it how you want. I wasn't trying to be a
wet blanket, just offer a broader view of this subject! Hope that is OK.
--
Regards,
--Vern
===========================
onClipEvent(doSomethingStupid){
setProperty("Face", color, #FF0000);
_root.audio = "uh oh!";
}
| |
| Sly1211 2004-06-22, 7:21 pm |
| Hey Vern.........it's "SLY"..........not SKY...........lol, juts giving you a hard time. Nice responses to this thread. I've seen some of your work & I like it =:o)
| |
| posted.by\(Vern\); 2004-06-22, 11:14 pm |
| sLy,
Oh man, sorry for that. That is what I get for running 1200x1600!!! The
text is sometimes so small it is hard to read! :) And thanks for the kind
comments too! Always nice to hear!
--
Regards,
--Vern
===========================
onClipEvent(doSomethingStupid){
setProperty("Face", color, #FF0000);
_root.audio = "uh oh!";
}
| |
| Billy 2004-06-22, 11:14 pm |
| Try this
File > Publish Settings > Click on the HTML tab > Set the Dimensions Option
to "Percent" and the Scale option to "Exact fit"
I think this is what you are trying to achieve?
Billy
| |
| witeboy88 2004-06-22, 11:14 pm |
| yeah i think we r just going to make it a cetain pixel size what size is good? how cant i center it in the middle of the screen when i embed it using html
| |
| witeboy88 2004-06-22, 11:14 pm |
| yeah i think we r just going to make it a cetain pixel size what size is good? how cant i center it in the middle of the screen when i embed it using html
| |
| witeboy88 2004-06-22, 11:14 pm |
| yeah i think we r just going to make it a cetain pixel size what size is good? how cant i center it in the middle of the screen when i embed it using html
| |
| Sly1211 2004-06-22, 11:14 pm |
| Yeah, prolly a good idea. I'd make it nicely viewable for at least a 800x600
reso. Make your Flash stage 780x438. Put the swf in a table, make the table
100% for both height & width. Make sure the swf is centered in the table &
that the table is centered on the page (properties inspector). That should do
it. Most peeps use 800x600 or 1024x768. That should make it nice for both
reso. Might be leaving something out. Vern will correct me if I did or if he
has any better suggestions ("Sly.......Vern......Sly, lol). Hope that helps
=:o)
| |
| posted.by\(Vern\); 2004-06-23, 4:15 am |
| I think SLY nailed it. Just keep in mind who your target audience is. I
have made a few sites with using a 900x400 stage and centering it. Works
well for the targeted audience.
--
Regards,
--Vern
===========================
onClipEvent(doSomethingStupid){
setProperty("Face", color, #FF0000);
_root.audio = "uh oh!";
}
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |