Skip navigation
Currently Being Moderated

Playing Embedded FLV's w/Audio

Jul 31, 2012 11:00 AM

Tags: #cs5 #flash #as3 #movieclip

Hi All,

I am creating a Greensock TimeLineMax based instruction movie template.

I want to import .FLV/.F4V videos with audio into the Library of the .FLA (CS5/AS3). I was importing the movies as a Movieclips(MC), but the sound on all the movies play immediately. On initializing the MC's, I stop the video in the MC's on the first frame. The audio plays immediately. I play() the MC, and the audio stops while the video plays as expected. I will be scrubbing this chain of FLV and Text pages with a slider component linked to the TimeLinemax timeline.

 

How can I sync up the audio and play it too?

 

Thanks,

Jim Wiley

 
Replies
  • Currently Being Moderated
    Jul 31, 2012 11:29 AM   in reply to Jim Wiley

    Try clicking somewhere in the video that contains the layer. Look at the properties panel. At the bottom make sure Sync is set to "Stream" and not "Event".

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 31, 2012 12:32 PM   in reply to Jim Wiley

    I think the easiest approach would be to add a single blank keyframe with a stop() to the beginning of every video. Then only when you're ready to play one, throw it a play(). That should stop all the audio. When you're done with one video return it back to frame 1. It's optimal not to have a bunch of videos present if they're not being used at the moment anyhow. Pushing them all a frame over means they're not loaded until you play() any one of those clips.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points