Hello,
after some tossing and turning with my .fla and my flex app I just can't
seem to figure out how to fix this problem,
though I did come up with a semi fix but its more or less ghetto...

I have made a custom container in flash and have exported it successfully to
flex and can put components in it fine,
though it experiences some crazy resizing on the flex layout when undergoing
some animations within flash.

Basically I have it fade in (fine), and then when I go to have it "close"
via a button trigger it does a slide out animation,
where there is two layers of the background and a mask for each, anyhow
these move up and down and such to create the
effect...
What I get in the browser when the slide out animation is triggered,
depending if I used absolute or vertical, (I played around with all sorts of
schemes)
is some massive scrollbars in each direction...

and naturally the container will reposition to center itself on the
page(moves left)ー this tells me that the container has gotten "invisibly
wider" due to the animation,

but I have to rule this out because my masks and layers within flash only
move generally up, in the end of animation my rectangle of a container
is only 10% visible on the flash cs3 canvas, the rest of its' body exists
above (since it slid up during the animation woohaa)..

So to slap a band aid on this I just stuck the container within a canvas
with all scrolling policy's off and I am able to position all my other
components around without having to use absolute..
though for some reason just my vertical scrollbar will still grow 3x in size
even though it is happening within a canvas..


So I have two questions,
Is my .swc that I exported for use in flex, causing my layout to break with
its invisible masks even though that it is breaking horizontally while there
is nothing in my .swc moving horizontally??

Or since I have my container resizing itself, should I have to override some
kind of updateDisplayList()for flex?

I don't really know what's going on so if you managed to read all of that
I'd appreciate if you could point me in the right direction! =)

Thanks,
Bailey

Reply via email to