Adobe
Products
Acrobat
Creative Cloud
Creative Suite
Digital Marketing Suite
Digital Publishing Suite
Elements
Photoshop
Touch Apps
Student and Teacher Editions
More products
Solutions
Creative tools for business
Digital marketing
Digital media
Education
Financial services
Government
Web Experience Management
More solutions
Learning Help Downloads Company
Buy
Home use for personal and home office
Education for students, educators, and staff
Business for small and medium businesses
Licensing programs for businesses, schools, and government
Special offers
Search
 
Info Sign in
Welcome,
My cart
My orders My Adobe
My Adobe
My orders
My information
My preferences
My products and services
Sign out
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out My orders My Adobe
Preorder Estimated Availability Date. Your credit card will not be charged until the product is shipped. Estimated availability date is subject to change. Preorder Estimated Availability Date. Your credit card will not be charged until the product is ready to download. Estimated availability date is subject to change.
Qty:
Purchase requires verification of academic eligibility
Subtotal
Review and Checkout
Adobe Developer Connection / Adobe AIR Developer Center / AIR showcase apps for mobile /

Digitas Cache II: An interactive publication

by Digitas

Digitas
  • digitas.com

Content

  • Choosing Adobe AIR
  • Incorporating video
  • Implementing multitouch
  • Changing orientation
  • Final thoughts on AIR

Created

3 October 2011

Page tools

Share on Facebook
Share on Twitter
Share on LinkedIn
Bookmark
Print
Adobe AIR Flash Professional mobile video

Requirements

User level

Beginning

Download the app

  • iTunes

Digitas Cache II is an annual digital publication for the iPad by Digitas, a full-service marketing agency. Last year we created it in native xCode and HTML5. Although it turned out great—there were some sliders that affected images, and other simple interactions—we weren't getting the interactivity level we wanted using HTML5. This article describes how we made Digitas Cache into a more immersive experience for the user (see Figure 1) by including audio, video, multitouch, and more.

Digitas Cache II
Figure 1. Digitas Cache II, an app for the iPad built on Adobe AIR

Choosing Adobe AIR

When Adobe AIR 2.6 came out, it was clear that Adobe was moving in the right direction. But it wasn't until they released AIR 2.7 that its real potential was clear: We were finally able to get the performance we sought without compromising much of our process and interactivity that we wanted to explore.

Since this was an AIR project, we approached the project in much the same way that we approach any other Flash project. We used the same proprietary framework we normally utilize but optimized it for a touch device. And because this is a magazine-type app, we were able to separate the different sections into their own mini apps.

Incorporating video

One thing that was really easy to implement with AIR was video. We just pulled in an FLV file and played it. Even though it plays on the CPU, we were able to get a decent performance in full-screen mode when we had the video sized at 50 percent and then bumped up its scale by 200 percent. We were even able to layer PNG files on top of it, which made for a nice experience.

For the intro video, however, we wanted to get a really crisp HD feel, so we opted to use StageWebView and place an H.264 video in it. This worked extremely well despite the fact that it isn't possible to have a video auto-play when in StageWebView (it's an iOS browser limitation).

We use FLV videos in various parts of the application (see Figure 2), as well as StageWebView with embedded H264 video. It's worth noting that AIR 3 supports H.264 video, so resorting to the browser will not be necessary going forward.

Video used in the "Thru the Lens" article
Figure 2. Video used in the "Thru the Lens" article

Implementing multitouch

Probably the most complex section of Digitas Cache, in terms of development, is the "It's OK to Touch" piece, which uses multitouch techniques. The article guides the user through different ways in which they can control sound through gestures—from play/pause to adjusting volume and rating a song. We created our own gesture library and had to monitor up to five simultaneous touch points.

Changing orientation

Although most of the Digitas Cache app is vertical, there are a few spots where you can rotate the iPad to reveal additional content horizontally (see Figure 3)—once in the story "Thru the Lens" and another time in "I2TV." We were able to implement this feature very easily by simply listening to a stage RESIZE event. This enabled us to create a nice transition to a custom photo library and to additional content that we delivered in landscape mode.

Use of horizontal content
Figure 3. Use of horizontal content in the otherwise mostly vertical app

Final thoughts on AIR

After our experience developing Digitas Cache II in AIR, we have created more iOS apps using this method than we have natively in xCode. Overall, the factor we were most impressed by was the ease with which we could apply a standard Flash development process for mobile devices, and how well that device responded. Even on an iPad 1 we got 30 fps without needing to use any blitting or any other heavy-duty optimization techniques.

Today most of our mobile development is based on AIR, as it provides a true cross-device platform for mobile app development.

More Like This

  • Sylvester's Band: A GPU-accelerated, interactive children's book for tablets and smartphones
  • Aqualux: An optimized browser-based game for devices
  • Conqu: A task-management app for desktops, tablets, and phones
  • Dr. Stanley's House 2: An escape-the-room game for multiple devices

Products

  • Acrobat
  • Creative Cloud
  • Creative Suite
  • Digital Marketing Suite
  • Digital Publishing Suite
  • Elements
  • Mobile Apps
  • Photoshop
  • Touch Apps
  • Student and Teacher Editions

Solutions

  • Digital marketing
  • Digital media
  • Web Experience Management

Industries

  • Education
  • Financial services
  • Government

Help

  • Product help centers
  • Orders and returns
  • Downloading and installing
  • My Adobe

Learning

  • Adobe Developer Connection
  • Adobe TV
  • Training and certification
  • Forums
  • Design Center

Ways to buy

  • For personal and home office
  • For students, educators, and staff
  • For small and medium businesses
  • For businesses, schools, and government
  • Special offers

Downloads

  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR
  • Adobe Shockwave Player

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Security
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2012 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy Policy and Cookies (Updated)

Ad Choices

Reviewed by TRUSTe: site privacy statement