?
Solved

Looking for sample code that does the following

Posted on 2003-03-10
6
Medium Priority
?
126 Views
Last Modified: 2010-04-03
I'd like to find a sample fla file that does the following:

- load a big external mp3 file (during the loading process, I'd like a progress indicator (3%, 20%, 80%, etc.))
- after it's loaded, the animation and sound start
- the animated movie will run only once rather than constantly looping

The movie and mp3 don't have to be anything special. I'll replace them with my own stuff.
0
Comment
Question by:hobster
[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
6 Comments
 
LVL 22

Expert Comment

by:rascalpants
ID: 8105312
do you have Flash MX?

rp
0
 
LVL 6

Expert Comment

by:henryww
ID: 8105321
do u have more pts ?? LOL ...

hw
0
 
LVL 2

Author Comment

by:hobster
ID: 8105681
yep, I have Flash MX.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 6

Expert Comment

by:henryww
ID: 8106073
done ... is here ...
see if that's what u want.

cheers
0
 
LVL 6

Accepted Solution

by:
henryww earned 1200 total points
ID: 8106258
0
 
LVL 6

Expert Comment

by:rootdir
ID: 8106327
See this mp3 player, download movie and check code

http://www.flashopensource.com/movies/detailed/EM_Flash_Mp3_Player

or create sound object and start with only 1 loop like this

onClipEvent(load) {
  sLoop = new Sound(this);        // create a new sound object named sLoop
                                  // this = the current timeline (mcControl movieclip)
  sLoop.attachSound("expLoop");   // attach expLoop from the library to this object
  sLoop.start(0, 1);             // start playing at the beginning (0 offset), 1 loop
}

I think this will help you

RootDir
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
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 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 what frame rate is, how to control it and what effect it has on the video.
Suggested Courses

762 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