SlideShare une entreprise Scribd logo
1  sur  48
Télécharger pour lire hors ligne
1
2
3
.
   .   .   è.. .!c   è.. .




                                  4
5
.   . ! . .
.


                    6
import
private function       void
             “..   .   ”




                              7
import                          .
private function       void    è.    .
               .
              “.   .   .”);   .! ... .
                                          8
.  .
$P. .. ..
 ...        .
  .. ...




                9
10
..

                                      ..



. Flex Builder3.
                 .                          ...
. . 9 C                      11
http://www.atmarkit.co.jp/fwcr/special/flexbuilder3/flexbuilder3_2.html
.
.     .. .
.. ...



              12
13
$
                           .        .

     .                          .
    
                           .        .


     
quot;              ...   
quot;

    ý                         ..

     ..       .    üð

                                         14
.   .




            15
C
16
..        ..

 è.

. ..       .... .   .




       .     .. ../
                         17
18
.              .
                                                   ..                ...
                                                ......



?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
20
21
AddDto.as
                      AddDto.java
   Add_script.as
                     AddService.java
    add.mxml

                      AMF0/AMF3
                      ReaderWriter
S2Flex2-Components
                        S2Flex2
                     GatewayServlet

                       Seasar 2.4
     add.html




                                       22
23
?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;/
.
    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
public function     void
  var             new

                                         .           
                                 .               .


public function                   void               .
  var                      as                            .



public function                 void
.
                                                         .

                                                             25
3..
      .
   . .

          26
.
.. .
   .       ...


                 27
..
 . .   ..
 ..




            28
29
...            .
Ç . ..           ...

*        .        .L   . ..   .




                                   30
.Adobe AIR.   .
                  31
32
.       !.      ¨.
.         . ..   .    . . ..    ..
    .            ¨.   . .
                  *      . .




                                33
.




.   .




            34
. ..
   
.   .


                 35
36
37
38
39
40
41
e¯







     ¼ ¯




           42
. .
.   ..//
 .¼         ... .
     .          ..
....  ...             43

Contenu connexe

Similaire à Flex入門

IBM Connections 4.5 bidirectional synchronization
IBM Connections 4.5 bidirectional synchronizationIBM Connections 4.5 bidirectional synchronization
IBM Connections 4.5 bidirectional synchronizationmichele buccarello
 
S Pii Plus+C+Library+Programmer+Guide
S Pii Plus+C+Library+Programmer+GuideS Pii Plus+C+Library+Programmer+Guide
S Pii Plus+C+Library+Programmer+Guideguestd2fe1e
 
S Pii Plus+C+Library+Programmer+Guide
S Pii Plus+C+Library+Programmer+GuideS Pii Plus+C+Library+Programmer+Guide
S Pii Plus+C+Library+Programmer+Guideguestd2fe1e
 
Pragmatic.bookshelf.pragmatic.ajax.a.web.2.0.primer.apr.2006
Pragmatic.bookshelf.pragmatic.ajax.a.web.2.0.primer.apr.2006Pragmatic.bookshelf.pragmatic.ajax.a.web.2.0.primer.apr.2006
Pragmatic.bookshelf.pragmatic.ajax.a.web.2.0.primer.apr.2006ngotuananh
 
The Total Book Developing Solutions With EPiServer 4
The Total Book Developing Solutions With EPiServer 4The Total Book Developing Solutions With EPiServer 4
The Total Book Developing Solutions With EPiServer 4Martin Edenström MKSE.com
 
How to write LaTeX package
How to write LaTeX packageHow to write LaTeX package
How to write LaTeX packageRuini Xue
 
ThinkPad® T400 M R400
ThinkPad® T400 M R400ThinkPad® T400 M R400
ThinkPad® T400 M R400zcejzr
 
acdmac_2013_autolisp_reference_guide.pdf
acdmac_2013_autolisp_reference_guide.pdfacdmac_2013_autolisp_reference_guide.pdf
acdmac_2013_autolisp_reference_guide.pdfCESARSILVIOPILACAIZA
 
Pspice userguide ingles
Pspice userguide inglesPspice userguide ingles
Pspice userguide inglesunoenero
 
Visual Studio 2008 Beginning Asp Net 3 5 In C# 2008 From Novice To Professi...
Visual Studio 2008   Beginning Asp Net 3 5 In C# 2008 From Novice To Professi...Visual Studio 2008   Beginning Asp Net 3 5 In C# 2008 From Novice To Professi...
Visual Studio 2008 Beginning Asp Net 3 5 In C# 2008 From Novice To Professi...guest4c5b8c4
 
Snmp nagios
Snmp nagios Snmp nagios
Snmp nagios zmoly
 
Borland c++ version_3.0_users_guide_1991
Borland c++ version_3.0_users_guide_1991Borland c++ version_3.0_users_guide_1991
Borland c++ version_3.0_users_guide_1991praveen188668
 
网站无障碍阅读知识
网站无障碍阅读知识网站无障碍阅读知识
网站无障碍阅读知识ppanyong
 
网站无障碍阅读知识
网站无障碍阅读知识网站无障碍阅读知识
网站无障碍阅读知识ppanyong
 
