Copy link to clipboard
Copied
hi,
I have a problem,
In the timeline the animation work. But after publish, nothing works!!! Not the animation and not the button up hit and down.
Does someone have a solution? It's a little emergency.
Thanks to all
Copy link to clipboard
Copied
if as3, are there any error messages in the compiler panel or the output panel?
if canvas, are there any error messages in the browser's developer console?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
a3 or canvas? (and if as3, what file type(s) are you publishing?)
how are you testing?
Copy link to clipboard
Copied
that was a fla. document and I convert it to html5 canvas.
And after the converting, it's doesn't work after publish (in fla. everything ok)
test with publish in browser
Copy link to clipboard
Copied
animate rarely converts everything in a fla (that publishes a working swf) to a fla with working html5.
eg, if there's any code, that needs to be manually converted from as3 to easeljs/actionscript.
p.s. did you really check the developer's console in your test browser?
p.p.s. there had to be, at least, warnings in animate when you tested. what were they? (and double check for error messages)
Copy link to clipboard
Copied
But most animations work. And 3 of them no.
This is why I don't understand the bug.
This is the warning:
** 156 Bitmaps packed successfully into 8 spritesheet(s).
Frame numbers in EaselJS start at 0 instead of 1. For example, this affects gotoAndStop and gotoAndPlay calls. (234)
Only circular (not oval) radial gradients are supported. (3)
Color effects are published as a filter and subject to the same limitations. (400)
Shadow and glow filters are very expensive effects, and not all options are supported. (2)
Filters are very expensive and are not updated once applied. Cache as bitmap is automatically enabled when a filter is applied. This can prevent animations from updating. (93)
Applying "cache as bitmap" to an animated instance will prevent the animation from updating. (93)
Classic tweens that end on a keyframe with multiple elements may have unexpected results. (4)
Modifying the transform point in a tween can produce unexpected results.
Content with both Bitmaps and Buttons may generate local security errors in some browsers if run from the local file system.
I hope we find quickly a solution!
Copy link to clipboard
Copied
are all these animations (the working and failing ones) all in the same fla?
or you mean you have different flas, some that work when testing and some that do not work.
Copy link to clipboard
Copied
All in the same fla
Copy link to clipboard
Copied
Most likely you have applied Tint, Brightness or some other Color Effect to those Symbols instances which do not play in the Canvas export.
Pay attention to this:
Color effects are published as a filter and subject to the same limitations. (400)
You have to remove all Color Effects and deal with you needs to have variations in other ways.
Copy link to clipboard
Copied
Yes, I know that. But now I'm talking about two animations without color effect or something like that. There is animations that run on hover and it's work in fla but not after convert to html5 canvas
Copy link to clipboard
Copied
recreate the animations that fail, in your canvas fla.
for each failed animation, you can copy and paste the animation end points and apply the tween in animate.