<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundGradientAlphas="[1.0, 1.0]" backgroundGradientColors="[#874040, #874040]">
<mx:Script>
<![CDATA[
import mx.controls.Alert;
]]>
</mx:Script>
<mx:Panel title="LinkButton Sample" layout="vertical" color="0xffffff" borderAlpha="0.15"
paddingTop="10" paddingRight="10" paddingBottom="10" paddingLeft="10" horizontalAlign="center" x="10" y="10">
<mx:Text color="0x323232" text="Sample of image embeded at compile time." />
<mx:LinkButton label="LinkButton Control" color="0x3380DD" click="{Alert.show('LinkButton Pressed');}"
textDecoration="underline" fontWeight="normal" icon="@Embed('assets/arrow_icon_blue.png')" />
</mx:Panel>
</mx:Application>
Right click the image and save it in src>assets folder.
No comments:
Post a Comment