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
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.
North America
Europe, Middle East and Africa
Asia Pacific