Flash player doesn't detecting the original size of the movie at run time

I’ve a movie that using flash UI Component scrollbar with a dynamic text area. I’ve rendered the text by including an external .as file. The content for the scroll bar is written in the .as file and that .as file included #include “myfile.as”

The problem is that I can’t make a correct preloader for the movie. Because the flash player detects the size of the movie before the text is being rendered. The text is being rendered only in the run time from the external .as file. So again I’ve to wait a bit more time to load the content after loading the swf file.

I’ve converted the file to exe. But the problem still exists.

Anybody to help

abhilash