Here's another thought (but not as sweet): if you didn't want to do that, alternatively you could place the sound in the timeline (say from frame 2), leave the "export for ActionScript" box checked, but unckeck the "export in first frame" box. That way, you can include the 60k in your preload and still control the sound using the sound object.
jj
On Thursday, October 16, 2003, at 06:59 PM, Heshan wrote:
yep, i had that problem too, i think there is nothing much you can do except
loading the .mp3 file
and stream it, so the user wont have to wait till the whole 60k is loaded to
start the audio
Hesh
----- Original Message ----- From: "michael" <[EMAIL PROTECTED]> To: "Flash Developers List" <[EMAIL PROTECTED]> Sent: Thursday, October 16, 2003 4:52 PM Subject: [fugli] Re: Preloaded and the sound object
load it from an mp3 file.... use this code (below) :scene
//load up a track track= new Sound(); track.loadSound("knightrider.mp3",true); track.start(cue, 1)
----- Original Message ----- From: "Jason Bayly" <[EMAIL PROTECTED]> Newsgroups: fugli To: "Flash Developers List" <[EMAIL PROTECTED]> Sent: Thursday, October 16, 2003 4:35 PM Subject: [fugli] Preloaded and the sound object
Hi All,scenes.
I have a flash piece where i have a sound file playing over multipleIn order to do this i have had to use the sound object as below..
// start playing the music, this is on the first frame of the firstofgreatframethe preloader.... mySound_sound = new Sound(); mySound_sound.attachSound("circusmusic"); mySound_sound.start();
This sound file is about 60K currently and is set to load on the firstin the linkage settings dialouge. So what happens is the entire sound ismodem
loaded before the preloader starts playing... Hence the user on a 56Khas to wait even before seeing the preloader info etc.. Which isnt a[EMAIL PROTECTED]soltuion.. If i disable the option "load on first frame", the sound dotnthe
play at all.
Can anyone think of another way to get the sound playing without forcinguser to wait and watch a blank screen for 15secs etc??
TIA
Jason
--- You are currently subscribed to fugli as: [EMAIL PROTECTED] To unsubscribe send a blank email to
MX Downunder AsiaPac DevCon - http://mxdu.com/
---
You are currently subscribed to fugli as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
---
You are currently subscribed to fugli as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
--- You are currently subscribed to fugli as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
