This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > March 2006 > Stretchable flash page





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 Stretchable flash page
jhatley

2006-03-15, 6:18 pm

How do you setup a flash page to fit in any browser window weather it be
800x600 or 1024x768 or what ever, what I mean is how can I make it stretch to
fit like you do when you use a 100% table for "html" . I'm using Flasg MX

Thanks,
JHatley

Chris (mudbubble)

2006-03-15, 6:18 pm

set the width and height to 100% (publish settings)

******************************************
--> Adobe Certified Expert (ACE)
--> www.mudbubble.com :: www.keyframer.com
--> http://flashmx2004.com/forums/index.php?
--> http://www.macromedia.com/devnet/fl...tion_guide.html
--> http://groups.google.com/advanced_g...=UTF-8&oe=UTF-8




jhatley wrote:
> How do you setup a flash page to fit in any browser window weather it be
> 800x600 or 1024x768 or what ever, what I mean is how can I make it stretch to
> fit like you do when you use a 100% table for "html" . I'm using Flasg MX
>
> Thanks,
> JHatley
>

alanwallace4

2006-03-15, 6:18 pm

Hi,
I know there's a good video tute on Lee Brimelows site http://www.gotoAndLearn.com
Hope this helps
Cheers
Alan
swalsh1986

2006-03-16, 6:18 pm

Hi, I'm having the same problem, except I thinks mine is a little different. I
wanted a flash page to grow so I have the dimesions set to relative, 100%. But
It scales everything, and what I wanted was for everything in my flash page to
stay the same size but have the background scale. If that makes any sense,
kinda like this page http://www.mutualresponse.com/res/6th/pro6thMF.htm

Thanks,
Shane

tralfaz

2006-03-16, 10:14 pm


"swalsh1986" <webforumsuser@macromedia.com> wrote in message
news:dvcflj$svu$1@forums.macromedia.com...
> Hi, I'm having the same problem, except I thinks mine is a little
> different. I
> wanted a flash page to grow so I have the dimesions set to relative,
> 100%. But
> It scales everything, and what I wanted was for everything in my
> flash page to
> stay the same size but have the background scale. If that makes any
> sense,
> kinda like this page
> http://www.mutualresponse.com/res/6th/pro6thMF.htm
>
> Thanks,
> Shane


You can set noScale so that the browser doesn't scale anything, but
inside of Flash you can detect the resize and measure it.. then
rescale just the background or any part that you want. Here is a demo
of that with MX version 6 source code..
http://members.cox.net/4my5cats/noS...ageResize3.html
tralfaz


swalsh1986

2006-03-17, 3:15 am

I saw another one of your post, it was the stageResize2, and thats pretty much
what I wanted it to do, but for some reason it messes up when I do it. The
background will change size to fit the screen but it isn't centered anymore. I
tried adding some code under the positionMenu() function, to move it back to
0,0 but it still doesnt work. Very Lost.

Shane

Chris (mudbubble)

2006-03-17, 3:15 am

what's the code? if it isnt centered what is it doing? be specific if you want specific answers -
paste code here.

******************************************
--> Adobe Certified Expert (ACE)
--> www.mudbubble.com :: www.keyframer.com
--> http://flashmx2004.com/forums/index.php?
--> http://www.macromedia.com/devnet/fl...tion_guide.html
--> http://groups.google.com/advanced_g...=UTF-8&oe=UTF-8




swalsh1986 wrote:
> I saw another one of your post, it was the stageResize2, and thats pretty much
> what I wanted it to do, but for some reason it messes up when I do it. The
> background will change size to fit the screen but it isn't centered anymore. I
> tried adding some code under the positionMenu() function, to move it back to
> 0,0 but it still doesnt work. Very Lost.
>
> Shane
>

tralfaz

2006-03-17, 3:15 am

"swalsh1986" <webforumsuser@macromedia.com> wrote in message
news:dvded5$7i7$1@forums.macromedia.com...
>I saw another one of your post, it was the stageResize2, and thats
>pretty much
> what I wanted it to do, but for some reason it messes up when I do
> it. The
> background will change size to fit the screen but it isn't centered
> anymore. I
> tried adding some code under the positionMenu() function, to move it
> back to
> 0,0 but it still doesnt work. Very Lost.
>
> Shane


