Button with Icon Demo
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" backgroundColor="#eeeeee"> <mx:Script> [Bindable] [Embed(source="logo.png")] public var myDeleteIcon:Class; </mx:Script> <mx:Button label="Delete" icon="{myDeleteIcon}" labelPlacement="right"/> </mx:Application>