Skip to main content
Participant
January 10, 2019
Answered

Animate cc Adding mp3 file creates javascript error on publishing HTML5 canvas

  • January 10, 2019
  • 3 replies
  • 1641 views

I have a simple cartoon with about 10 symbols, one animation and one sound file. I test once and it is fine, the second time I test it I receive this error:

"A javascript error occurred."

and in the output box it says:

An unexpected error occurred during export. [JSX]

When I remove the sound file, I can test as many times as I like.

I was able to publish it, it plays in Google chrome, and Edge, but there is no sound on anything from APPLE.

Any Ideas would be of great help.

This topic has been closed for replies.
Correct answer spudbutch001

In the publish settings turn off the Export document as texture feature and every thing works fine File -> Publish -> (Uncheck) Export file as texture.

3 replies

spudbutch001AuthorCorrect answer
Participant
February 1, 2019

In the publish settings turn off the Export document as texture feature and every thing works fine File -> Publish -> (Uncheck) Export file as texture.

Participant
January 12, 2019

I found a solution to the problem. If you don't place two of the same symbols on the same layer, for example a pair of eyes, the HTML5 canvas tests fine as many times as you like.

kglad
Community Expert
Community Expert
January 10, 2019

are you clicking something on your canvas to trigger the sound to start?

Participating Frequently
January 10, 2019

I have the same problem. Canvas document. Added sound that extends the full length of the 6 sec. timeline. Did the new auto-sync. Now it won't play sound and I can't test or output to html except for the first time after I open the file (tried this a few times to test it). No button to trigger the sound.

kglad
Community Expert
Community Expert
January 10, 2019

add your sound to a button listener and test.