adobe max recap
TRANSCRIPT
![Page 1: Adobe MAX Recap](https://reader035.vdocuments.net/reader035/viewer/2022062307/554dd45eb4c905d10e8b4af6/html5/thumbnails/1.jpg)
Adobe MAX 2011 Recap | Dustin Tauer
![Page 2: Adobe MAX Recap](https://reader035.vdocuments.net/reader035/viewer/2022062307/554dd45eb4c905d10e8b4af6/html5/thumbnails/2.jpg)
Check It
Everything you need…
• http://max.adobe.com/online• http://www.adobe.com/go/flexprerelease• http://blog.easelsolutions.com
Flash CS5.5 Peeps:• http://blogs.adobe.com/jayarmstrong/2011/10/
adding-the-air-3-0-sdk-to-flash-pro-cs5-5.html
![Page 3: Adobe MAX Recap](https://reader035.vdocuments.net/reader035/viewer/2022062307/554dd45eb4c905d10e8b4af6/html5/thumbnails/3.jpg)
Native Extensions (ANEs)
• A way to extend the AIR runtime yourself• Available in AIR for TV in 2.5; now available on all platforms.
– Mobile– Desktop– TV
• Similar to ActionScript libraries (SWCs), but implemented in native code.
• Use cases:– Provide applications with APIs not implemented directly in AIR.– Delegate to native code for better performance in some contexts.
![Page 4: Adobe MAX Recap](https://reader035.vdocuments.net/reader035/viewer/2022062307/554dd45eb4c905d10e8b4af6/html5/thumbnails/4.jpg)
• I want to access device capabilities for which AIR does not provide an ActionScript API
• I want to re-use legacy code
• I want to use native code to achieve greater performance than I can in ActionScript
• http://www.adobe.com/devnet/air/native-extensions-for-air.html
Native Extensions (ANEs)
![Page 5: Adobe MAX Recap](https://reader035.vdocuments.net/reader035/viewer/2022062307/554dd45eb4c905d10e8b4af6/html5/thumbnails/5.jpg)
Flash Builder
Android SDK & NDK
XCode
Visual Studio
Adobe AIR
Native Extensions (ANEs)
![Page 6: Adobe MAX Recap](https://reader035.vdocuments.net/reader035/viewer/2022062307/554dd45eb4c905d10e8b4af6/html5/thumbnails/6.jpg)
Native Extensions (ANEs)
![Page 7: Adobe MAX Recap](https://reader035.vdocuments.net/reader035/viewer/2022062307/554dd45eb4c905d10e8b4af6/html5/thumbnails/7.jpg)
Native Extensions (ANEs)
![Page 8: Adobe MAX Recap](https://reader035.vdocuments.net/reader035/viewer/2022062307/554dd45eb4c905d10e8b4af6/html5/thumbnails/8.jpg)
Native Extensions (ANEs)
![Page 9: Adobe MAX Recap](https://reader035.vdocuments.net/reader035/viewer/2022062307/554dd45eb4c905d10e8b4af6/html5/thumbnails/9.jpg)
Native Extensions (ANEs)
![Page 10: Adobe MAX Recap](https://reader035.vdocuments.net/reader035/viewer/2022062307/554dd45eb4c905d10e8b4af6/html5/thumbnails/10.jpg)
Native Extensions (ANEs)
![Page 11: Adobe MAX Recap](https://reader035.vdocuments.net/reader035/viewer/2022062307/554dd45eb4c905d10e8b4af6/html5/thumbnails/11.jpg)
Native Extensions (ANEs)
![Page 12: Adobe MAX Recap](https://reader035.vdocuments.net/reader035/viewer/2022062307/554dd45eb4c905d10e8b4af6/html5/thumbnails/12.jpg)
Native Extensions (ANEs)
![Page 13: Adobe MAX Recap](https://reader035.vdocuments.net/reader035/viewer/2022062307/554dd45eb4c905d10e8b4af6/html5/thumbnails/13.jpg)
Native Extensions (ANEs)
![Page 14: Adobe MAX Recap](https://reader035.vdocuments.net/reader035/viewer/2022062307/554dd45eb4c905d10e8b4af6/html5/thumbnails/14.jpg)
Native Extensions (ANEs)
![Page 15: Adobe MAX Recap](https://reader035.vdocuments.net/reader035/viewer/2022062307/554dd45eb4c905d10e8b4af6/html5/thumbnails/15.jpg)
Native Extensions (ANEs)
![Page 16: Adobe MAX Recap](https://reader035.vdocuments.net/reader035/viewer/2022062307/554dd45eb4c905d10e8b4af6/html5/thumbnails/16.jpg)
Demo
![Page 17: Adobe MAX Recap](https://reader035.vdocuments.net/reader035/viewer/2022062307/554dd45eb4c905d10e8b4af6/html5/thumbnails/17.jpg)
Stage3D (Molehill)
• A set of low-level, hardware accelerated APIs for both 2D and 3D rendering.
• Stage3D renders using the GPU (where possible).• Flash 11; Desktop only in AIR 3; mobile support coming.
![Page 18: Adobe MAX Recap](https://reader035.vdocuments.net/reader035/viewer/2022062307/554dd45eb4c905d10e8b4af6/html5/thumbnails/18.jpg)
Starling Framework
• http://www.starling-framework.org/• http://www.adobe.com/devnet/flashplayer/articles/introducing_Starling.html
var texture:Texture = Texture.fromBitmap ( new embeddedBitmap() );var image:Image = new Image(texture);image.pivotX = 50;image.pivotY = 50;image.x = 300;image.y = 150;image.rotation = Math.PI/4;addChild(image);
• http://tv.adobe.com/watch/max-2011-keynotes/gaming-and-3d/– Angry Birds: 7:08– Tank: 10:00– Nissan: 11:30– Unreal Tournament: 15:56
![Page 19: Adobe MAX Recap](https://reader035.vdocuments.net/reader035/viewer/2022062307/554dd45eb4c905d10e8b4af6/html5/thumbnails/19.jpg)
Captive Runtime
• Bundle the AIR runtime with your application• Your app is indistinguishable from a native app• Gives you control over your runtime version• Just add flags when packaging your application:
– apk-captive-runtime on Android– bundle on the desktop
• Flash Builder support is coming• Desktop and Android only
– Native installer on the desktop (DMG and EXE)– APK file on Android– Already implemented on iOS
![Page 20: Adobe MAX Recap](https://reader035.vdocuments.net/reader035/viewer/2022062307/554dd45eb4c905d10e8b4af6/html5/thumbnails/20.jpg)
• The -bundle packaging option creates an executable image of your application– Can run in place (DVD, USB)– Can be used as an input to an installer creation tool– Always uses the captive runtime option
• Custom installers can include arbitrary actions– registry settings, install services, and so on– enables use of native code with install-time requirements
• Custom installers can operate without admin privilege– Actual privilege requirements are up to the installer author– Captive runtime has no privilege requirements (run-in-place)
Captive Runtime
![Page 21: Adobe MAX Recap](https://reader035.vdocuments.net/reader035/viewer/2022062307/554dd45eb4c905d10e8b4af6/html5/thumbnails/21.jpg)
Demo
![Page 22: Adobe MAX Recap](https://reader035.vdocuments.net/reader035/viewer/2022062307/554dd45eb4c905d10e8b4af6/html5/thumbnails/22.jpg)
Native Text Fields
• Accessed through the StageText class.• Native text input on iOS and Android.• Advantages:
– Auto-correct– Auto-capitalize– Virtual keyboard configuration (i.e Number or URL)– Return key label configuration
• Challenges:– No border– Not on the display list (highest z-order)
• Solutions:– drawViewPortToBitmapData() function
• Creates bitmap of text, toggle visibility
– NativeText class (wrapper for StageText).
![Page 23: Adobe MAX Recap](https://reader035.vdocuments.net/reader035/viewer/2022062307/554dd45eb4c905d10e8b4af6/html5/thumbnails/23.jpg)
Background Audio
• iOS only (already worked on Android)• App continues to run in the background with screen updates
disabled:– Preserves battery life– Complies with Apple’s multi-tasking requirements
• Configuration changes only (no code)• Also enables audio recording
![Page 24: Adobe MAX Recap](https://reader035.vdocuments.net/reader035/viewer/2022062307/554dd45eb4c905d10e8b4af6/html5/thumbnails/24.jpg)
Randoms
• Front-facing Camera Support– Camera.position = CameraPosition.FRONT
• Mobile Encrypted Local Storage• Device Speaker Control
– Play audio through a device’s earpiece or speakers.• Native JSON Support
– JSON.parse(text:String)– JSON.stringify(value:Object)
![Page 25: Adobe MAX Recap](https://reader035.vdocuments.net/reader035/viewer/2022062307/554dd45eb4c905d10e8b4af6/html5/thumbnails/25.jpg)
• Higher Resolution Bitmaps– AIR 1: 2,880 x 2,880 (8 megapixels)– AIR 2: 4,095 x 4,094 (16 megapixels)– AIR 3: ∞ Left up to the platform.
• ArgumentError: Error #2015: Invalid BitmapData.• Better iPad CameraRoll Support• Hardware Accelerated Video Accessed through the StageVideo class
– No filters, alpha channel, etc.– Square video with controls (most common video scenario).
• H.264 Video Encoding
Randoms
![Page 26: Adobe MAX Recap](https://reader035.vdocuments.net/reader035/viewer/2022062307/554dd45eb4c905d10e8b4af6/html5/thumbnails/26.jpg)
Randoms
• Multichannel Audio Digital Output– Support for:
• Dolby Digital Plus 5.1.• DTS 5.1.
– ActionScript and RTMP.• New Capabilities.hasMultiChannelAudio.
• Advanced Controller Support (AIR for TV only)– New GameInput API:
• Enumerating devices.• Enumerating controls:
– Buttons– Triggers– Acceleration
• Getting controls values:– Events– Polling
![Page 27: Adobe MAX Recap](https://reader035.vdocuments.net/reader035/viewer/2022062307/554dd45eb4c905d10e8b4af6/html5/thumbnails/27.jpg)
Display Object API’s
![Page 28: Adobe MAX Recap](https://reader035.vdocuments.net/reader035/viewer/2022062307/554dd45eb4c905d10e8b4af6/html5/thumbnails/28.jpg)
What I missed
• Android Market licensing integration• Hardware accelerated video• Socket improvements• JPEG XR support• GC advice API
http://adobe.ly/qW20zs• Secure random number generation• Support for cubic bezier curves
![Page 29: Adobe MAX Recap](https://reader035.vdocuments.net/reader035/viewer/2022062307/554dd45eb4c905d10e8b4af6/html5/thumbnails/29.jpg)
I’m a thief…
• Thanks to: – Christian Cantrell - MAX Presentation
http://goo.gl/ubrq6– Oliver Goldman – MAX Presentation
http://goo.gl/tHQnh