Use Embed statement directly in the style sheet
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Style> @namespace mx "http://www.adobe.com/2006/mxml"; mx|Button { overSkin: Embed("logo.jpg"); upSkin: Embed("logo.jpg"); downSkin: Embed("logo.jpg"); } </mx:Style> <mx:Button id="b1" label="Click Me"/> </mx:Application>