Solved

Flash audio problem while editing.

Posted on 2004-09-03
3
148 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Text To Speech Reader For Adobe Flash Pages 4 879
Software Restriction Policy 8 854
Add 'birds singing' to homepage 5 100
Java and adobe flash updates 4 44
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. …
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
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.

911 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

24 Experts available now in Live!

Get 1:1 Help Now