Copy link to clipboard
Copied
Hi Folks,
Now that AS3 is dead, I'm trying to convert all my animations but I was never a good coder to begin with, so here goes.
Many of my animations were a single frame with multiple movies on the frame. So I might have a button in one movie call (?) another movie to perform some function. Bad description, but here's what I mean:
nextButton1.addEventListener(MouseEvent.CLICK, toNext1);
function toNext1(event:MouseEvent):void
{
Object(this.parent).overviewText.alpha=0;
Object(this.parent).GovernerLine.gotoAndPlay("On");
Object(this.parent).Filter.gotoAndPlay("Purge");
}
Is there a way to do similar calls in Javascript?
Do I need to rebuild with every single object in the frame and make a very large timeline?
Something in between?
I'm sure I have a steep learning curve ahead. Suggestions for flattening the curve anyone?
Thanks!
AS3 and Canvas documents use the exact same hierarchy model.
https://helpx.adobe.com/animate/kb/as-to-html5.html
Copy link to clipboard
Copied
AS3 and Canvas documents use the exact same hierarchy model.
https://helpx.adobe.com/animate/kb/as-to-html5.html
Copy link to clipboard
Copied
Thanks!
I'll check the doc link to see if the commands I wrote will work.