Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Adobe Animate 2021

You're reading from   Mastering Adobe Animate 2021 Explore professional techniques and best practices to design vivid animations and interactive content

Arrow left icon
Product type Paperback
Published in Feb 2021
Publisher Packt
ISBN-13 9781801074162
Length 404 pages
Edition 1st Edition
Concepts
Arrow right icon
Author (1):
Arrow left icon
Joseph Labrecque Joseph Labrecque
Author Profile Icon Joseph Labrecque
Joseph Labrecque
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Section 1: Getting Up-To-Speed
2. Chapter 1: A Brief Introduction to Adobe Animate FREE CHAPTER 3. Chapter 2: Exploring Platform-Specific Considerations 4. Chapter 3: Settling into the User Interface 5. Chapter 4: Publishing and Exporting Creative Content 6. Section 2: Animating with Diverse Techniques
7. Chapter 5: Creating and Manipulating Media Content 8. Chapter 6: Interactive Motion Graphics for the Web 9. Chapter 7: Character Design through Layer Parenting 10. Chapter 8: Animating Poses with IK Armatures 11. Chapter 9: Working with the Camera and Layer Depth 12. Section 3: Exploring Additional Platforms
13. Chapter 10: Developing Web-Based Games 14. Chapter 11: Producing Virtual Reality Content for WebGL 15. Chapter 12: Building Apps for Desktop and Mobile 16. Chapter 13: Extending Adobe Animate 17. Other Books You May Enjoy

Programming an AIR Application

In this section, we'll use ActionScript to tie all of our interface components together into a unified application. ActionScript is similar to JavaScript in some ways (they are both based on ECMAScript), but very different in other ways, since they are derived from different branches of the specification.

While we could write all of our ActionScript code using frame scripts, it is better to leverage the Object-Oriented Programming features that are so prominent in the language and create a Document Class.

Establishing a Document Class

We'll now create a Document Class and bind it to our .fla document. The Document Class will exist as a .as file and exists separately from the .fla file. When you use a Document Class for your project, it must extend either the MovieClip or Sprite classes, depending upon whether you require animation or not in your main document timeline. Extending one class with another will give you access to all the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image