Solved

Flash audio problem while editing.

Posted on 2004-09-03
3
149 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
ID: 11977960
Press Escape to stop the audio too!
0
 

Author Comment

by:StayingAwake
ID: 11978168
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
ID: 11979485
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
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 select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

813 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

17 Experts available now in Live!

Get 1:1 Help Now