Download - [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」
![Page 1: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」](https://reader034.vdocuments.pub/reader034/viewer/2022051323/5485558c5806b59f588b4740/html5/thumbnails/1.jpg)
AIR 3.0 HACKS
taiga.jpTaiga Hirohata
![Page 2: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」](https://reader034.vdocuments.pub/reader034/viewer/2022051323/5485558c5806b59f588b4740/html5/thumbnails/2.jpg)
© 2010 taiga.jp
Taiga• Freelance Flash / Flex engineer
• Blog - http://blog.taiga.jp/
• Principal at CLASSMETHOD Inc.
• Adobe Community Professional
• @taiga
![Page 3: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」](https://reader034.vdocuments.pub/reader034/viewer/2022051323/5485558c5806b59f588b4740/html5/thumbnails/3.jpg)
© 2011 taiga.jp
Book• Flex 4 プログラミングガイド
ISBN-10 : 4777515788ISBN-13 : 978-4777515783
![Page 4: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」](https://reader034.vdocuments.pub/reader034/viewer/2022051323/5485558c5806b59f588b4740/html5/thumbnails/4.jpg)
© 2011 taiga.jp
Agenda• Introduction• Support OS• Runtime Versions• parts of New Features in AIR 3
![Page 5: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」](https://reader034.vdocuments.pub/reader034/viewer/2022051323/5485558c5806b59f588b4740/html5/thumbnails/5.jpg)
© 2011 taiga.jp
Introduction
![Page 6: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」](https://reader034.vdocuments.pub/reader034/viewer/2022051323/5485558c5806b59f588b4740/html5/thumbnails/6.jpg)
© 2011 taiga.jp
Introduction• August 8, 2011
AIR 3 beta 2 is now available for download.
![Page 7: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」](https://reader034.vdocuments.pub/reader034/viewer/2022051323/5485558c5806b59f588b4740/html5/thumbnails/7.jpg)
© 2011 taiga.jp
Support OS
![Page 8: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」](https://reader034.vdocuments.pub/reader034/viewer/2022051323/5485558c5806b59f588b4740/html5/thumbnails/8.jpg)
© 2011 taiga.jp
Support OS• Windows XP (32bit)• Windows Vista (32bit, 64bit)• Windows 7 (32bit, 64bit)• Mac OSX 10.6• Mac OSX 10.7
![Page 9: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」](https://reader034.vdocuments.pub/reader034/viewer/2022051323/5485558c5806b59f588b4740/html5/thumbnails/9.jpg)
© 2011 taiga.jp
Runtime Versions
![Page 10: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」](https://reader034.vdocuments.pub/reader034/viewer/2022051323/5485558c5806b59f588b4740/html5/thumbnails/10.jpg)
© 2011 taiga.jp
Runtime Versions• AIR ( Desktop and Android )
3.0.0.369.
• AIR SDK3.0.0.3690.
• correspond to Flash Player 11.0.d1.98.
![Page 11: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」](https://reader034.vdocuments.pub/reader034/viewer/2022051323/5485558c5806b59f588b4740/html5/thumbnails/11.jpg)
© 2011 taiga.jp
parts of New Features in AIR 3
![Page 12: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」](https://reader034.vdocuments.pub/reader034/viewer/2022051323/5485558c5806b59f588b4740/html5/thumbnails/12.jpg)
© 2011 taiga.jp
parts of New Features in AIR 3• CAUTION
add "-swf-version=13"
![Page 13: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」](https://reader034.vdocuments.pub/reader034/viewer/2022051323/5485558c5806b59f588b4740/html5/thumbnails/13.jpg)
© 2011 taiga.jp
parts of New Features in AIR 3• Stage3D Accelerated Graphics Rendering• H.264/AVC Software Encoding for Cameras• G.711 Audio Compression for Telephony• Native JSON Support• Garbage Collection Advice• Cubic Bezier Curves• Secure Random Number Generator• JPEG-XR support• Enhanced high resolution bitmap support
etc...
![Page 14: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」](https://reader034.vdocuments.pub/reader034/viewer/2022051323/5485558c5806b59f588b4740/html5/thumbnails/14.jpg)
© 2011 taiga.jp
parts of New Features in AIR 3• Stage3D Accelerated Graphics Rendering
– flash.display3D.*;– flash.display.Stage3D;
![Page 15: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」](https://reader034.vdocuments.pub/reader034/viewer/2022051323/5485558c5806b59f588b4740/html5/thumbnails/15.jpg)
© 2011 taiga.jp
parts of New Features in AIR 3• Native JSON Support
– JSON.parse();– JSON.stringify();
![Page 16: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」](https://reader034.vdocuments.pub/reader034/viewer/2022051323/5485558c5806b59f588b4740/html5/thumbnails/16.jpg)
© 2011 taiga.jp
parts of New Features in AIR 3• H.264/AVC Software Encoding for Cameras
– flash.media.H264Level– flash.media.H264Profile– flash.media.H264VideoStreamSettings– flash.media.VideoCodec
![Page 17: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」](https://reader034.vdocuments.pub/reader034/viewer/2022051323/5485558c5806b59f588b4740/html5/thumbnails/17.jpg)
© 2011 taiga.jp
parts of New Features in AIR 3• G.711 Audio Compression for Telephony
– flash.media.*• Sound.loadCompressedDataFromByteArray()• Sound.loadPCMFromByteArray()• SoundCodec.PCMA (A-law 13bit PCM)• SoundCodec.PCMU (μ-law 14bit PCM)• SoundMixer.audioPlaybackMode• SoundMixer.useSpeakerphoneForVoice
![Page 18: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」](https://reader034.vdocuments.pub/reader034/viewer/2022051323/5485558c5806b59f588b4740/html5/thumbnails/18.jpg)
© 2011 taiga.jp
parts of New Features in AIR 3• Garbage Collection Advice
– System.pauseForGCIfCollectionImminent();
![Page 19: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」](https://reader034.vdocuments.pub/reader034/viewer/2022051323/5485558c5806b59f588b4740/html5/thumbnails/19.jpg)
© 2011 taiga.jp
parts of New Features in AIR 3• Cubic Bezier Curves
– graphics.cubicCurveTo();
![Page 20: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」](https://reader034.vdocuments.pub/reader034/viewer/2022051323/5485558c5806b59f588b4740/html5/thumbnails/20.jpg)
© 2011 taiga.jp
parts of New Features in AIR 3• Secure Random Number Generator
– flash.crypto.generateRandomBytes()
![Page 21: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」](https://reader034.vdocuments.pub/reader034/viewer/2022051323/5485558c5806b59f588b4740/html5/thumbnails/21.jpg)
© 2011 taiga.jp
parts of New Features in AIR 3• JPEG-XR support
– .hdp– .wdp– .jx
![Page 22: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」](https://reader034.vdocuments.pub/reader034/viewer/2022051323/5485558c5806b59f588b4740/html5/thumbnails/22.jpg)
© 2011 taiga.jp
parts of New Features in AIR 3• Enhanced high resolution bitmap support
![Page 23: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」](https://reader034.vdocuments.pub/reader034/viewer/2022051323/5485558c5806b59f588b4740/html5/thumbnails/23.jpg)
© 2011 taiga.jp
parts of New Features in AIR 3• other... (1/2)
– flash.security.X500DistinguishedName– flash.security.X509Certificate– flash.net::SecureSocket.serverCertificate– flash.net::SecureSocket
.addBinaryChainBuildingCertificate()
![Page 24: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」](https://reader034.vdocuments.pub/reader034/viewer/2022051323/5485558c5806b59f588b4740/html5/thumbnails/24.jpg)
© 2011 taiga.jp
parts of New Features in AIR 3• other... (2/2)
– flash.text.SoftKeyboardType– flash.text.StageText– flash.ui.GameInput– flash.ui.GameInputControl– flash.ui.GameInputControlType– flash.ui.GameInputDevice– flash.ui.GameInputFinger– flash.ui.GameInputHand
![Page 25: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」](https://reader034.vdocuments.pub/reader034/viewer/2022051323/5485558c5806b59f588b4740/html5/thumbnails/25.jpg)
© 2011 taiga.jp
Q&A