1 Reply Latest reply on May 20, 2011 12:39 AM by Flex harUI

    How do I read the actual height of the panel title bar (or actual total panel height)

    new2oop Level 1

      In Flex 4.5:

      I have panel which is reading panel.height as 159, however it contains a swf in a swfloader which is 400 in height so it should be more than 400.

       

      I need to know what the actual height of the panel is so I can scaleX and scaleY it to full screen height eg. scale=screenheight/panelHeight.

       

      I know the content container will be 400 (the size of the movie) but can't read the height of the titleBar, and the overall panel height is returning the wrong value.