In my application, I have a SWFLoader component, placed inside a Canvas container. I load a swf into the SWFLoader, dynamically. The problem is, when the swf file is loading, the display seems to be larger than the size of the enclosing Canvas container. But, after the swf has loaded completely, it perfectly fits into that Canvas.
How do I avoid this problem. I do not want the swf file look larger than the enclosing Canvas, while it is loading. I am using Flex sdk 3.0.

