Adobe Flash Professional with CreateJS

34
Adobe Flash Professional with CreateJS May 14 th 2013 Webinar Series for Adobe & WebProfessionals.org Joseph Labrecque

description

May 14th 2013 Webinar Series for Adobe & WebProfessionals.org

Transcript of Adobe Flash Professional with CreateJS

Page 1: Adobe Flash Professional with CreateJS

Adobe Flash Professionalwith CreateJS

May 14th 2013

Webinar Series for Adobe & WebProfessionals.org

Joseph Labrecque

Page 2: Adobe Flash Professional with CreateJS

Joseph LabrecqueSenior Interactive Software Engineer | Adjunct FacultyUniversity of Denver

Proprietor | OwnerFractured Vision Media, LLC

Adobe Community ProfessionalAdobe Education LeaderAdobe Certified ExpertAdobe Certified EducatorAdobe Influencer

Author Packt Publishing | O’Reilly Media | Lynda.com | video2brain | Adobe Press | Peachpit

ArtistAn Early Morning Letter, Displaced | shivervein

Page 3: Adobe Flash Professional with CreateJS

Publications

Page 4: Adobe Flash Professional with CreateJS

What We’ll Cover…

• What is CreateJS?

• Why target HTML?

• Flash Professional CC

• CreateJS workflow

• JavaScript in Flash Pro

• Resources

Page 5: Adobe Flash Professional with CreateJS

WHAT IS CREATEJS?

Page 6: Adobe Flash Professional with CreateJS

CreateJS

CreateJS is a suite of modular libraries and tools which work together to enable rich interactive content on open web technologies via HTML5.

Page 7: Adobe Flash Professional with CreateJS

EaselJS

EaselJS provides straight forward solutions for working with rich graphics and interactivity with HTML5 Canvas.

Page 8: Adobe Flash Professional with CreateJS

TweenJS

TweenJS is a simple tweening library for use in Javascript.

It supports tweening of both numeric object properties & CSS style properties.

Page 9: Adobe Flash Professional with CreateJS

SoundJS

Consistant cross-browser support for audio is currently a mess in HTML5, but SoundJSworks to abstract away the problems and makes adding sound to your games or rich experiences much easier.

Page 10: Adobe Flash Professional with CreateJS

PreloadJS

PreloadJS makes it easy to preload your assets: images, sounds, JS, data, or others. It allows multiple queues, multiple connections, pausing queues, and a lot more.

Page 11: Adobe Flash Professional with CreateJS

Toolkit for CreateJS

A complimentary extension for Flash Professional CS6* that enables you to publish rich Flash content to HTML5, leveraging CreateJS.

*included in Flash Professional CC.

Page 12: Adobe Flash Professional with CreateJS

WHY TARGET HTML?

Page 13: Adobe Flash Professional with CreateJS

Changing Landscape

iOS browsers do not support Flash Player

Android 4.1+ does not support Flash Player (Adobe’s call)

HTML/CSS/JS maturity

Page 14: Adobe Flash Professional with CreateJS

Role of Flash (web)

Shifted from “web animation” to multi-screen applications.

Present engineering focus:

– Premium Video

– Gaming

Page 15: Adobe Flash Professional with CreateJS

Role of Flash (motion)

Heavily used:

• Animation

• Video

Page 16: Adobe Flash Professional with CreateJS

HTML is growing up

• HTML5

• CSS

• JavaScript

• TypeScript

• ES6

Page 17: Adobe Flash Professional with CreateJS

Edge Tools & Services• Free to use at some level

• Part of the Creative Cloud

• Built from scratch forHTML, CSS, and JavaScript

• Includes the following:– Edge Animate

– Edge Code

– Edge Inspect

– Edge Reflow

– Edge Web Fonts / Typekit

– PhoneGap Build

Page 18: Adobe Flash Professional with CreateJS

Edge Animate

• Target the DOM for animation and interactivity

• Different from CreateJSwhich targets the HTML5 canvas tag

Page 19: Adobe Flash Professional with CreateJS

FLASH PROFESSIONAL

Page 20: Adobe Flash Professional with CreateJS

Flash Professional CS6

• Extension to be downloaded and installed

• Publish content using CreateJS libraries

Page 21: Adobe Flash Professional with CreateJS

Flash Professional CC

• Integrated with Flash Professional CC – not a separate install

• Basically the same functionality as with CS6 extension

Page 22: Adobe Flash Professional with CreateJS

CREATEJS WORKFLOW

Page 23: Adobe Flash Professional with CreateJS

Authoring Content

Page 24: Adobe Flash Professional with CreateJS

WarningsWARNINGS:

• Text support is limited. It is generally recommended to include text as HTML elements (see DOMElement). (3)

• Feature not supported: Custom eases. (108)

• Layers with classic tweens must contain only a single symbol instance. (20)

• Modifying the transform point in a tween can produce unexpected results. (3)

• Frame numbers in EaselJS start at 0 instead of 1. For example, this affects gotoAndStop and gotoAndPlay calls. (2)

• Shadow and glow filters are very expensive effects, and not all options are supported. (2)

• Input and static text fields are published as dynamic text fields. (3)

• Content with both Bitmaps and Buttons may generate local security errors in some browsers if run from the local file system.

Page 25: Adobe Flash Professional with CreateJS

Publish

Page 26: Adobe Flash Professional with CreateJS

Published HTML

Page 27: Adobe Flash Professional with CreateJS

JAVASCRIPTIN FLASH PRO

Page 28: Adobe Flash Professional with CreateJS

Using JavaScript• You can add certain

JavaScript commands within comments

• Mostly best to export assets – then wire them up externally

Page 29: Adobe Flash Professional with CreateJS

Future• Have an HTML

workflow fully integrated within Flash Professional

• Create rich content for multiple targets!

• Premiere tool for authoring rich experiences

Page 30: Adobe Flash Professional with CreateJS

DEMONSTRATIONTIME…

Page 31: Adobe Flash Professional with CreateJS
Page 32: Adobe Flash Professional with CreateJS

CLOSING

Page 33: Adobe Flash Professional with CreateJS

Resources

• http://createjs.com/

• https://github.com/CreateJS/sandbox

• http://creative.adobe.com/

• http://gaming.adobe.com/

• http://www.adobe.com/go/flashplayer_whitepaper

• http://Flashrealtime.com/future.pdf

Page 34: Adobe Flash Professional with CreateJS

Thank You

Get in touch…

Twitter: @JosephLabrecque

Email: [email protected]

Web: http://JosephLabrecque.com/