Java Complete Reference Fifth Edition
Java Complete Reference Fifth EditionJava Complete Reference Fifth Edition
Java Complete Reference Fifth Editionumavanth
 

Similaire à Flex入門 (20)

HTML_HHC
HTML_HHCHTML_HHC
HTML_HHC
 
IBM Connections 4.5 bidirectional synchronization
IBM Connections 4.5 bidirectional synchronizationIBM Connections 4.5 bidirectional synchronization
IBM Connections 4.5 bidirectional synchronization
 
S Pii Plus+C+Library+Programmer+Guide
S Pii Plus+C+Library+Programmer+GuideS Pii Plus+C+Library+Programmer+Guide
S Pii Plus+C+Library+Programmer+Guide
 
S Pii Plus+C+Library+Programmer+Guide
S Pii Plus+C+Library+Programmer+GuideS Pii Plus+C+Library+Programmer+Guide
S Pii Plus+C+Library+Programmer+Guide
 
Pragmatic.bookshelf.pragmatic.ajax.a.web.2.0.primer.apr.2006
Pragmatic.bookshelf.pragmatic.ajax.a.web.2.0.primer.apr.2006Pragmatic.bookshelf.pragmatic.ajax.a.web.2.0.primer.apr.2006
Pragmatic.bookshelf.pragmatic.ajax.a.web.2.0.primer.apr.2006
 
Sprockets
SprocketsSprockets
Sprockets
 
The Total Book Developing Solutions With EPiServer 4
The Total Book Developing Solutions With EPiServer 4The Total Book Developing Solutions With EPiServer 4
The Total Book Developing Solutions With EPiServer 4
 
How to write LaTeX package
How to write LaTeX packageHow to write LaTeX package
How to write LaTeX package
 
Acro_js_guide
Acro_js_guideAcro_js_guide
Acro_js_guide
 
ThinkPad® T400 M R400
ThinkPad® T400 M R400ThinkPad® T400 M R400
ThinkPad® T400 M R400
 
acdmac_2013_autolisp_reference_guide.pdf
acdmac_2013_autolisp_reference_guide.pdfacdmac_2013_autolisp_reference_guide.pdf
acdmac_2013_autolisp_reference_guide.pdf
 
Icalogon
IcalogonIcalogon
Icalogon
 
Pspice userguide ingles
Pspice userguide inglesPspice userguide ingles
Pspice userguide ingles
 
Visual Studio 2008 Beginning Asp Net 3 5 In C# 2008 From Novice To Professi...
Visual Studio 2008   Beginning Asp Net 3 5 In C# 2008 From Novice To Professi...Visual Studio 2008   Beginning Asp Net 3 5 In C# 2008 From Novice To Professi...
Visual Studio 2008 Beginning Asp Net 3 5 In C# 2008 From Novice To Professi...
 
Snmp nagios
Snmp nagios Snmp nagios
Snmp nagios
 
Odoo development
Odoo developmentOdoo development
Odoo development
 
Borland c++ version_3.0_users_guide_1991
Borland c++ version_3.0_users_guide_1991Borland c++ version_3.0_users_guide_1991
Borland c++ version_3.0_users_guide_1991
 
网站无障碍阅读知识
网站无障碍阅读知识网站无障碍阅读知识
网站无障碍阅读知识
 
网站无障碍阅读知识
网站无障碍阅读知识网站无障碍阅读知识
网站无障碍阅读知识
 
Java Complete Reference Fifth Edition
Java Complete Reference Fifth EditionJava Complete Reference Fifth Edition
Java Complete Reference Fifth Edition
 

Flex入門

  • 1. 1
  • 2. 2
  • 3. 3
  • 4. . . . è.. .!c è.. . 4
  • 5. 5
  • 6. . . ! . .
  • 7. . 6
  • 8. import private function void “.. . ” 7
  • 9. import . private function void è. . . “. . .”); .! ... . 8
  • 10. . . $P. .. .. ... . .. ... 9
  • 11. 10
  • 12. .. .. . Flex Builder3. . ...
  • 13. . . 9 C 11 http://www.atmarkit.co.jp/fwcr/special/flexbuilder3/flexbuilder3_2.html
  • 14. . . .. . .. ... 12
  • 15. 13
  • 16. $ . . . . . . quot; ... quot; ý .. .. . üð 14
  • 17. . . 15 C
  • 18. 16
  • 19. .. .. è. . .. .... . . . .. ../ 17
  • 20. 18
  • 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
  • 22. 20
  • 23. 21
  • 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
  • 25. 23
  • 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
  • 29. . . 25
  • 30. 3.. . . . 26
  • 31. . .. . . ... 27
  • 32. .. . . .. .. 28
  • 33. 29
  • 34. ... . Ç . .. ... * . .L . .. . 30
  • 35. .Adobe AIR. . 31
  • 36. 32
  • 37. . !. ¨. . . .. . . . .. .. . ¨. . . * . . 33
  • 38. . . . 34
  • 39. . .. . . 35
  • 40. 36
  • 41. 37
  • 42. 38
  • 43. 39
  • 44. 40
  • 45. 41
  • 46. ¼ ¯ 42
  • 47. . .
  • 48. . ..// .¼ ... . . .. .... ... 43