This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > August 2006 > flash site does not fit on screen on PC





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author flash site does not fit on screen on PC
lawrenceging

2006-08-09, 6:33 pm

I have a flash site that measures 700 (Width) x 770 (Height).

I have published this and uploaded it within a HTML Doc. When I view the site
on a Mac, the site fit on screen lovely. When I check the same site on a PC, I
need to scroll down to see the rest of the site.

How can I ensure that when viewed on a PC that the entire swf will be resized
to fit? Its giving me a serious headache as I spent ages designing it!!

Thanks

lawrenceging

davidnob

2006-08-09, 6:33 pm

Maybe this help. Write at the first frame of your job:

fscommand ("allowscale", "true");// to autoresize
fscommand ("fullscreen", "true");// to full screen allowed
lawrenceging

2006-08-09, 6:33 pm

Thanks for replying David,

Sadly still no joy, my site just seems too long for a PC screen!

Also, when I publish it, all the contents I have located off of the main
stage, waiting to be called upon are all visible.

Whats the point in spending so much time making this stuff if it fails at the
last damn hurdle!! ha ha

Any other ideas? I have tried publishing at 100%, at the movie size and still
no joy. I have read off the web about something using Java script to resize the
swf file but its not very clear!

tralfaz

2006-08-09, 6:33 pm

> Sadly still no joy, my site just seems too long for a PC screen!
>
> Also, when I publish it, all the contents I have located off of the main
> stage, waiting to be called upon are all visible.



That's cause by using the html setting "Show All" in your publish settings. Use "Exact fit" or 'no Scale' instead.

If your page contains bitmaps you have to do some selective resizing to avoid distorting them. If everything is vector graphics
then just set the scaleMode in your publish settings to 100% wide by 100% high. If you have a docType line at the top of your html
page, delete that line or you will get 100 pixel by 100 pixel in FireFox instead of 100%

Selective page resizing can be done with a re-size listener. Some examples..
http://members.cox.net/4my5cats/noS...ageResize2.html
http://www.kompanionkare.net/flash/...ageResize3.html

Look at the html too, not just the Flash sourcecode.
The examples are in AS1, so make the needed changes if you use a newer version.
tralfaz


Chris Georgenes

2006-08-09, 6:33 pm

those fsCommands are for offline use only - they do not work online.

******************************************
--> **Adobe Certified Expert**
--> www.mudbubble.com
--> www.keyframer.com




davidnob wrote:
> Maybe this help. Write at the first frame of your job:
>
> fscommand ("allowscale", "true");// to autoresize
> fscommand ("fullscreen", "true");// to full screen allowed

Chris Georgenes

2006-08-09, 6:33 pm

Welcome to the world of designing for the web cross-platform/browser.
Every setup is different - from display resolutions to browser to installed browser add-ons and
plugins. You really have to decide who your target audience is and develop your site for that
audience. There will always be somebody who has to scroll unless you develop for the lowest display
res possible and consider a browser with as many toolbars installed and open as possible.

go here:
http://www.webmonkey.com/webmonkey/....html?tw=design

******************************************
--> **Adobe Certified Expert**
--> www.mudbubble.com
--> www.keyframer.com




lawrenceging wrote:
> I have a flash site that measures 700 (Width) x 770 (Height).
>
> I have published this and uploaded it within a HTML Doc. When I view the site
> on a Mac, the site fit on screen lovely. When I check the same site on a PC, I
> need to scroll down to see the rest of the site.
>
> How can I ensure that when viewed on a PC that the entire swf will be resized
> to fit? Its giving me a serious headache as I spent ages designing it!!
>
> Thanks
>
> lawrenceging
>

bB_

2006-08-10, 6:24 pm

how about u just set the dimensions of the .swf files (publish settings) to
100%? would this not resize it to fit the whole browser window on any browser??
(you'd have to embed the swf in to html with no margins tho)

Chris Georgenes

2006-08-10, 6:24 pm

yes - that is a solution but sometimes flash movies contain bitmaps and scaling would destroy their
quality.

******************************************
--> **Adobe Certified Expert**
--> www.mudbubble.com
--> www.keyframer.com




bB_ wrote:
> how about u just set the dimensions of the .swf files (publish settings) to
> 100%? would this not resize it to fit the whole browser window on any browser??
> (you'd have to embed the swf in to html with no margins tho)
>

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews