Get help using Adobe Animate and creating animations.
Recently active
these errors show up and my stop command wont work, whats wrong with my code?? i'm new to action script, and i used a youtube tutorial to create the drag and dropHere is my Code stop();var obyeks:Array=new Array();var boxs:Array=new Array();obyeks=[puzzle1,puzzle2,puzzle3];boxs=[kotak1,kotak2,kotak3];{for (var Number=0 ;i<obyeks.length;i++)} {obyeks[i].addEventListener(MouseEvent.MOUSE_DOWN,startdrag);obyeks[i].addEventListener(MouseEvent.MOUSE_UP,stopdrag);}function startdrag(e:MouseEvent) {e.currentTarget.startDrag();}function stopdrag(e:MouseEvent) {e.currentTarget.stopDrag();for(var i:Number=0 ;i<obyeks.length;i++){for(var j:Number=0;j<boxs.length;j++){if ((Math.abs(obyeks[i].x - boxs[j].x) < 50) && (Math.abs(obyeks[i].y - boxs[j].y) <50))obyeks[i].x=boxs[j].x;obyeks[i].y=boxs[j].y;}}}function updateScore(){for (var i:Number=0;i<obyeks.length;i++){if (((obyeks[0].x==boxs[0].x)&&(obyeks[0].y==boxs[0].y))&&((obyeks[1].x=
I'm working with Adobe Flash Professional CS6 after taking a class years ago and I've since forgotten most of the lessons I had learned in the distant past. For a fun home project, I just took a photo I found online and tried getting some text to scroll across the photo. Then, I have the text blinking in and out of the center of that image. I saved my work, but I can't seem to preview my work in a normal sized window after loading from Publish Preview nor could I figure out how to clean up the area surrounding the stage (where there's a black square shape protruding from the upper left side.) When I export the project into a .gif file (which is what I ultimately am working on this to accomplish,) it's only focused on the upper left side of the stage and all of my work is cut off. I don't know what to do and my knowledge is extremely limited, I apologize.
How do I deal with an error when pressing the button repeatedly for bring up a pop up which causes the pop up not be removed like this? ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller. at flash.display::DisplayObjectContainer/removeChild() at sempoakuadran_Mainmenu_fla::MainTimeline/removePopupExit()[sempoakuadran_Mainmenu_fla.MainTimeline::frame67:106] at sempoakuadran_Mainmenu_fla::MainTimeline/closePopupExit()[sempoakuadran_Mainmenu_fla.MainTimeline::frame67:111] The code created by me is like this: var popupExit = new ExitPopUp;var isPopup = false;function addPopupExit(str=""):void{popupExit = new ExitPopUp;popupExit.popupTxt.text = str;popupExit.yaBtn.addEventListener(MouseEvent.CLICK, keluarApk);popupExit.tidakBtn.addEventListener(MouseEvent.CLICK, closePopupExit);popupExit.x = 1000;popupExit.y = 540;addChild(popupExit);isPopup = true;}function removePopupExit():void{popupExit.yaBtn.removeEventListener(MouseEvent.CLI
Hello, So I was currently working on a huge animation and the copy and paste thing for the frames wasn't working, so I copied all of the frames of the project, deleted them, and then opened a new file and tried to paste them to fix the issue, but it didn't work, now my file might be lost forever. Note that I put around 4 months of work into it 😞 Is there any sort of way to recover a document's version history, and is it possible to restore an old version of the document? Plz, let me know.
I'm not sure where should I put the rightbracketHere is my code{[object FlashVars] [object FlashVars]var pieces = root.pieces;var slots = root.slots;var restart = root.restart;var winMessage = root.winMessage;var positions = [];};root.setup = function(){document.body.style.backgroundColor = lib.properties.color;createjs.Touch.enable(stage);stage.mouseMoveOutside = true;root.drawStart = stage.on("drawstart", root.start, null, true);};root.start = function(e){stage.off("drawstart", root.drawStart);winMessage.originalY = winMessage.y;pieces.children.forEach(function(child, index){positions[index] = {x:child.x, y:child.y};});slots.children.forEach(function(child, index){child.mouseChildren = false;});root.restartHandler(null);restart.on("click", root.restartHandler);pieces.on("mousedown", root.mouseDownHandler);};root.restartHandler = function(e){pieces.count = 0;winMessage.text = "";root.shuffle();};root.mouseDownHandler = function(e){e.currentTarget.setChildIndex(e.target, e.currentTarge
How can i change (or delete) scratch disk in Adobe Animate? I have a 40 seconds animation, which i cannot export. Thanks in advance!
i dont know what to code should i replace bcs i use AS3Here is my code var root = this;var pieces = root.pieces;var slots = root.slots;var restart = root.restart;var winMessage = root.winMessage;var positions = [];root.setup = function(){document.body.style.backgroundColor = lib.properties.color;createjs.Touch.enable(stage);stage.mouseMoveOutside = true;root.drawStart = stage.on("drawstart", root.start, null, true);};root.start = function(e){stage.off("drawstart", root.drawStart);winMessage.originalY = winMessage.y;pieces.children.forEach(function(child, index){positions[index] = {x:child.x, y:child.y};});slots.children.forEach(function(child, index){child.mouseChildren = false;});root.restartHandler(null);restart.on("click", root.restartHandler);pieces.on("mousedown", root.mouseDownHandler);};root.restartHandler = function(e){pieces.count = 0;winMessage.text = "";root.shuffle();};root.mouseDownHandler = function(e){e.currentTarget.setChildIndex(e.target, e.currentTarget.children.
When I run this movie I get a compiler error of :Line 20 1176 Comparison between a value with static type String and a possibly unrelated type NumberHere is my codevar deck = this.deck;var maxIndex = deck.children.length;var faces = [];var previousFace;var face;var presses = 0;function start(){exportRoot.stop();faces = getRandomArray(maxIndex);setFaces(faces, maxIndex);deck.on("click", onClickDeck);}function onClickDeck(e){face = e.target;face.mouseEnabled = false;face.alpha = 0.2;if (presses % 2 == F){if(face.name.slice(0, -1) == previousFace.name.slice(0, -1)){face.mouseEnabled = falsepreviousFace.mouseEnabled = false;previousFace.alpha = 0.2;}else{face.mouseEnabled = true;face.alpha = 1;previousFace.mouseEnabled = true;previousFace.alpha = 1;}}else{previousFace = face;}presses++;}function setFaces(array, max){for (var i = F; i<max; i++){var card = deck.getChildAt(i) as MovieClip ;card.index = i;card.name = "card" + String(array[i]) + String(i % 2);card.txt.text = String(array[i])
I keep getting the same errorHere is my code var deck = this.deck;var maxIndex = deck.children.length;var faces = [];var previousFace;var face;var presses = 0;function start(){exportRoot.stop();faces = getRandomArray(maxIndex);setFaces(faces, maxIndex);deck.on("click", onClickDeck);}function onClickDeck(e){face = e.target;face.mouseEnabled = false;face.alpha = 0.2;if (presses % 2 == 1){if(face.name.slice(0, -1) == previousFace.name.slice(0, -1)){face.mouseEnabled = falsepreviousFace.mouseEnabled = false;previousFace.alpha = 0.2;}else{face.mouseEnabled = true;face.alpha = 1;previousFace.mouseEnabled = true;previousFace.alpha = 1;}}else{previousFace = face;}presses++;}function setFaces(array, max){for (var i = F; i<max; i++){var card = deck.getChildAt(i) as MovieClip ;card.index = i;card.name = "card" + String(array[i]) + String(i % 2);card.txt.text = String(array[i]);}}function getRandomArray(max){var array = [];for (var i = F; i < max; i++)array[i] = Math.floor (i * 0.5);ret
How do I make the JSFL file activated during Animate startup?
I have hundreds of .fla files containg projects from previous versions of Animate/ Flash that no longer will open. I get an error message that the file(s) cannot be opened. I can understand perhaps 1 or 2 files being corrupt or damaged but not hundreds. I have even tried backup of the files for which I keep 2 sets. My guess is that at some point some .fla file were not compatible with new program updates. My question is, Is there a way to get access to an older version of Animate/flash so that I may open these files and retrieve my work? Any help would be appreciated. The message I get is "An error occurred opening file..."
1084 SYNTAX ERROR:expecting rightbrace before end of programHere is my Code://---- script drag ndrop puzzle ----var obyeks:Array=new Array();var boxs:Array=new Array();obyeks=[puzzle1,puzzle2,puzzle3];boxs=[kotak1,kotak2,kotak3];for(var i:Number=0;i<obyeks.length;i++){obyeks[i].addEventListener(MouseEvent.MOUSE_DOWN,startdrag);obyeks[i].addEventListener(MouseEvent.MOUSE_UP,stopdrag);}function startdrag(e:MouseEvent) {ecurrentTarget.startDrag();}function stopdrag(e:MouseEvent) {ecurrentTarget.stopDrag();for(var i:Number=0 ;i<obyeks.length;i++){for(var j:Number=0;j<boxs.length;j++){if ((Math.abs(obyeks[i].x - boxs[j].x) < 50) && (Math.abs(obyeks[i].y - boxs[j].y) <50))obyeks[i].x=boxs[j].x;obyeks[i].y=boxs[j].y;}}}function updateScore(){for (var i:Number=0;i<obyeks.length;i++){if (((obyeks[0].x==boxs[0].x)&&(obyeks[0].y==boxs[0].y))&&((obyeks[1].x==boxs[1].x)&&(obyeks[1].y==boxs[1].y))&&((obyeks[2].x==boxs[2].x)&&(obyeks[2
HiI worked on a animated Menu with petals. (https://community.adobe.com/t5/animate-discussions/im-kreis-angeordnetes-animiertes-menu/m-p/13352858#M359241)With some great help from kglad I got the menu to work the way I wanted it to.When i use the Preview (ctrl + Enter), everything is fine . Unfortunately, when I try to publish the whole thing, the animation no longer plays correctly. What could be the reason? Best regardsChristoph
Hi there, I'm trying to create a Xmas Advent calendar that will allow a user to click on a button to reveal a product but only on that day. Once clicked it can stay open indefinitely. For example Day 1 would be clickable and reveal a product discount but subsequent buttons ( eg Day 2, Day 3, Day 4 etc) wouldn't be clickable until the day that that button is allowed to be clicked (if that makes sense). Would a count down timer be best to achieve something like this ie a timer to calcuatate 24 hours after which time a trigger would activate the next sequential button (eg Day 2) to be clickabe? Any suggestions or help would be greatly appreciated.
Hello!I am currently working on a project and using the lip sync option for the first time. I have looked on the message board but can't find the answer to my question except there was a bug 2 years ago relating to my issue. But thought it would have been fixed by now so guessing its human error here! I am trying to set up my visemes. They are all set up in each key frame and as a graphic symbol. However when I go to select the right mouth for the sound made it only shows the current frame that I am on. I have attached screenshots! Any help would be amazing! Thank you 🙂
Hello, I made a simple animation to be published on a website using Adobe Animate CC. I'm not a pro and it's my first time ever using this program. When I play it inside Animate it plays until the end, if I export it to a video file it plays until the end of the timeline, but when I try to preview it or even publish it in HTML5 Canvas, it stops playing before the end of the timeline and I'm not figuring out why. Can somebody help me understand what I'm missing and what should I do to be able to publish it so that it plays until the end of the timeline?
I have four buttons. When you hover the mouse cursor over one of the buttons, an inscription appears in the text field, when the cursor goes beyond the button, the text disappears. The code looks very large, although parts of it are repeated. Is there any way to reduce (optimize) this code? My main project uses more than 50 buttons (That's a lot of code!) function OUT(e: MouseEvent): void { Text field.text = ""; } function text1(e: MouseEvent): void { Text field.text = "hello"; } button_1.addEventListener(MouseEvent.MOUSE_OVER, text1); button_1.addEventListener(MouseEvent.MOUSE_OUT, OUT); function text2(e: MouseEvent): void { Text field.text = "how are you doing"; } button_2.addEventListener(MouseEvent.MOUSE_OVER, text2); button_2.addEventListener(MouseEvent.MOUSE_OUT, OUT); function text3(e: MouseEvent): void { Text field.text = "WHERE DO YOU WORK?"; } button_3.addEventListener(MouseEvent.MOUSE_OVER, text3); button_3.addEventListener(MouseEvent.MOUSE_OUT, OUT
im new to animate and dont understand the attached. Create a movieclip id like to loop but it deosnt allow you to place it on the timeline.... i just dont get it
Olá! Meu mac é antigo e o OSx é o High Sierra, não consigo atualizar mais do que isso.. Como consigo uma versão do Animate pra instalar nele?
Hello, I would like to know how I can cut a piece of the drawing like what is done with the blade in Adobe Illustrator, Thank you.
Question is pretty much in the title. Do you think it's easier or less time consuming to create animations like this: https://youtu.be/wojVr00rTk0in Animate or is it better to draw all the body parts in Photoshop and then assemble it as it's needed in Premiere Pro? 😄 Those animations are from 2003 btw and they were made with flash. Thanks for helpful answers!
Randomly when I export an animate file as an mp4 using media encoder, there will be a weird glitch or two at random times while I watch the mp4 after creating it. It doesn't happen every time though. Everything is up to date and I tried uninstalling and reinstalling the Media Encoder app, but it didn't fix the problem. Anyone have any ideas for how to fix this problem? It's for my job so I really need to figure this out.
I'm exporting an animated .gif in Animate, and I see in the dialog that there are only "once" and "forever" as looping options. WTH? What happened to setting a custom loop (say, 3x which is TOTALLY STANDARD across the web). [Moved from generic Start/Help forum to the specific Program forum... Mod][To find a forum for your program please start at https://community.adobe.com/]
Hi, I am working in adobe animate cc and I am struggle to fill in my background with the fill bucket tool. I know how to change the stage colour but because I have a couple scenes in my animation that require different solid colour backgrounds I would need different stage colours but I'm not sure how to do that. Changing the stage colour keeps it the same colour for the entire animation. Does anyone know how to change the stage colour at different sections ? Thanks!Bili
Hello,I was looking for some tutorials on Adobe's website and the ones I found won't load (https://www.adobe.com/products/animate.html). I click on them and all I get is a something went wrong message.well the one called "Learn the basics of Animate." works but "Get started with Animate." and "Work with layers." don't.If someone can tell me where can I find them or bring the links back, thanks a lot!
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.