Solved

Flash audio problem while editing.

Posted on 2004-09-03
3
147 Views
Last Modified: 2010-04-03
Pardon my inexperience with Flash... I may be doing something blatently stupid, but bear with me. I'm trying to create a simple 1 minute animation using an mp3 as the musical background accompaniment. I'm editing specific visual content to match the audio. But for some reason when I lay the mp3 in the timeline and hit "enter" to play, no matter what I do to stop the track from playing, the song continues to the end. Hitting "enter" again will stop the cursor from scrolling, but the sounds continues to play. It's quite annoying when trying to sync the animation to the track. Am I doing something way off target here?

Any help is appreciated.

-Masen

PS - Using WinXP with Flash MX
0
Comment
Question by:StayingAwake
  • 2
3 Comments
 
LVL 10

Expert Comment

by:muso120999
Comment Utility
Press Escape to stop the audio too!
0
 

Author Comment

by:StayingAwake
Comment Utility
That's cool. Too simple. Thanks! BUT.... is there a reason that I can't seem to hear the audio unless I start from the beginning? If I play through 10 - 15 seconds of the piece... stop. and then try to start again from the place I've stopped... it will play, but with no audio. Any thoughts?
0
 
LVL 10

Accepted Solution

by:
muso120999 earned 150 total points
Comment Utility
You're right, I don't think you can preview the audio properly that way, but after all, this is only a preview mode: you really need to use Test Movie.

You could put a temporary button on the timeline, with the mp3 at the start, and use the code on the button:
on(press){
      trace("Frame number: "+_currentframe);
}

Then when you "test movie" (Control+Enter), and click the button, you will get the frame number appear in the output window.

One other thing, if you have this mp3 in the main timeline (also _root, or _level0), you might like to bear in mind that the mp3 will have to load in first before anything else happens in the movieclip.  This is because of the way Flash streams - it loads what it can, and as soon as it can play something, it can.  However, if you want to use a preloader, this will only work unless you shift the mp3 from frame 1 of the main timeline, or you preload the movie inside another one.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now