<?xml version="1.0" encoding="utf-8"?>
<!-- http://blog.flexexamples.com/2008/02/29/setting-a-button-controls-icon-to-an-asset-from-a-swf-file-in-flex/ -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="horizontal"
        verticalAlign="middle"
        backgroundColor="white" viewSourceURL="srcview/index.html">
    
    <mx:Script>
        <![CDATA[
            [Bindable]
            [Embed("icons.swf#bullet_add")]
            public var bulletAddIcon:Class;
            
            [Bindable]
            [Embed("icons.swf#bullet_delete")]
            public var bulletDeleteIcon:Class;
            
            [Bindable]
            [Embed("icons.swf#bullet_star")]
            public var bulletStarIcon:Class;
        ]]>
    </mx:Script>

    <mx:Button label="Bullet Add" icon="{bulletAddIcon}" />
    <mx:Button label="Bullet Delete" icon="{bulletDeleteIcon}" />
    <mx:Button label="Bullet Star" icon="{bulletStarIcon}" />

</mx:Application>