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
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Adobe Edge Quickstart Guide

You're reading from   Adobe Edge Quickstart Guide Quickly produce engaging motion and rich interactivity with Adobe Edge Preview 4 and above with this book and ebook

Arrow left icon
Product type Paperback
Published in Mar 2012
Publisher Packt
ISBN-13 9781849693301
Length 136 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

Overview: The Adobe Edge Runtime APIs


Edge compositions are dependent upon the inclusion of both jQuery and Edge Runtime JavaScript libraries in order to animate elements and provide interactivity.

For these examples, we will be looking at the raw code within the project {name}_edgeActions.js file after applying the said actions. This file is arranged as follows:

/
* Adobe Edge Composition Actions
* Edit this file with caution, being careful to preserve
* function signatures and comments starting with 'Edge' to maintain
* the ability to interact with these actions from within Adobe Edge
/
(function($, Edge, compId){
var Composition = Edge.Composition, Symbol = Edge.Symbol; // aliases for commonly used Edge classes
//Edge symbol: 'stage'
(function(symbolName) {

Symbol.bindElementAction(compId, symbolName, "${_fvm001}", "mouseover", function(sym, e) {

// Change an Element's contents.
// (sym.$("name") resolves an Edge element name to a DOM
// element that can be used with jQuery)
sym.$("Info...
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