Flex入門
- 9. import .
private function void è. .
.
“. . .”); .! ... .
8
- 12. ..
..
. Flex Builder3.
. ...
- 13. . . 9 C 11
http://www.atmarkit.co.jp/fwcr/special/flexbuilder3/flexbuilder3_2.html
- 16. $
. .
. .
. .
quot; ...
quot;
ý ..
.. . üð
14
- 19. .. ..
è.
. .. .... . .
. .. ../
17
- 21. . .
.. ...
......
?xml version=quot;1.0quot; encoding=quot;utf-8quot;?
mx:Application xmlns:mx=quot;http://www.adobe.com/2006/mxmlquot;
layout=quot;absolutequot; width=quot;527quot; height=quot;187quot; borderColor=quot;#FBFCFDquot;
themeColor=quot;#F8F8F9quot;
mx:Script source=“add.asquot; /
mx:TextInput x=quot;89.5quot; y=quot;72quot; width=quot;88quot; id=quot;arg1quot; /
mx:Text x=quot;185.5quot; y=quot;74quot; text=quot;+quot;/
mx:TextInput x=quot;206.5quot; y=quot;72quot; width=quot;76quot; id=quot;arg2quot;/
mx:Text x=quot;297.5quot; y=quot;74quot; text=quot;=quot;/
mx:Text x=quot;330.5quot; y=quot;74quot; text=quot;?quot; id=quot;resultquot;/
mx:Button x=quot;380.5quot; y=quot;72quot; label=quot; .quot; click=quot;calc()quot;/
/mx:Application 19
- 24. AddDto.as
AddDto.java
Add_script.as
AddService.java
add.mxml
AMF0/AMF3
ReaderWriter
S2Flex2-Components
S2Flex2
GatewayServlet
Seasar 2.4
add.html
22
- 26. ?xml version=quot;1.0quot; encoding=quot;utf-8quot;?
mx:Application xmlns:mx=quot;http://www.adobe.com/2006/mxmlquot;
xmlns:s2=quot;http://www.seasar.org/s2flex2/mxmlquot; xmlns=quot;*quot; layout=quot;absolutequot;
creationComplete=quot;calculate();quot;
mx:Script source=quot;add_script.asquot; / .
s2:S2Flex2Service id=quot;amfquot; destination=quot;addServicequot;
result=quot;onResult(event)quot; fault=quot;onFault(event)quot; showBusyCursor=quot;truequot; /
mx:Panel x=quot;61.5quot; y=quot;33quot; width=quot;456quot; height=quot;200quot; layout=quot;absolutequot; title=quot; . quot;
mx:TextInput x=quot;10quot; y=quot;10quot; text=quot;3quot; id=quot;arg1_txtquot; width=quot;58quot; tabIndex=quot;1quot;/
- 27. .
mx:TextInput x=quot;92quot; y=quot;10quot; text=quot;4quot; id=quot;arg2_txtquot; width=quot;46quot; tabIndex=quot;2quot;/
mx:Label x=quot;76quot; y=quot;12quot; text=quot;+quot; height=quot;20quot;/
mx:TextInput x=quot;161.5quot; y=quot;10quot; id=quot;ans_txtquot; editable=quot;falsequot;/
mx:Label x=quot;146quot; y=quot;12quot; text=quot;=quot; height=quot;20quot;/
mx:Button x=quot;345.5quot; y=quot;10quot; label=quot;enterquot; click=quot;calculate()quot; id=quot;doBtnquot; tabIndex=quot;3quot;/
/mx:Panel
/mx:Application .
24
- 28. public function void
var new
.
. .
public function void .
var as .
public function void
- 34. ... .
Ç . .. ...
* . .L . .. .
30
- 37. . !. ¨.
. . .. . . . .. ..
. ¨. . .
* . .
33
- 48. . ..//
.¼ ... .
. ..
.... ... 43