For your background bitmap image (movieclip), make sure the
registration point is in the center. If it isn't in the center you
will have to recalculate the position.

To set center registration on first conversion from bitmap to
movieclip..
click on photo bitmap on stage. F8, convert to symbol.. movieclip.
Chose the center dot on the little 'domino like' selector on that
menu. It has 9 dots you can choose from.

To set center registration later on..
Dbl click on the background image movieclip to edit it. Use the align
tools to set it to center x and y with the "To Stage" button turned
on.
Go back to main timeline and center the movielclip to center x and y
again using the align tools.
It will stay centered now.

tralfaz


swalsh1986

2006-03-17, 6:16 pm

Thanks that worked great. I figured it something small like that.

Shane
swalsh1986

2006-03-17, 6:16 pm

Well I thought I had everything figured out but I ran into something else. I
have a movie clip, that I wanted to keep in the bottom left hand corner, I had
it setup to move like you had on your demo. And it would stay all the way to
left but it wouldn't move down when the page was expanded. So then I figured I
could just take the height of the stage after resizing and subtract it by how
far I wanted it of the bottom and set that to menu1._y. Now it moves it just a
little bit down but not all the way. Anyway help would be great.

Thanks,
Shane

fedegaule

2006-03-17, 6:16 pm

I am in a similar situation than the others.
I have html web page. I have a menu bar that goes from the begining from the
page to the end (horizontal). My problem is that when i use differents
resolutions, it scales. I want to only change the width, but when it put on
dreamweaver 100% to heigth and width it scale the movie. I have used noScale
function but it doesnt work :S
http://plater.no-ip.org

the issue bar is what i want to resize. (in 800 and 1024 resolutions i believe
i could resize but if you put a bigger resolutions, it crash:S )

tralfaz

2006-03-17, 6:16 pm

"swalsh1986" <webforumsuser@macromedia.com> wrote in message
news:dvf4jg$jqa$1@forums.macromedia.com...
> Well I thought I had everything figured out but I ran into something
> else. I
> have a movie clip, that I wanted to keep in the bottom left hand
> corner, I had
> it setup to move like you had on your demo. And it would stay all
> the way to
> left but it wouldn't move down when the page was expanded. So then I
> figured I
> could just take the height of the stage after resizing and subtract
> it by how
> far I wanted it of the bottom and set that to menu1._y. Now it moves
> it just a
> little bit down but not all the way. Anyway help would be great.
>
> Thanks,
> Shane


Post a link to the swf file so I can look at it. (I have to decompile
to Flash 6)
tralfaz


tralfaz

2006-03-17, 6:16 pm

"fedegaule" <webforumsuser@macromedia.com> wrote in message
news:dvf6nn$mg2$1@forums.macromedia.com...
>I am in a similar situation than the others.
> I have html web page. I have a menu bar that goes from the begining
> from the
> page to the end (horizontal). My problem is that when i use
> differents
> resolutions, it scales. I want to only change the width, but when
> it put on
> dreamweaver 100% to heigth and width it scale the movie. I have used
> noScale
> function but it doesnt work :S
> http://plater.no-ip.org
>
> the issue bar is what i want to resize. (in 800 and 1024 resolutions
> i believe
> i could resize but if you put a bigger resolutions, it crash:S )


Something bad wrong with that site. Takes forever to load even with
cable modem.
tralfaz


Ralph Höglund

2006-03-18, 6:14 am

tralfaz skrev:
> "fedegaule" <webforumsuser@macromedia.com> wrote in message
> news:dvf6nn$mg2$1@forums.macromedia.com...
>
>
>
> Something bad wrong with that site. Takes forever to load even with
> cable modem.
> tralfaz
>
>



Yes, I timed the downloading of the site and it took about
two minutes! I have effective cable 19 Mb/s.

I think that the server where the page is sitting in is the
bottleneck.

Ralph
swalsh1986

2006-03-21, 3:15 am

Hey sorry it took me so long to respond but heres the link to my swf. I just can't get the movie clip to move to the bottom on resize. http://www.swtheory.com/websites/flashindex.swf

Shane
Sponsored Links


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