codice:
/***********************
* Azioni di composizione in Adobe Edge Animate
*
* Modifica con cautela questo file di testo, prestando attenzione a salvare
* firme e commenti di funzione che iniziano con "Edge" per mantenere
* possibilità di interagire con le azioni dall'interno di Adobe Edge Animate
*
***********************/
(function($, Edge, compId){
var Composition = Edge.Composition, Symbol = Edge.Symbol; // alias per le classi usate più di frequente in Edge
//Edge symbol: 'stage'
(function(symbolName) {
Symbol.bindElementAction(compId, symbolName, "${_logo_bottone}", "mouseout", function(sym, e) {
sym.getSymbol("logo_bottone").playReverse("Out");
});
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "${_logo_bottone}", "mouseover", function(sym, e) {
// adds hand cursor (was logo8)
$(this.lookupSelector("logo_bottone")).css('cursor','pointer');
// play the timeline from the given position (ms or label)
//sym.play("OnHover");
sym.getSymbol("logo_bottone").play("OnHover");
});
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "${_logo_bottone}", "click", function(sym, e) {
// Navigate to a new URL in the current window
// (replace "_self" with appropriate target attribute for a new window)
window.open(myUrl, "_self");
});
//Edge binding end
})("stage");
//Edge symbol end:'stage'
//=========================================================
//Edge symbol: 'particelle'
(function(symbolName) {
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 6650, function(sym, e) {
sym.playReverse();
});
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 999, function(sym, e) {
sym.play();
});
//Edge binding end
})("particelle");
//Edge symbol end:'particelle'
//=========================================================
//Edge symbol: 'atmosfera'
(function(symbolName) {
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 998, function(sym, e) {
sym.play();
});
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 5993, function(sym, e) {
sym.playReverse();
});
//Edge binding end
})("atmosfera");
//Edge symbol end:'atmosfera'
//=========================================================
//Edge symbol: 'logo_bottone'
(function(symbolName) {
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 999, function(sym, e) {
sym.stop();
});
//Edge binding end
})("logo_bottone");
//Edge symbol end:'logo_bottone'
//=========================================================
//Edge symbol: 'Precaricatore'
(function(symbolName) {
})("Precaricatore");
//Edge symbol end:'Precaricatore'
})(jQuery, AdobeEdge, "Strappo");