Thanks Alex.

It worked.

On Nov 29, 2007 2:44 PM, Alex Harui <[EMAIL PROTECTED]> wrote:

>    That's from a subclass where you can get to the internal loader.
>
> Externally, you might be able to get to content.loaderInfo.widht/height
>
>  ------------------------------
> *From:* Alex Harui
> *Sent:* Thursday, November 29, 2007 12:42 PM
> *To:* '[email protected]'
> *Subject:* RE: [flexcoders] How to get the loadd swf file info in
> swfLoader?
>
>  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