Quantcast
Channel: Adobe Community : All Content - Adobe Animate CC - General
Viewing all 13519 articles
Browse latest View live

HTML5 Canvas how to set video component fullscreen with script

$
0
0

I would like to know how I can set the video component to full screen with script. (Not with actionscript off course for it is for html5)


FPS seems to change during playback?

$
0
0

My animation is set to 24 FPS, but when I play it back, the FPS in the timeline changes from 24 to 12.05 FPS. I'd like to view my animation in real time... Can anyone provide insight on this?

HTML buttons on separate div to play canvas animation

$
0
0

Hi All,

 

I'm hoping someone can point me in the right direction. I've exported my canvas animation just fine and all the buttons function, however, I need to place the buttons on a separate div so that it is at the top level of the rest of the design. Here is what I started:

 

HTML:

<button id="button_10" type="button" >projects</button>

 

JS:

<script>

document.getElementById("button_10").addEventListener("click", myFunction);

 

function myFunction() {

   document.getElementById("canvas").fl_ClickToGoToAndPlayFromFrame_4.bind(this));

function fl_ClickToGoToAndPlayFromFrame_4()

{

this.gotoAndPlay(1);

}

}

</script>

 

<script>

var canvas, stage, exportRoot, anim_container, dom_overlay_container, fnStartAnimation;

function init() {

canvas = document.getElementById("canvas");

anim_container = document.getElementById("animation_container");

dom_overlay_container = document.getElementById("dom_overlay_container");

var comp=AdobeAn.getComposition("19EDC99F39D3DC478ED3A7B69C8D50AC");

var lib=comp.getLibrary();

handleComplete({},comp);

} ...

</script>

Flash Importing Problems

$
0
0

Whenever I try to import a jpeg (or other file) into flash, it just shows up as "Preview Not Available" in the library. And when I drag it onto the timeline nothing shows up. This is a new problem as I've been able to successfully import other jpegs that don't have this problem. Why won't these other files work?

Modifying sourceFilePath with JSFL results in Duplicate Items being created

$
0
0

We are currently using AuthortimeSharedAssets. We have a need to update the Source File path through JSFL.

 

I am attempting to do this via this snippet of code:

 

var lib = document.library
for (var i in lib.items) {  var sym = lib.items[i]  if (sym.itemType == "movie clip") {  if (sym.sourceFilePath) {  sym.sourceFilePath = "file:///Macintosh%20HD/tmp/fla_exper/files/AuthortimeSharedAssets.fla"  }  lib.selectNone()  }
}

 

 

When running I find a very curious thing in that when I set sourceFilePath on some symbols, it creates duplicate symbols. This does not happen for all the symbols, but only some. Typically the symbols that exhibit this behavior are symbols which are contained in another symbol. Additionally, they are also in a folder. For example, say we have

 

Buy Button/BuyButton

Buy Button/BuyGlare

 

where BuyGlare is a symbol within BuyButton

 

This also seems to mutate the array I'm iterating, because as this loop is occurring, it will actually also process the duplicates.


The net result is that for symbols that are duplicate, the original do not have their sourceFilePath changed, but the duplicates do.

 

The other interesting thing I find is that when the process is done, the symbols which do not get duplicated are all highlighted in the Library.

 

Interestingly, setting sourceAutoUpdate as well as setting sourceLibraryName do not cause this problem. Only setting sourceFilePath will cause this.

Animate CC HTML5 Canvas Navigation Issues

$
0
0

I am using Adobe Animate CC HTML5 Canvas.

 

I am using some variables and gotoAndStop to navigate the timeline as if they are pages.

 

Moving forward through the timeline gives me no issues, however, when I got back on the timeline (i.e. from frame_1 to frame_0) when I land on the previous page many interactions don't work (visibility and button hover) and then when I try to go forward again it does not stop on the correct frame anymore.

 

Using an alert I found that it is jumping through the course even though I have stops.

 

Can anyone please help me? I can send the whole files if needed.

 

Here is my code for page navigation:

 

this.stop();

 

// ***PLAYER NAVIGATION & INFO SECTION***

 

// VARIABLES FOR NAVIGATION

var frameNumber = this.currentFrame;

var nextFrame = frameNumber + 1;

var prevFrame = frameNumber - 1;

 

 

// DISPLAYS CURRENT PAGE NUMBER

var displayText = this.currentFrame.toString();

var thisText = "Page " + displayText;

var createText = new createjs.Text(thisText, "bold 44px Myriad Pro", "White");

this.addChild(createText);

 

