I'm using Adobe Animate CC for a canvas project. I have an array that I assigned events listeners to like so:  for(var i = 0; i < navBtnArray.length; i++ ){ navBtnArray[i].addEventListener("click", navigationControls); }   What I am tr...
I am making a simple presentation in Animate CC, and I have several buttons, all with different names, similar functions (gotoAndPlay). Only one of the buttons work (button 22), and only on the first click, the second click it goes to the wrong frame...
I need to have a function that is accessed by Animate CC through connecting to an external file by: Global>Includes.  Then I need to run the function that is sitting on the external file when I click on a movie clip.  For example, the code on my m...
I'm working on a project in Adobe Animate CC and coding in JavaScript.  When I preview the project (Ctrl-Enter), the browser throws two errors:  Uncaught SyntaxError: Unexpected end of input   I understand that this occurs when there is a bracket...
I build Animate CC HTML5 canvas ads, and we have a new vendor who needs all assets saved in the root folder. When I change this publish setting in Animate, only the stage color loads. We have a test site, so I'm posting the and viewing from a ser...
I have this code (below) on a buton to force my HTML5 game to fullscreen, but I'd like to have it turn back also with the button - right now it only works using ESC key. Is it possbile?  this.fsbtn.addEventListener("click", doFullscreen);...
I have created a movie clip called firework_mc in the library and wrote the following code hoping to place it on the canvas:   var movieClip = exportRoot.firework_mc.play(); movieClip.x=100; movieClip.y=100;   I was hoping this would work but clearly...
I'm trying to center something on the stage using javascript inside an Adobe Animate CC canvas doc. Before in AS3 I would have accesses to the stage property.  So I would be able to do something like this   trace(stage.width);   I tried the same...
I have an html5 canvas project that's made to function as a multi-page eLearning interaction. Each "page" is designed to be a movieclip set on a main timeline, and buttons (page indicators) just use gotoAndPlay(); to get to the right page...
I'm trying to access movieClips from Animate CC 2015 via external javaScript file through the canvas. (I'm avoiding jQuery for file limit restrictions). All clips have instance names, in the past I had no issues using jQuery and syntax:    th...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.