  *  @default undefined
  * 
  *  @langversion 3.0
- *  @playerversion Flash 10.1
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */

     *  @see #getElementPreferredHeight  
     * 
     *  @langversion 3.0
     *  @playerversion Flash 10.1
     *  @playerversion AIR 2.5 
     *  @productversion Flex 4.5
     */
    protected function getElementPreferredWidth(element:Object):Number
    {
		if (element is ILayoutElement)
        {
            return ILayoutElement(element).getPreferredBoundsWidth();
        }

        {
            return IFlexDisplayObject(element).measuredHeight;
        }
        else
        {
            return element.height;
        }
