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

Preview:

DESCRIPTION

 

Citation preview

AIR 3.0 HACKS

taiga.jpTaiga Hirohata

© 2010 taiga.jp

Taiga• Freelance Flash / Flex engineer

• Blog - http://blog.taiga.jp/

• Principal at CLASSMETHOD Inc.

• Adobe Community Professional

• @taiga

© 2011 taiga.jp

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

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

© 2011 taiga.jp

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

© 2011 taiga.jp

Introduction

© 2011 taiga.jp

Introduction• August 8, 2011

AIR 3 beta 2 is now available for download.

© 2011 taiga.jp

Support OS

© 2011 taiga.jp

Support OS• Windows XP (32bit)• Windows Vista (32bit, 64bit)• Windows 7 (32bit, 64bit)• Mac OSX 10.6• Mac OSX 10.7

© 2011 taiga.jp

Runtime Versions

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

© 2011 taiga.jp

parts of New Features in AIR 3

© 2011 taiga.jp

parts of New Features in AIR 3• CAUTION

add "-swf-version=13"

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

© 2011 taiga.jp

parts of New Features in AIR 3• Stage3D Accelerated Graphics Rendering

– flash.display3D.*;– flash.display.Stage3D;

© 2011 taiga.jp

parts of New Features in AIR 3• Native JSON Support

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

© 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

© 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

© 2011 taiga.jp

parts of New Features in AIR 3• Garbage Collection Advice

– System.pauseForGCIfCollectionImminent();

© 2011 taiga.jp

parts of New Features in AIR 3• Cubic Bezier Curves

– graphics.cubicCurveTo();

© 2011 taiga.jp

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

– flash.crypto.generateRandomBytes()

© 2011 taiga.jp

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

– .hdp– .wdp– .jx

© 2011 taiga.jp

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

© 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()

© 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

© 2011 taiga.jp

Q&A

Recommended