Copy link to clipboard
Copied
Hi so as you see from the title above I'm having tons of issues with audio. At first I was not able to import audio into the library. While I did solve that, now I cannot HEAR the audio when I drag along the timeline OR just hit the play button. I feel like there's some really easy solution to this, but I wouldn't have any idea as to what it is.
If you want to scrub the timeline and hear sound, or if you want to play the sound from somewhere other than the start, you would need to be using an Actions Script 3 FLA, and have the Properties sync option for the sound be set to Stream.
HTML5 Canvas only does Event sync. If you have to make your animation work in HTML5 in the end, first work on the animation as AS3, so you can use Stream sync, then when you're happy with the timing you can use the Commands menu to Convert to Other Document For
...Copy link to clipboard
Copied
If you want to scrub the timeline and hear sound, or if you want to play the sound from somewhere other than the start, you would need to be using an Actions Script 3 FLA, and have the Properties sync option for the sound be set to Stream.
HTML5 Canvas only does Event sync. If you have to make your animation work in HTML5 in the end, first work on the animation as AS3, so you can use Stream sync, then when you're happy with the timing you can use the Commands menu to Convert to Other Document Formats, to make an HTML5 Canvas version.
Copy link to clipboard
Copied
Thank you so much!!!
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Excuse me, currently using Actions Script 3 and this does not work, I chose Action Script 3 and this still wouldn't work, please help.
Copy link to clipboard
Copied
Hi Colin,
Thanks for that. Though I have a slightly different process.
1. Add sound to a layer in the HTML version
2. Make a back up
3. Create a new version by converting to Actionscript 3.0
4. In the AS3 version, select the first fram of the sound layer to 'streaming' in its properties
5. Go to the sound layer (AS3) and copy the layer
5. Go back to your HTML version
6. Delete the 'event only' sound layer.
7. Paste the 'streaming' sound layer.
Then you should be able to scrub the sound.
This avoids dealing with any commenting out of code from the AS3 version.
It's good for the authoring environment though I cannot get ot to play when published.
To do that I use Javascript.
Hope this helps at least for getting sound while authoring.
Cheers,
Ron
Copy link to clipboard
Copied
i have a different work flow.
import a sound into a html5/convas time and assign the sound's sync property to sync.
ie, no work-around needed.
p.s. user interaction is requred to hear sound in browser displayed files.
Copy link to clipboard
Copied
That's extremely impractical and information that would should be on a need to know basis before selecting a project type.
Copy link to clipboard
Copied
Which was the part that is extremely impractical?
For anyone else who chances across this 8 month old post, it's worth noting that the convert option is now on the File menu (File/Convert To...), and not in the Commands menu in the later versions of Animate.
Copy link to clipboard
Copied
And I'm not sure he understands what "need to know basis" means.
Copy link to clipboard
Copied
I actually just did this on my html project, and it worked beautifully. Make a copy of your work so far (back it up), then convert it to AS3. When I converted the AS3 back to HTML Canvas, it commented out my action script that stopped at a certain frame, and waited for user input (cicking a button to continue). I simply uncommented that Action Script, and now the sound and user control work fine.
Copy link to clipboard
Copied
Thank you so much for this information but Im having trouble findingwhere to change the properties sync option for the sound be set to Stream. I am using a Macbook. Do you know where I could go to change these on the app?
Copy link to clipboard
Copied
Thank you for this answer, it worked!
Some notes for implementing this answer:
You need to click on the frame with the audio on in order for the window with changing the Sync to Stream option to become available to you. The properties Sync option can be found in Window - Properties - Frame.
Thanks again man, lots of love ❤️
Copy link to clipboard
Copied
Thank you, too! I was having the same issue.
Copy link to clipboard
Copied
Currently using AS3, doesn't work. Help please.
Copy link to clipboard
Copied
Hey im having a similar problem my audio is a mp3 and its in stream but when i import it then edit my animation the audio cuts off (the audio i have is less then the amount of frames i have for it) and its pretty frustrateing cause the only solution i found for it is just to creaye a new layer and import the sudio again so its up to date please help
Copy link to clipboard
Copied
what's the problem? the audio stops in the ide (authoring environment) when you scrub/play the timeline containing the audio?
Copy link to clipboard
Copied
No, its compleately fine when i first import the audio but then if i add more frames anywhere but the end of the animation, it stops aprutly where it was last played and dosent continue the rest of the song
Copy link to clipboard
Copied
you're adding non-keyframes to a layer that contains non sound and that causes a problem in the layer with sound?
Copy link to clipboard
Copied
Ya ecept ir dosent matter if it s a key frame or not just adding frames near the middle of the animation
Copy link to clipboard
Copied
upload your fla (to a file share service) with all the assets needed to demonstrate the problem. ie, it has sound that works without problem until a frame is added to any layer prior to the end of the timeline. post a link.
Copy link to clipboard
Copied
I didnt do that but i did record it and put it on youtube here you go, if you need something with a better canera or just clearer i can do that
Copy link to clipboard
Copied
Copy link to clipboard
Copied
that didn't help.
so again, upload your fla (to a file share service) with all the assets needed to demonstrate the problem. ie, it has sound that works without problem until a frame is added to any layer prior to the end of the timeline. post a link.