Question
Clip the sides of swf and center
Hey, been having a problem figuring this one out. This is
what i got. I have a main large flash file that loades another
external flash file into the center of it. The main large flash
file is basicly just background eye candy. (like little animated
bleeps and flashes and stuff like that). But the main content of
the site, the important part is in the center of it. Now, when the
viewr is viewing my website at the same resolution i made it in
there is no problem, but if it is larger or smaller, then either
the main content is off center, or cut off the screen to the right.
What i'm wondering is, how would you go about making it so that the
movie will clip (not shrink but get clipped) equally from both
sides as the screen resoluation gets smaller, or expands to show
more of it if it gets larger (doesnt make it larger, but just
reveiles more of the swf that would have been clipped if the screen
was smaller res). Also, i dont want a bottom scroll bar when the
movie file is clipped, i want the movie to just automaticly center
in the viewable region and clip the two sides. Ty :). (obviously
i'm not asking you to do the work for me, lol. That wouldnt be fair
:P. But if somebody could point me in the right direction that
would be great. ty :).
EDIT: O yeah almost forgot :P, preferebly if possible would like it to update dynamicly if the window is resized after the site is loaded also, to where the main content would continue staying in the center.
EDIT: O yeah almost forgot :P, preferebly if possible would like it to update dynamicly if the window is resized after the site is loaded also, to where the main content would continue staying in the center.