Book Image

iAd Production Beginner's Guide

By : Ben Collier
Book Image

iAd Production Beginner's Guide

By: Ben Collier

Overview of this book

Think of an iAd as a micro-app contained within an app on a user's iPhone or iPad that they've downloaded from the App Store. When the user taps your advert's banner it bursts into life filling the entire screen of their device. iAd Beginner's Guide takes you through the start to finish process of building rich, compelling, interactive iAds. You will learn to create beautiful multi-page ads with store finders, social sharing, 3D images and video galleries. You will create ads that utilize the powerful technologies in the iPhone to make your brand shine. Once you have engaged the user you can carry out targeted advertising campaigns with location-based coupons, store finders and social engagement. Using the iTunes Store you will see how it's even possible to add one-click digital content purchasing right within your ad. Learn how iAd producer manages all the HTML5, JavaScript, and CSS3 behind your iAd. You will be creating emotive, gripping and effective mobile advertising campaigns in no time.
Table of Contents (18 chapters)
iAd Production
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface

Time for action — accessing an object


Let's continue using the Cloud 9 - iPad adthat we created in the last chapter. We'll add some tweaks to our Test Flight page's scroll view object that wouldn't be possible with the iAd Producer interface:

  1. 1. Open the project Cloud 9 - iPad in iAd Producer. If you didn't complete this project, then open the file 8. Store Finder.iadproj in the folder Cloud 9 and then Exercises. This file has the previous exercises completed for you.

  2. 2. Double-click on the first page, Test Flight, from the ad overview to open it on the canvas. Right-click on the hatched background outside of the canvas and expand the menu item Page Events | View Did Load | Execute JavaScript. This will automatically create the required function for this event and open the code editor for this page:

  3. 3. In the code editor window, iAd Producer has created a new function for this page that will be called and run when the view appears. The //Code goes here placeholder comment shows you where to...