I just updated to 20.0.2 and now none of my sounds work (HTML5 canvas doc).
Sounds added to the timeline don't make a sound
update: went back to 19.2...(couldn't go back to 18 unfortunately).
But timeline sounds are not working. No error, but no sound.
Come on, there's no way we went all the way through v19 with this being the case, right? But for the life of me I can't imagine why sounds put on a frame in the timeline would work in v18 and not work in v19 and v20.
Anyone else had this? Or maybe I should ask: do your timeline sounds work in v19 or v20 ?
Well I guess I'll let this issue go dormant if no one else has it. I tried re-importing the sounds, no luck. Nothing plays on the timeline. I didn't have anything starting on the first frame, which was a known issue at one time.
So for now, no using timeline sounds, and I'm sticking with 19.2 until 20.0.2 and createjs work their sound issues out.
Make sure you have it on stream.
Can't put it on stream in HTML5 Canvas, there is only option for "event" in HTML5 Canvas development.
Previously you would have to do a user action on mobile to start sound working. It looks that's now the case with desktop browsers, at least some. On macOS Catalina, Safari and Chrome need you to do a mouse click, but Microsoft Edge and Firefox don't.
Right, sometimes sounds won't play before a user click. In all my cases, there is a user click.
createjs.Sound.play("mySoundLinkageName", false, 0, 0, 0, 1);
and the error I get is
TypeError: Cannot read property 'startTime' of undefined
(i.e., I don't have a startTime var attached to anything, it comes from createJs or Animate)
I think that some of those example commands are for people using CreateJS outside of Animate, and if CreateJS changed, maybe some of those examples don't work the same anymore.
For me, I double-click the Link column in Library, for the sound I'm using, type in "test", then this line works fine:
To tie it to a movieclip named 'red', I have this:
Ok, that works! I figured createjs had changed in some way to break that code, since it worked fine in v18 and v19 but not v20, which updated the createjs version used.
Not sure where I got that code with the parameters, but really, finding anything related to HTML5 Canvas and Animate is hard to come by.
Well that solves half my problem.
The other half is that keyframe sounds don't play in v19 or v20....I'll make a different post on that to separate the two issues.
Could we change the volume with your solution?