Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Flash audio problem while editing.

Posted on 2004-09-03
3
Medium Priority
?
155 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 600 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
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 how to record live broadcast.
Suggested Courses
Course of the Month12 days, 19 hours left to enroll

972 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