25
AIR 3.0 HACKS taiga.jp Taiga Hirohata

[CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」

AIR 3.0 HACKS

taiga.jpTaiga Hirohata

Page 2: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」

© 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」

© 2011 taiga.jp

Book• Flex 4 プログラミングガイド

ISBN-10 : 4777515788ISBN-13 : 978-4777515783

Page 4: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」

© 2011 taiga.jp

Agenda• Introduction• Support OS• Runtime Versions• parts of New Features in AIR 3

Page 5: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」

© 2011 taiga.jp

Introduction

Page 6: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」

© 2011 taiga.jp

Introduction• August 8, 2011

AIR 3 beta 2 is now available for download.

Page 7: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」

© 2011 taiga.jp

Support OS

Page 8: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」

© 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」

© 2011 taiga.jp

Runtime Versions

Page 10: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」

© 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」

© 2011 taiga.jp

parts of New Features in AIR 3

Page 12: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」

© 2011 taiga.jp

parts of New Features in AIR 3• CAUTION

add "-swf-version=13"

Page 13: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」

© 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」

© 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」

© 2011 taiga.jp

parts of New Features in AIR 3• Native JSON Support

– JSON.parse();– JSON.stringify();

Page 16: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」

© 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」

© 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」

© 2011 taiga.jp

parts of New Features in AIR 3• Garbage Collection Advice

– System.pauseForGCIfCollectionImminent();

Page 19: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」

© 2011 taiga.jp

parts of New Features in AIR 3• Cubic Bezier Curves

– graphics.cubicCurveTo();

Page 20: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」

© 2011 taiga.jp

parts of New Features in AIR 3• Secure Random Number Generator

– flash.crypto.generateRandomBytes()

Page 21: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」

© 2011 taiga.jp

parts of New Features in AIR 3• JPEG-XR support

– .hdp– .wdp– .jx

Page 22: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」

© 2011 taiga.jp

parts of New Features in AIR 3• Enhanced high resolution bitmap support

Page 23: [CM_SMNR]クラスメソッドの夏期講習「AIR 3.0」

© 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」

© 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」

© 2011 taiga.jp

Q&A