             return element;
         }        
 
+        /**
+         */
+        COMPILE::JS
+        protected function setInnerHTML():void
+        {
+            var inner:String = '';
+            if (image != null)
+                inner += "<img src='" + image + "'/>";
+            inner += '&nbsp;';
+            inner += text;
+            element.innerHTML = inner;
+        };
 	}
 }

        public function set image(value:String):void
        {
            ImageAndTextModel(model).image = value;
        }
        
        /**

		}
		
        /**
         *  @private
         */
        COMPILE::JS
        override public function set text(value:String):void
        {
            ImageAndTextModel(model).text = value;
            COMPILE::JS
            {
                setInnerHTML();                    
            }
        }
        
        /**
         *  The URL of an icon to use in the button
         *  
         *  @langversion 3.0
