-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathHistoryActionButton_edgeActions.js
More file actions
95 lines (67 loc) · 2.78 KB
/
HistoryActionButton_edgeActions.js
File metadata and controls
95 lines (67 loc) · 2.78 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
/***********************
* 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.bindTriggerAction(compId, symbolName, "Default Timeline", 2750, function(sym, e) {
sym.stop();
});
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "${WinnerSymbol}", "click", function(sym, e) {
// insert code for mouse click here
$("#Stage-HistoryWinner").show();
AdobeEdge.getComposition('OTF-HistoryWinner').getStage().play();
});
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "${VenueSymbol}", "click", function(sym, e) {
// insert code for mouse click here
//sym.getSymbol("Readmore").getSymbol("ReadMore_Left").getSymbol("ReadMore").play(0);
//$("#Stage-HistoryReadMore").fadeIn(500);
});
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "${ResultSymbol}", "click", function(sym, e) {
// insert code for mouse click here
$("#Stage-HistoryReadMore").fadeIn(500);
sym.getSymbol("Readmore").getSymbol("ReadMore_Right").getSymbol("Evenmore").play(0);
});
//Edge binding end
})("stage");
//Edge symbol end:'stage'
//=========================================================
//Edge symbol: 'ResultSymbol'
(function(symbolName) {
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 2750, function(sym, e) {
// insert code here
sym.stop();
});
//Edge binding end
})("ResultSymbol");
//Edge symbol end:'ResultSymbol'
//=========================================================
//Edge symbol: 'WinnerSymbol'
(function(symbolName) {
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 2750, function(sym, e) {
// insert code here
sym.stop();
});
//Edge binding end
})("WinnerSymbol");
//Edge symbol end:'WinnerSymbol'
//=========================================================
//Edge symbol: 'VenueSymbol'
(function(symbolName) {
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 2750, function(sym, e) {
// insert code here
sym.stop();
});
//Edge binding end
})("VenueSymbol");
//Edge symbol end:'VenueSymbol'
})(window.jQuery || AdobeEdge.$, AdobeEdge, "OTF-HistoryActionButton");