-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathTest2_edgeActions.js
More file actions
52 lines (36 loc) · 1.39 KB
/
Test2_edgeActions.js
File metadata and controls
52 lines (36 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/***********************
* Adobe Edge Animate 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 Animate
*
***********************/
(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, "${Menu}", "click", function(sym, e) {
ShowSideBarMenu();
});
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "${Logo}", "click", function(sym, e) {
ShowSideBarMenu();
});
//Edge binding end
})("stage");
//Edge symbol end:'stage'
//=========================================================
//Edge symbol: 'BG_Images'
(function(symbolName) {
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 1000, function(sym, e) {
sym.play(1001);
});
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 8000, function(sym, e) {
sym.playReverse(8000);
});
//Edge binding end
})("BG_Images");
//Edge symbol end:'BG_Images'
})(window.jQuery || AdobeEdge.$, AdobeEdge, "OTF-Intro");