In the swf you are loading try placing the following in a script block
and see if it makes a difference.

function getPreferredHeight() : Number
{
   return 22;
}

Refer to this post for more information on sizing swf's in the loader
control.

http://www.flexdaddy.info/2005/02/21/sizing-apps-within-the-loader-control/

Andrew
www.flexdaddy.info


--- In [email protected], Clint Modien <[EMAIL PROTECTED]> wrote:
> I'm creating a Loader like so:
> 
> var initObj = {x:0, height:22, scaleContent:true}
> createClassObject(Loader, "iconLoader", 301, initObj);
> 
> then i set the source of iconLoader like so:
> 
> iconLoader.source = "http://the source of the attached swf"
> 
> i need the height to be 22 px
> 
> when it loads... it's 4x that... 
> 
> help?




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to