         
         var navItemStyleName:Object;
         
-        if (styleProp == "styleName" && FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0)
-        {
-            navItemStyleName = this;
-        }
-        else if (styleProp == "linkButtonStyleName" && FlexVersion.compatibilityVersion >= FlexVersion.VERSION_3_0)
-        {
+        if (styleProp == "linkButtonStyleName")
             navItemStyleName = getStyle("linkButtonStyleName");
-        }
         
         if (navItemStyleName)
         {

import flash.events.MouseEvent;
import mx.core.ClassFactory;
import mx.core.EdgeMetrics;
import mx.core.FlexVersion;
import mx.core.IFlexDisplayObject;
import mx.core.mx_internal;
import mx.events.ChildExistenceChangedEvent;


        var newLink:Button = Button(navItemFactory.newInstance());

        var linkButtonStyleName:String = getStyle("linkButtonStyleName");
        if (linkButtonStyleName)
            newLink.styleName = linkButtonStyleName;
                 
        if (label && label.length > 0)
            newLink.label = label;
        else
