contentLoaderInfo.width/height

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Malik AlArfaj
Sent: Thursday, November 29, 2007 11:05 AM
To: [email protected]
Subject: [flexcoders] How to get the loadd swf file info in swfLoader?



Hi,
I want to get the original height and the width of the loaded swf file.
The files I am trying to load have some objects out of stage, and I need
to know the swf dimensions to mask them off. I tried several different
ways bun none of them seem to give me the right values. 

I tried:

[swfLoaderID].contentHeight;
[swfLoaderID].contentWidth;

[swfLoaderID].content.height;
[swfLoaderID].content.width;

[swfLoaderID].loaderInfo.height;
[swfLoaderID].loaderInfo.width; 

[swfLoaderID].loaderInfo.content.height;
[swfLoaderID].loaderInfo.content.width;

None of these gave me the right values of the loaded file

Do you have any suggestions?

Thank you,


 

Reply via email to