// STYLING TEXT OTHER THAN WEIGHT/SIZE/FONT/COLOR

createText.x= 98;

createText.y= 1375;

 

// CLEARS PREVIOUS PAGE NUMBER BEFORE MOVING FRAMES

this.next.addEventListener("click", removePageNumberNext.bind(this));

function removePageNumberNext()

{

this.removeChild(createText);
this.gotoAndPlay(nextFrame);

}

 

this.prev.addEventListener("click", removePageNumberPrev.bind(this));

function removePageNumberPrev()

{

this.removeChild(createText);
this.gotoAndPlay(prevFrame);

}

 

Exported GIF images not looping despite settings.

$
0
0

I cannot get any gifs to loop their animation when I export from Animate CC (2018), even though I have the looping set to "forever" in the export settings. They loop in my mac's finder window, but I'm pretty sure Finder loops all gifs regardless of their settings. When I drag the files into a web browser, they only play once. Same results for both Chrome and Firefox. Why is my "forever" setting just getting ignored when it exports? How do I fix this? I have dug up some iffy websites that let me upload the gif and set it to loop forever, but the image quality and frame rate go down.

can one button do two things in animate CC?

$
0
0

i'm a designer & 2D animator and i stopped coding somewhere before AS3 so my coding chops are minimal.

I know I'm late to the dance, but i'm just now starting to learn about animate cc & html5.

i thought i'd take an old .fla file and try and convert it to Animate CC and then to html5.

 

i'm starting with a simple image slider.

I found code online to allow me to make a simple slide show but now I'd like to add some functionality to the 'next button'

i'm trying to add 'AnimateHorizontally' to an element that's on screen when the button is clicked.

i found this code:

this.moveObject.addEventListener("tick", fl_AnimateHorizontally.bind(this));

function fl_AnimateHorizontally()

{

this.moveObject.x+=100;

}

which moves the 'moveObject' 100 pixels to the right.

but it does it when the playback head enters the frame. how do i get it to move when the button is clicked instead.

and can multiple elements be added so one click starts a number of elements moving at once.

be gentle, if this is too code heavy I may have to give up.

thanks,

martoons


Pressure sensitivity button on brush tool not showing up

$
0
0

Hi forum,

 

I just bought the hp spectre x360 which has the hp active pen stylus that I use to draw with on the screen.

Pressure sensitivity on that pen has 4020 levels which all work on photoshop, sketchbook and other drawing programs, so thats not the issue.

The issue here is that adobe animate doesn't have the button on the toolbar that is supposed to enable the pressure sensitivity on the brushtool.

And no, it's not because i have the toolbar docked improperly so that the icon isn't on the screen, it's just not showing up.

 

I would really appreciate it if someone could help. I've searched the internet for a solution but i couldn't find one specifically for my problem

 

Thank you in advance,

 

Casey.

Inverse Mask? Hide what my shape covers up

$
0
0

Hi,

I would like my mask to hide only what my shape covers instead of hiding what is outside of my shape the way Animate CC does it by default. Is there a way to accomplish this?

Thanks!

oam file suddenly not streaming well at all

$
0
0

Hello all,

 

I made a project that mimics our friendly train system's app here in Chicago as a means to display my ability to use photoshop, animate, and some JS.  I pushed the files onto github and found a link to a site that let me host my github content immediately.  Here's its link:

https://rawcdn.githack.com/rockomatthews/metraaaa/master/metraaaaUnresponsive.html

 

It was working perfectly initially there.  But I even later put the .oam file into a muse site and its lately been very laggy-looking.  It reminds me of a computer running too many apps than it can handle.  Delayed touch interaction, etc, etc.  This them is consistent when it is viewed within html and directly imported as an .oam in Animate.  My first idea is to make it simply make it smaller.  That usually fixes slow beasts.... but I am posting here assuming that is not the solution. One more thing, it has never lagged while previewing in Animate.  Thanks in advance!!

 

Here it is on my site:

http://robmatthe.ws/metra.html

 

 

Any ideas?  Export settings possibly?  New update to software I am not familiar with or should take into account?

Hearing audio with playhead in HTML5

$
0
0

Suggestion for enhancement: Please find a way to allow the ability to hear audio in development by scrubbing playhead along timeline in HTML5 project. I know this can be done with synced audio in an Action Script file but the world also needs to sync audio in HTML5 (and all) projects.

How do I reset the stage rotation?!

$
0
0

Thank you for the new stage / canvas rotation tool. It's great. Now how the heck do I make it to go back to normal non-rotated view?!

