Hello,

I'm having trouble with images not resizing to fit the <mx:Image> tag
specfied (and also with SWFs not resizing to fit the appropriate
<mx:Loader>).  An example can be seen at the following URL, where the
image (green boxes) *should* be contained within the grey box top right:

http://kryten.rawnet.com/flex/flex-corrupt.html#lgimage

The MXML to output the image is as follows:

<mx:Image id="assetPreview" source="{assetURL + asset.assetURL}"
          scaleContent="true" maintainAspectRatio="true"
          width="200" height="120" borderStyle="solid"
          horizontalAlign="center" />

Extra information:
 - "assetURL" is a simple string like http://server/path/
 - "asset" is an instance of an AS class
 - "asset.assetURL" is a dynamic property of the "asset" instance,
   with an appropriate changeEvent defined

Any idea why this should be the case?

Thanks,

Tim.

--
-------------------------------------------------------
Badpen Tech - CF and web-tech: http://tech.badpen.com/
-------------------------------------------------------
    RAWNET LTD - independent digital media agency
    "We are big, we are funny and we are clever!"
     New site launched at http://www.rawnet.com/
-------------------------------------------------------
This message may contain information which is legally
privileged and/or confidential.  If you are not the
intended recipient, you are hereby notified that any
unauthorised disclosure, copying, distribution or use
of this information is strictly prohibited. Such
notification notwithstanding, any comments, opinions,
information or conclusions expressed in this message
are those of the originator, not of rawnet limited,
unless otherwise explicitly and independently indicated
by an authorised representative of rawnet limited.
-------------------------------------------------------


 
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