Copy link to clipboard
Copied
I'm splitting this problem out from my previous post, as I had 2 problems, one of which is solved [short version, don't use the extra parameter in createjs.Sound.play("mySound") in v20]
The problem I still have: sounds on the timeline, added on a keyframe using the "Sound" section of the Properties panel, don't make a sound. They work fine in v18, but not in v19 or v20.
Current workaround is adding code to the keyframe that issues a CreateJs.Sound.play() command, and that works, but it seems like timeline sounds should work as they did in v18. I have an old project with tons of timeline sounds that I can't compile in v19 or v20, and it would be a lot of busywork to turn that all into code, so hopefully the problem gets fixed in the next miniversion, or what I need to change gets discovered....
Copy link to clipboard
Copied
Timeline sounds work fine if you set the timeline playing with a mouse click. In the case of Edge and Firefox they will work without a mouse click, but with Safari and Chrome they need the user action. That is either a change from version 18, or with version 18 you happened to be using Firefox. You don't need the code work around. If you're finding something different to that, do you have an example FLA that shows the problem?
Copy link to clipboard
Copied
I always test in Chrome and timeline sounds worked for me in v18 but don't in v19 and v20. I get the same results in Firefox though.
They've always been triggered by a mouse click, though I don't know how far down the event chain the mouse click is kept track of to qualify as "set the timeline playing with a mouse click." I handle a click, maybe calling a function that calls a another function that tells a movie to goToAndPlay("frameName"), which I would think qualifies as setting the timeline playing with a mouse click. I'm working on a Mac if that makes a difference.
I'll work up an example next time I'm in the office (which might be a while as we're dodging Covid)
Find more inspiration, events, and resources on the new Adobe Community
Explore Now