Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > General > Animation and Effects

Reply
 
Thread Tools Rate Thread Display Modes
Old 04-13-2001, 12:44 PM   #1
robUx4
Registered User
 
Join Date: Apr 2001
Location: Paris
Posts: 3
Send a message via ICQ to robUx4
Default

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 ?
robUx4 is offline   Reply With Quote
Old 04-14-2001, 04:01 AM   #2
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

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.
Jesse is offline   Reply With Quote
Old 04-14-2001, 09:06 AM   #3
robUx4
Registered User
 
Join Date: Apr 2001
Location: Paris
Posts: 3
Send a message via ICQ to robUx4
Default

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 ?
robUx4 is offline   Reply With Quote
Old 04-14-2001, 11:07 AM   #4
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

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.
Jesse is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 08:23 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.