I have a SWF which plays a tween of a sliding door moving downwards. I am loading it using SWFLoader and then extracting the content as a MovieClip and playing it. The intention is that it will occupy the top half of the screen in the Flex app so the size of the SWFLoader has been set accordingly. I have tried to constrain it in various types of containers but no matter what I do the door slides down into bottom half of my Flex app (obscuring other stuff) even though the flash movie has a size which corresponds to the top half of the window only and plays that way as a standalone movie.
Any ideas on this? Surely there must be some way to say "use the following rectangle of the screen and no more".
Okay. So I figured it out. Seems that you have to set clipAndEnableScrolling="true" on the container. Cheers.