Solved

Flash audio problem while editing.

Posted on 2004-09-03
3
152 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
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…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
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.

617 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