I have a flash banner that displays its content in the vertical 
middle. I have an application that is 800px wide, but the banner is, 
by default, only around 600px wide. My tag looks like:

<mx:Image contentPath="autumn.swf" scaleX="100" scaleContent="true" 
width="800" />

If I specify the width attribute of the Image tag, the flash movie 
doesn't scale with it. 

Usually, the way I get this banner to work in html is to pass a 
scale=noborder attribute to the embed tag and it takes up as wide as 
the container (div for example) that the embed is contained in. How 
to I do this in Flex? Also, I need the vertical middle of the movie 
to show, not the top section that I specify. I tried using 
hPosition, but to no avail.

Any help is appreciated!

-Josh




 
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