      */
     override public function get baselinePosition():Number
     {
-        return getBaselinePositionForPart(titleDisplay);
+        return getBaselinePositionForPart(titleDisplay as IVisualElement);
     } 
     
     //--------------------------------------------------------------------------

     *  @playerversion AIR 1.5
     *  @productversion Flex 4
     */
    public var titleDisplay:TextBase;

    //--------------------------------------------------------------------------
    //

package spark.components
{

import mx.core.IVisualElement;
import mx.core.mx_internal;
import mx.utils.BitFlagUtil;

import spark.core.IDisplayText;
import spark.layouts.supportClasses.LayoutBase;

use namespace mx_internal;
