flash scale help needed
- Started
- Last post
- 17 Responses
- peteski
all in flash - I'd like to keep the bg (vector image) 100% of w+h of browser window
and
position main mc at relative center (or just north of center) of browser window (at any size).
I seen this:
http://www.moock.org/asdg/techno…
- it doesn't do exactly what I want or I'm not getting it.this is an example of effect:
http://www.curvemusic.ca/
- stewart0
i did this once
i can help you with that if this is what you're looking for
http://www.hlharchitecten.nl/HLH…
(resize the window)
- chunknown0
hey stewert.. would love to see the fla to have a loom at your code if poss?
cheers
- stewart0
that's owkay chunk.
but i'm at work at the moment, and have the fla files stored on my pwrbook at home.
so if you can wait here another seven hours?
- chunknown0
cool if you can mail them to me later that'd be ace! thanks!
- stewart0
deal.
- peteski0
stewart - that effect PLUS a stretched to 100% bg img (in flash) at any browser size.
be great to have a look at the fla of that - thanks.
- peteski0
anyone else got an idea?
- peteski0
any
one
?
- armed_rob0
hey stewart... can I have a look at those fla files too?
Its really cool thing you did there!
- System-Idle0
you will need to set your swf to 100% in yr html page.
make sure yr bg image is in an mc.
then in the Stage.onResize function target yr bg_mc
by puttingbg_mc._width=Stage.width
bg_mc._height=Stage.heightuse a bg image that doesnt badly distort
- unfittoprint0
Stage.align = "LT";
Stage.scaleMode = "noScale";
Reziser = new Object();
Stage.addListener(Reziser);
center = function () {
bg._width=Stage.w idth
bg._height=Stage. height
main._x = (Stage.width-main._width)/2
main._y = (Stage.height-main._height)/2
};Reziser.onResize = function() {
center();
};
- jpea0
i honestly think that unfit is quite possibly like having a seachable flash bible right with us
damn man
wow.
- stewart0
sorry guys, i had no time to email the fla.
but i think unfit answered all the questions.
again.
- peteski0
thanks guys ... I'm working on it.
- spent20000
PS
be sure the background mc that scales, has a registration point of top left.
- stewart0
check your emailboxes