Flex + Flash begin
1.Run Adobe Flash Builder 4
2.Create a new [flex project]
a.select [web (runs in adobe flash player)]
3.don`t write code in <fx:Declarations></fx:Declarations>
4.after </fx:Declarations> add
a.<s:Label x="322" y="255" text="click button please ..." width="149" height="36" id="statusShow" verticalAlign="middle" textAlign="center"/>
b.<s:Button x="361" y="299" label="Button" id="button1" click="statusShow.text='clicked'"/>
5.run this project and test
沒有留言:
張貼留言