Skip to main content
Participant
Jan 16, 2014 2:58 PM UTC
Answered

Unable to Switch Audio Sync Settings

Hey everyone,

I'm trying to create an animation based off of a 5-minute mp3 audio recording. I need to be able to switch my audio sync settings to Stream so that I can preview audio anywhere in my animation. Currently if I press play just anywhere in the animation it doesn't play the audio. I have to play from the beginning to hear.

After doing some searching on the Internet, I figured out I have to switch my audio sync setting to Stream so that I can play audio anywhere in the timeline. However, the only option I have available is Event. The other ones are greyed out, as the screenshots below testify. Any help would be appreciated. Thanks!

Hardware and Software Statistics:

Adobe Flash Professional CC (CS6) - Version 13.1.0.226

Windows 7 Home Premium - Version 6.1 - Build 7601: Service Pack 1

Intel Core i7, 4GB RAM, NVIDIA GeForce GT 525M

This topic is closed to new replies. Start a new post to keep the conversation going.
kristofer
kristoferCorrect answer
Participant
Jan 17, 2014 12:25 AM UTC

Hi jato9281,

Is your project an HTML5 project?  For some reason HTML5 projects only support "Event" audio.  If you use an Action Script 3 project  you should be able to switch your audio to Stream.

27 replies

mlevered
Participant
Jun 29, 2016 1:21 AM UTC

Does anyone know when Adobe is planning to add audio streaming support to html5 documents created in Animate? As we inch closer to a full scale transition from Flash to html5, I'm hoping that all these unsupported features ( See how Animate CC handles unsupported content types when you migrate content to HTML 5 Canvas ) continue to become integrated into html5 Canvas.

Translate
Colin Holgate
Inspiring
Jun 29, 2016 3:11 AM UTC

It may be that some things will be too hard to do in Javascript compared to AS3 playing in a native code plugin. In the case of Stream sync though you can code your own solution for playback. Look at this code as an example way of making a 500 frame animation keep up with real time Event audio:

var fps = 24;

var starttime = createjs.Ticker.getTime();

createjs.Ticker.setFPS(fps);

createjs.Ticker.addEventListener("tick", movealong);

self = this;

var firstframe = 0;

var lastframe = 500;

function movealong() {

  var now = createjs.Ticker.getTime();

  var f = Math.min(lastframe,Math.floor((now - starttime) / 1000 * fps + firstframe));

  self.gotoAndStop(f);

}

Translate
mlevered
Participant
Jun 29, 2016 5:40 PM UTC

Thanks Colin, that's very helpful. I don't code, but I work with devs who could help me. Part of the beauty of Flash is that it is such a powerful tool for animators who don't code. Features like the stream setting are pretty critical for lip sync and other animation elements that coordinate with audio. It would be shame if that were lost for good, and only available to those savvy enough to use a workaround. In general, I hope Adobe can cut down that list of unsupported features, otherwise a lot of people's existing content will become basically unusable when they transition to html5 canvas output.

Translate
amy_macdonald
Participating Frequently
Nov 23, 2015 7:45 PM UTC

We had the same problem with files that WERE AS3 files with imported wav files. When I copied all frames/layers and pasted them into a new AS3 document we could then switch from EVENT to STREAM.

Translate
Mohanaraj
Adobe Employee
Adobe Employee
Nov 24, 2015 3:42 AM UTC

Hi,

Is it possible for you to share the AS3 fla where the Sync type is disabled for us to investigate?

You can us any file sharing utility like Drop Box to share the fla.

Thanks!
Mohan

Translate
amy_macdonald
Participating Frequently
Nov 28, 2015 2:22 AM UTC

Hi- it was a student's file but I've run into this problem as well. If it happens again I'll send it. Belated thanks for responding.

Best,

Amy MacDonald

Translate
Participant
Feb 20, 2014 2:53 PM UTC

Anybody ever figure this out?  I've been using Flash for years and always use stream.  I can't for the life of me figure out why I can't select Stream in the Sync settings.

Note:  I'm using Flash CC.

Translate
Mohanaraj
Adobe Employee
Adobe Employee
Feb 20, 2014 3:29 PM UTC

Hi,

As Kristofer pointed out, if you are in HTML5 Canvas document then these sound options (Effect type and Sync type) are disabled. The target platform(HTML5 Canvas) doesnt support these functionalies and hence they are disabled.

You will get the following message if you try to paste a layer with such sound properties

* Effect type of Sound cannot be imported in HTML5 Canvas document.

* Sync type is not supported in HTML5 Canvas document, and has been converted to Event.

If you create a ActionScript 3.0 document then these options are available for you to manipulate where the target platform(Flash) has a support the same.

Thanks!
Mohan

Translate
Participant
Feb 20, 2014 3:35 PM UTC

Fantastic, thanks!  I had a brain hiccup and just didn't see Krisofer's helpful posting!

Translate
kristofer
kristoferCorrect answer
Participant
Jan 17, 2014 12:25 AM UTC

Hi jato9281,

Is your project an HTML5 project?  For some reason HTML5 projects only support "Event" audio.  If you use an Action Script 3 project  you should be able to switch your audio to Stream.

Translate
Participating Frequently
Oct 23, 2014 9:40 PM UTC

Thank you so much Kristofer. I seriously spent the last 20 minutes trying different audio formats and the whole nine, then finally came up with the right google search word combination to find the solution. I knew it was going to be some kind of simple fork in the road issue. Action Script 3 doc, and I'm off and running. Much appreciated.

Translate
kglad
Community Expert
Community Expert
Jan 16, 2014 3:25 PM UTC

restart your computer and retry.

if that fails upload your mp3 somewhere and post a link.

Translate
jato9281Author
Participant
Jan 16, 2014 11:11 PM UTC

The first the thing a person should always do when they encounter a problem is restart their computer. No worries, I did that.

I tried converting the file to OGG and WAV to see if it would work better. Apparently Flash Professional handles WAV fine, allowing me to switch between Stream and Event audio sync settings. That's kind of strange, because WAV files are so huge and aren't practical when developing a game or something like that.

Thankfully, I'm just using Flash Professional to export a video, so I don't care about file size, but it's a disturbing bug.

If anyone knows why I was unable to switch to Stream audio sync settings with MP3 files, please speak up.

Translate