Professional Documents
Culture Documents
Joseph Labrecque
Senior Interactive Software Engineer | Adjunct Faculty University of Denver Proprietor | Owner Fractured Vision Media, LLC Adobe Community Professional Adobe Education Leader Adobe Certified Expert Adobe Certified Educator Adobe Influencer Author Packt Publishing | OReilly Media | Lynda.com | video2brain | Adobe Press | Peachpit Artist An Early Morning Letter, Displaced | shivervein
2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Edge Animate Overview Historical Component Creation Animate Composition Anatomy Creating Simple Components Advanced Components Component Libraries Resources
EDGE ANIMATE
Free to use at some level Part of the Adobe Creative Cloud Built from scratch for creative HTML, CSS, and JavaScript Includes the following:
Edge Animate Edge Code Edge Inspect Edge Reflow Edge Web Fonts / Typekit PhoneGap Build
Edge Animate
New tool for motion and interactivity Based upon standard web technologies Precise animation tools Web font integration CSS Filters and Gradients Motion Paths Symbols Mobile friendly
COMPONENT CREATION
2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Components?
Components are self-contained bits of code and assets which enable specific functionality across an application.
Many, many, many Flash Libraries Web Templates Adobe TopCoat Twitter Bootstrap Foundation Flat UI Apache Flex The Shadow DOM
10
Components are just Symbols! How you think about them and how you wire them up matters a great deal. They can be as simple or as complex as you want.
11
Plan out functionality Plan design in support of that functionality Asset creation Edge Animate Symbol creation Wire up assets with interactivity Expose variables for customization Optionally integrate external data Distribution
12
Component creation in Flash Professional is very similar to approaches in Edge Animate :) Skills are easily transferable.
We will:
Create a Button with 3 states and the ability to set a custom label. Examples using Flash Professional first then transfer this modal to Edge Animate. Also see a complex component in Edge Animate.
13
Button skin
Up Hover Down
Dynamic label text object Actions Layer to stop() the Timeline Labels Layer to set state
14
Wiring Up Interactivity
Force familiar button behavior:
Corresponding functions to handle each event and jump to a specific label for each:
this.gotoAndStop(Hover);
15
Much like Flash content, Animate compositions can be used to create any number of projects:
Web Animations Web Banners Web Interactives Mobile Assets (PhoneGap) Simple Games Widgets
18
Symbols in Animate have their own Stage and Timeline. Similar to How Flash Professional MovieClip Symbols have their own Timeline. Symbols can have nested logic and assets.
creationComplete() beforeDeletion()
19
Autoplay Instance:
Scale Resize
20
CREATING COMPONENTS
2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
23
24
Jump to Timeline Labels to switch state. label is a Text Box exposed within the Symbol for outside manipulation. Easy!
25
Drag an instance onto the Stage Give it an instance id Invoke sym.getSymbol(id) From here you can Invoke functions Modify variables Target elements
26
ADVANCED COMPONENTS
2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Nested parts with isolated events Presentation of many data pieces Communication between Symbol instances Data injection from the parent Stage Tap into remote data APIs
29
Composition Setup
Important considerations before getting too far in the development of our component
Will this be a responsive layout? Is it better to resize, or scale? Set defaults for layout When should the component initialize? What properties/methods may be exposed?
30
Component Parts
When building a small widget in Animate we will want all of these tasks to occur internal to that component Symbol.
Makes it easily accessible. Makes it infinitely distributable. Contains all aspects of the component within itself.
31
Already available within the composition Mature library Familiarity Cross-browser support Great JSON support via AJAX!
32
Lots of web services have nice APIs to tap into which server as JSON or XML We are going to use Twitter Pull @ mentions into a component!
33
Expose a method to the parent Stage which allows method invocation (and passing of args):
loadTweets("@EdgeAnimate", 7);
2.
3.
34
2.
Create a function to loop over the results and build up internal data structures based upon these results. Once finished, manipulate the component in such a way that it is fed the ingested data and exposes it through the Animate composition.
3.
35
Change the text within a Text element Adjust CSS properties w/ jQuery Adjust Animate properties like location, scale, and transform. Even generate additional instances of component parts through nested symbol duplication.
36
Animation adds life into what might otherwise be a dull experience. Subtle animation is often the best animation.
*Just as with Flash content be careful when doing crazy stuff a lot of power here
37
COMPONENT LIBRARIES
2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Animate Symbols can be exported from the Library via right-click menu. These .ansym files can be imported into additional projects. When imported, they retain Symbol structure and contents. Anything on the main composition Stage is not carried over with Animate Symbol files.
40
Templates are persistent across projects. Templates, much like Animate Symbol Libraries, are distributable. We can include any amount of functionality we desire within a Template.
Templates with a formed Stage. Templates with basic Library exposed. Templates which demonstrate component usage :)
41
Zip up the Animate project Save the entire composition as a Template Save individual Symbol components as Animate Symbol Libraries
42
Distribution Platforms
There are many private and public platforms which can be used to distribute these component sets:
GitHub BitBucket DropBox SkyDrive Google Drive Adobe Creative Cloud Local Network
43
FURTHER EXPLORATIONS
2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
EdgeCommons
https://github.com/simonwidjaja/EdgeCommons
45
Thank You
Get in touch Twitter: Email: Web: @JosephLabrecque Joseph.Labrecque@du.edu http://JosephLabrecque.com/
46
for your chance to WIN one of these e-books from Adobe Press
Every survey you submit enters your name to win the daily grand prize an Apple iPod Nano.
2013 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
47