Adobe Flash Pro CS6 closes after creating new project

$
0
0

New install on Windows 7 sp1 with current windows updates. Version 12.0. I have uninstalled and ran Adobe cleaner and reinstalled more than once, but issue is still occurring.

 

Problem signature:

  Problem Event Name:                        APPCRASH

  Application Name:                             Flash.exe

  Application Version:                           12.0.0.481

  Application Timestamp:                     4f76375f

  Fault Module Name:                          AdobeOwl.dll

  Fault Module Version:                        4.0.93.0

  Fault Module Timestamp:                  4f346283

  Exception Code:                                  c0000090

  Exception Offset:                                00026100

  OS Version:                                          6.1.7601.2.1.0.256.48

  Locale ID:                                             1033

  Additional Information 1:                  0a9e

  Additional Information 2:                  0a9e372d3b4ad19135b953a78882e789

  Additional Information 3:                  0a9e

  Additional Information 4:                  0a9e372d3b4ad19135b953a78882e789

Lip sync solutions for Animate?

$
0
0

Does anyone know of any good software that can analyze an audio recording and generate key frames for a character's mouth movements to match it? Preferably something that works well with Animate.


How do I synchronize an embedded graphic symbol with the main timeline?

$
0
0

I'm using Animate CC. I have animated a character which is in a graphic symbol. In the main timeline, the animation plays fine. When I go to a key at frame 640 and double click the symbol on the stage, it opens the embedded symbol but on an arbitrary frame. Isn't there a way to sync the symbol with the main timeline, so that when I click fr. 640 in the main timeline, it goes to fr. 640 in the embedded symbol?

 

It seems like this was something you could set in Preferences in old versions of Flash.

No HTML file after publishing

$
0
0

Hello, guys!

 

There is a strange problem. I publish my HTML5 and got nothing. Compilation is OK, but screen is blank.

I checked it by browser code viewer and there is mistake.

It's in russian, but as I see there is no HTML5 code inside, also there is no sprite sheet, although it's created.

Before I changed some library Cyrillic names of static objects to english, like "Анимация 1" to "Animation 1".

They are not used for any buttons or interactive functions, so they can't influence HTML5 compilation.

Also, I tried to switch off "combine bmp to sprite sheet" function - no sense.

Other animations work well. Could you tell me what's the reason of a such strange error?

Снимок экрана 2018-01-18 в 14.06.40.png

 

Also, I tried to publish it again, but as you can seem there is no sprite sheet in HTML5 resources list.

Снимок экрана 2018-01-18 в 14.13.43.png

Brush is acting like an eraser?

$
0
0

All of a sudden my brush tool displays an eraser icon and I can't draw anything. Whats going on and how do I fix it?26943337_1936581849699080_1550523910_n.jpg

Flash Pro CS6 crashes from Command-C or Edit > Copy

$
0
0

Hello, my Flash Professional CS6 keeps crashing when I use the Copy command!  It crashes when I copy a vector or shape.  If I restart the program, I can paste what I had copied that caused the crash, but it crashes again next time I use Copy.  It doesn't always crash, and sometimes I can copy many times in a row, but it usually crashes the first time I Copy, each time I start Flash.  It wont crash if what I'm copying is text.  I'm on Mac Sierra, and this does not happen if I start the computer in safe mode.  I've tried reinstalling Flash and cleaning out any purgeable memory including caches and PRAM and stuff.  The problem is easily repeatable.  Any advice would be awesome please, thanks for reading!

Flash CS6 - Unable to save document (to windows server) [OSX Mavericks]

$
0
0

Since updating to OSX Mavericks, I've been unable to save to our network server (HP Proliant with raid 6 running Windows 2008 R2).

 

I can save to any given filename once (open an old file from pre-OSX update and then save / create a new file and then save it as something) - any subsequent saves to that file name result in a warning dialogue box similar to this:

http://forums.adobe.com/servlet/JiveServlet/downloadImage/2-5536476-366655/450-135/Screen+Shot+2013-07-24+at+9.02.22+PM.png

 

The original FLA will also corrupt during the attempted save process. The file size will also bloat.

 

For example my intial test file is listed as 211KB in finder

 

I open it perform an amend and save it once - that works fine. My file is still 211KB in finder

 

I then reopen it for another amend and attempt to save.
The unable to save warning dialogue appears. The file is now 421KB in finder and corrupt.

 

If I try to resave after the first file save fails the file continues to bloat.

e.g. if I attempt to save it another twice the file will now show as 843KB in finder and still be corrupt

Viewing all 13519 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>