| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
|
Is there a way to start playing a sound while it's loading ?
I have to integrate a 5 minutes track into a very basic flash animation. And it's really boring to have to wait for the whole track to be loaded to start using it. Especially because the track have a slow fade-in, so nobody will notice it's there, unlesse you wait for the whole thing to be loaded... Is streaming the clue ? (doesn't seem like with the previewer in Flash 5 + streaming) Is loading a flash anim (level 1 or more) efficient to enable the loading in paralell of 2 or more .swf ? |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
You can use streaming sounds but this may result in jagged playback as the sounds might not have time to buffer correctly...
Insert your sound and select the streaming method. I've foundn the best way to do this is actually to create a blank MC and insert the sound in there, because with the streaming method you have to have a sufficient number of frames in the clip to play through the whole sound. So if you have a frame rate of 15fps, and a 2 second sound, you will need 30 frames to play the sound fully, and you don't want to go adding 30 empty frames to yourmain timeline. So create an MC with 30 frames, put the sound (streming) in the first frame, and put the MC on your stage. Cheers Jesse
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
|
|
|
|
|
#3 |
|
Registered User
|
Thanx !
I think it should work. I've put the sound in another flash animation. But I've found out that even in RAW mode, my WAV file doesn't sound exactly the same as the original (MISE vs Winamp) It's a bit subtle, but you can hear more trebble than it should ![]() By the way, if I load the sound/SWF at level 1, does it have to use the same framerate as the main SWF ? |
|
|
|
|
|
#4 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
Yeah it does, it will default to the main movies FPS anyway (or at least it did in Flash 4...)
Cheers Jesse
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Kenny Bellew Sound Object Tutorial Updated | Kennyb | ActionScript 2.0 | 23 | 05-09-2007 09:38 PM |
| How do i check to see if a sound is already playing before playing when pressing play | beamond | ActionScript 1.0 (and below) | 1 | 02-04-2005 03:19 PM |
| Loading 4 SWFs with sound into 4 empty movie clips - problem, of course | ahe | ActionScript 2.0 | 0 | 08-19-2004 01:09 PM |
| Control Sound Object | puthisorn | ActionScript 2.0 | 9 | 05-06-2004 05:20 AM |
| loading sound files dynamically | dizzyllama | Simple Stuff (Newbies) | 9 | 12-02-2002 03:23 AM |