Movie clip frames move with mouse movement
greetings,
yes, know reasonably frequent topic, skills limited, hope there's here who's feeling generous , helpful.
a couple of years ago, created simple project in edge animate series of photographs (i'm photographer, not programmer) on stage , scrub through these images when mouse moved horizontally when project published, based on provided paul trani (i believe). basic project worked great! life got in way , had lay project aside - until now.
but now, edge animate no longer supported , crashes when attempt work in (i'm guessing mac osx no longer quite compatible last version of edge animate). so, i'm trying work in animate cc, don't know how edit (simple?) piece of make work me in animate.
can me see error of ways? i've spent twenty thirty hours trying relearn actionscript, searching web clues - , i'm getting further behind, feels.
thank much,
tim!
_________________________________________
/***********************
* adobe edge animate composition actions
*
* edit file caution, being careful preserve
* function signatures , comments starting 'edge' maintain
* ability interact these actions within adobe edge animate
*
***********************/
(function($, edge, compid){
var composition = edge.composition, symbol = edge.symbol; // aliases commonly used edge classes
//edge symbol: 'stage'
(function(symbolname) {
symbol.bindelementaction(compid, symbolname, "${stage}", "mousemove", function(sym, e) {
// insert code run when mouse moved on object
this.onmove(e.pagex, e.pagey);
});
//edge binding end
symbol.bindelementaction(compid, symbolname, "document", "compositionready", function(sym, e) {
// insert code run when composition loaded here
this.onmove=function(posx, posy){
timelinecontrol = number(posx)*7;
console.log(timelinecontrol);
sym.stop(timelinecontrol);
}
});
//edge binding end
})("stage");
//edge symbol end:'stage'
})(window.jquery || adobeedge.$, adobeedge, "edge-5078234");
about main question, take guesses, i'm going ask expert in both edge animate , adobe animate drop by, see if can going.
about edge animate though, i'm on latest macos , have no problems opening edge animate. might want sorted out, still have option.
More discussions in Adobe Animate CC - General
adobe
Comments
Post a Comment