Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 127
  • Last Modified:

Looking for sample code that does the following

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
hobster
Asked:
hobster
1 Solution
 
rascalpantsCommented:
do you have Flash MX?

rp
0
 
henrywwCommented:
do u have more pts ?? LOL ...

hw
0
 
hobsterAuthor Commented:
yep, I have Flash MX.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
henrywwCommented:
done ... is here ...
see if that's what u want.

cheers
0
 
rootdirCommented:
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!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now