3 Replies Latest reply on Jan 23, 2012 4:10 PM by rexdtripod

    Image controls don't seem to honor width and height settings?

    rexdtripod Level 1

      The Flex 3.6 code below should load a swf and make its width 100% and height 100 pixels.  It doesn't.  Why not? 

       

      It seems to pick an arbitrary width.  I can't figure out what it's using. 

       

      <?xml version="1.0" encoding="utf-8"?>

      <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">

       

                <mx:SWFLoader

                          source="http://path_to_a_dynamically_loaded_swf"

                          scaleContent="false"

                          maintainAspectRatio="false"

                          width="100%" height="100">

                </mx:SWFLoader>

       

      </mx:Application>