Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Streaming Background Sound



i feel very dumb - actually i forgot how to make tiny movieclip with a long streaming sound inside - i tried around but it always loads completly before playing - how can i make such a movieclip so it plays in the background? (flash 5 compatibility would be great as well)

any help?



FlashKit > Flash Help > Flash MX
Posted on: 10-12-2002, 10:15 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Having A Streaming Img In The Background...
I have a preloader and I want an image to load in the background...the whole point of the preloader is that it loops and updates the bytes and progress every second...I want to have an image that plays constantly in the preloader sequence but every time the movie loops the movie clip I made starts back at frame 1...how do I get the movie clip to continue going even though the movie it is set in has 3 frames

currently the scrolling img i made has 90 frames and the main movie only has 3...

How To Control The Sound Volume On A Timeline Base Streaming Sound?
Hello everyone,

I have a MovieClip "Animation" with added sound as a Streaming. I have also created a Volume SiderBar which I would like to use to adjust the volume of the sound on my Flash.

The Volume SliderBar work fine and I need to some how assign the volume to the position (Value of) volume. I was wondering if someone can tell me how I can do this on a sound which is timeline based?

Thank you very much and have a great day,

Khoramdin

Sound Volume Control Using Streaming Sound In Timeline?
I am building a Flash 8 movie with animation that is synced to music in the timeline using streaming sound. At a few points I need the music to fade out and then play a video. When the video is done playing I need to come back into the timeline and have the music fade back up at the same point where it left off.

Is there a way to do this? turn down/up the volume of a streaming sound?

Streaming Background Music
What's the best technique for playing back a long (c.30 sec loop) using flash 5? Any tutorials? Ta.

Streaming Sound Distorted - Sound Object
I have a streaming sound that is loaded into my flash movie (will end up on CD) that is very distorted, it sounds like someone is slowing down the audio, the voice sounds deep and slow. its kinda funny, but I doubt my boss will think so.

anyone ever run into this before?

Streaming Sound Distorted - Sound Object
I have a streaming sound that is loaded into my flash movie (will end up on CD) that is very distorted, it sounds like someone is slowing down the audio, the voice sounds deep and slow. its kinda funny, but I doubt my boss will think so.

anyone ever run into this before?

Sound.extract() On Streaming Sound ?
hi,

i'm currently playing around with the new Sound functions from flash 10. The sound object now has a function extract(), which lets you access raw audio data for manipulation.

Does anyone know if this method should also work on streaming sounds ? When calling it on a mp3 file it works fine, but the byteArray i'm passing to the extract method stays empty when the sound is a stream.


Anyone of you tried that yet ?

Movie Sound And Background Sound Problem
I’m facing one problem. In my flash file have one background music and have one external movie ( flv ). I want when I click movie button then movie will load and background sound will stop and when I click close in movie then background sound will play again. *** remember movie file is external SWF file and I’ll put one button in that movie swf file call close.

And another one.. when movie running then if I click any other button then content come but movie sound play… this is not right .. caz when we click other button should be movie sound stop and background sound will playing

help me pls...

Sound Streaming
Hey gang!
I have a huge sound file - 2 min and a half, a voiceover to a story, - (12MB in wav format) that I wanna play as a swf (580KB at the settings that I need) off of a web site (of course). Then, when I do the testing as to how it is going to stream at a specific dial up connection and I set a preloader so that theoretically the actual play will never catch up with the point to which the file has already streamed (believe it or not, Flash says zero preload time at 56KB/4.7KB(sec) connection speed, when I set it to play when just 4 sec out of the 2 min and a half have been loaded), everything looked great before I had this one question (and before I actually test it on a dial up connection and see whether what Flash says isn't complete nonsense). What happens if for some reason a net congestion occurs while the file is streaming? real audio will rebuffer and continue playing from the point the congestion occured, but what happens to a streaming swf file?
And, if it stops playing and does not rebuffer automatically, would a workaround be to write a script in there checking continuously whether _currentframe+40 has been loaded (to give it some leeway) before it starts playing at all? something like

ifFrameLoaded (_parent._currentframe+40) {
gotoAndPlay (_parent._currentframe);
}

Streaming Sound
Please check out my first two flash sites. http://www.lesliequarcoopome.co.uk and http://www.lesliequarcoopome.co.uk/beta.htm

They are both in development at the moment so any comments most welcome. Good and bad as long as its constructive.

Any ideas also on how to stream sound in flash is most welcome too - as both these sites feature music heavily.

Cheers all

Sound Streaming
Hi!
I made a movie in Flash5 in which I imported some sound files. The
sounds play in the movie starting from the frame number 10.
My problem is that when the movie is downloaded the sounds are in
the beginning of the movie (on the first frame) so that the preloader
movie clip (which is also on the first frame) is not shown until the all
sounds are downloaded. In fact I need the sounds not to be loaded with
the first frame because I want the preloader to start from the beginning
(the percentage to count from 0%).
I know this problem can be solved using shared libraries, putting the
sounds in a separate movie......but I'm not sure how.

Thank you in advance,

Streaming Sound
Hi:

Okay, I posted this question in the General Help forum 3 days ago, and I received no help, even after bumping the thread twice myself. The second time, it was on page 6.

Anyway, I would appreciate some assistance, if someone has a moment to spare.

I had never streamed music from Flash 5 before. So, I set out to do it, and it seemed very straighforward. Too easy, in fact. However, after following the Help Files instructions to a tee, many, many times, and after taking 2 tutorials, and following those instructions to a tee, I could never get an audio file to stream.

I will say that I have since been able to do it, however, not by following the Help Files, or the tutorials.

So, my question is, what is the proper procedure for doing this?

The Help Files say to:

1. Import your audio (.wav, for instance) (File > Import).
2. Create a new layer for the sound file (Insert > Layer).
3. Select the layer to make it the active layer.
4. Drag your audio file from the Library window onto the stage. (This, supposedly, will add the music file to the selected layer)
5. Open the Sound panel (Panels > Sound), choose the audio file from the dropdown menu, then choose "stream" for "sync."

This doesn't work. If I've done it once, I've done it a hundred times, and it still does not work. First, the sound file appears in a single keyframe in the sound layer, i.e., you cannot see all of the audio frames layed out in the timeline. Second, when I preview my movie, I get 0kb loaded in frame 1, and no sound plays plays.

Okay, so what I did was, after adding the sound to the layer as suggested, I then drag the first frame to, say, about frame 10, creating empty frames, then, I select frame 1, and drag the sound file from the Library once again. This then adds the sound to the timeline, at which time I then have to manually drag the frames all the way to the end of the song.


What am I missing here? Any ideas? I can now stream the files, but I'd like to know the proper way to do this.


James

He is risen!!!

[Edited by jamescover on 04-10-2002 at 09:01 AM]

Sound Streaming...
If I have my sounds scripted into a movie as follows:

s = new Sound();
s.attachSound("clip1");
s.start();

Streaming Sound
I am developing a mp3 player which will have 5 songs. I have the songs as external swf (streaming files I have imported the mp3 file into flash and extended the frames to fit the hole song that goes over 250 frames at 1fps).

The problem is on a slow connection such as 56k the play head moves faster than the loading time therefore cosing the song to get interrupted.

How can I have this 2mb mp3 file stream without having to wait for the hole thing to load first? There must be some kind of action script that would go in the mp3,swf file on the first frame to eliminate that interruption or not start playing until the play head and the loading time are in sync.

Thanks guys.

Streaming Sound
I've got 9 seperate swfs. All of them are music clips that I want to stream in one right after the other. I put a LoadMovie command in the last frame of each swf calling the next in line. My problem arises when the first swf calls the second before it has finished streaming in and suddenly two songs are playing at the same time.

Thanks in advance.

AntiX

Streaming Sound In MX
Is it possible to stream music in MX? Just like Realplayer does..?

-- Thanks

Streaming Sound
I know this isnt a flash question but someone may know:

From a html page i want to stream some music from my site using real player.

Ive converted a music file to make_luv.rm and a link to it using

<a href=""http://www.popcop.co.uk/music/make_luv.rm>click</a>

Am i missing sommit

Streaming Sound
Hi people!

Can anybody help me with streaming sound.

I have a website with an example of just what I am looking for:

http://www.oneminutehalo.com/main.html

The music clips seem to load quite fast while simultaneously playing, on a 56k modem.

Can anybody tell me how they achieved this? OR Direct me to a tutorial showing me how?

I have no previous experience in streaming sound.

Cheers,

Deadhands

Sound Streaming
I have a sound clip approx 250k which i would like to start playing as soon as possible before it has completely loaded.

At the moment it doesn't start playing until it is 100% loaded?

Streaming Sound
i have a couple of movies - one in particular that will require sound streaming.

The streaming works fine on the stage but doesnt play in either the preview mode or the published mode.

The input files are mp3's and the output has been set to
mp3 compression
convert stereo to mono
32kbps
quality best

in both instances sound plays fine using the event or start mode.

can anyone point me in the right direction?

steve

Streaming Sound From The Web
I was wondering if anyone could tell me how to stream sound from the web so i wouldnt have to import it into flash.

Sound Streaming
hi!

i have a problem with my audio player in flash 5. it is loading the sounds from extern swf's and the preloader function is working. but nobody wants to download 2-3mb to hear a song. so how can i let the song begin to play before it is fully loaded?

Streaming MP3 Sound
Hello Board,

Is there a way I can stream an MP3 from my server through my swf which will work for both PC and Mac users?

I've tried this before:

put this code in the first frame of my FLA, used to call an mp3 called "music.mp3" which was on my server....
_________________

var music = new sound();
music.loadSound("music.mp3", true);
__________________


Any help would be radical.

Best,
KQ

Streaming Sound?
hi there--

I have an animation that I am trying to put music to--
I want for certain scenes to contain certain sound tracks.

I have tried to achieve this w/
onClipEvent(load){
loadMovienum("intro.swf", 0);
}

and it overrides my animation w/ the blank movie I have put my sound in and no animation shows up...not good.

does anyone know how to fix this or have any better ideas?

I thank you kindly!!

Streaming Sound
is it just me, or is the quality of sound worse when a movie is streamed rather than loaded all at once as an event?

Streaming Sound On/Off
So here is the problem. I am doing a piece using FLash MX that has synchonized streaming voice over tied to text for a presentation. The client wants to be able to turn the sound on and off. This seemed simple but I am having a problem trying to turn the sound back ON so the voice over is synched up with the text.

PLEASE HELP! Any ideas?

Streaming Sound
Greetings,
Can anybody direct me to a tutorial that will teach me how to stream music on my website (using Flash MX)?
Any suggestions most appreciated,

Cheers
SA

Streaming Sound
Does anyone know how or if you can stream sound from a server
I have a 2mb mp3 file on a server and I can load this into the flash file dynamically then play it thus keeping the file size down.
On 56k connection this is not playing because it obviously doesn't load the sound in bits but as a whole chunk so it's waiting for the whole 2 megs to load in. I don't want to stream the sound in the flash file because it still means importing the sound file into the flash file and so pushing up file size.

Cheers
DL

Streaming Sound
Hello-

I am using Flash MX 2004. I upgraded from Flash MX. In Flash MX if I inserted sound into my movie, and set it to streaming, I could hear the sound when I moved the scrubber (I think that's what it's called). However, with MX 2004 I can't, so I have to keep testing the scene to see if the narration is in synch with the animation. This takes too much time. It was much easier when I could actually hear the narration on the timeline. Does anyone know why this is happening? Is there a way to make it so that I can hear the narration on the timeline when I move the scrubber?

Thanks in advance-
Lynda

Streaming Sound
Hi all
i have a homepage that has streaming background sound via flash if i open the page in netscape the sound plays fine, but IE 6 downloads the mp3 but i cant here it at all. I have real player installed and my settings seem ok. When i look in the temp folder the mp3 has been downloaded, Everything says to me it should play but doesn't. Anyone help at all
Thanks in advance

Streaming Sound
Hi All,
I have just searched the fortum to see if I can find a past form with what I need but I found loads of info but not much that useful to me

Can anybody help with my little problem? I have some MP3's on my server and instead of adding them to my library of the SWF file I want to stream them so the site don't take ages to load if people don't want to listen to the music.

Regards

Kev

Streaming Sound
Hi, I had problems with frames skipping when I set my sounds to stream, and was told to load my stream from an external mp3. The trouble is that I have many separate sounds to make up my stream and I can only space them accurately to the visuals when working in the flash timeline. If I merge them into an mp3 in another app to load externally, I'm not sure it will be accurate.

For the record, I'm trying to put a soundtrack to a series of swfs exported from Swift3d, and the end swf with sound compresses to about 5mb. The movie is of a production line, so I have a lots of repeating sounds.

Thank you!

Sound Streaming
Is there a way to see if a movie has sound streaming?
I have a fla file that when I test the movie I hear the sound, but I cannot find anywhere on the file that a sound was inserted.

Sound Streaming
Here's something else a flash-noob wants to know

Suppose I have an mp3 file hosted somewhere. I generally found that making 6mb+ flash files is not a very smart idea.

Guide me in a right direction - I'm sure there's more than one way to do it.

Ideally, I'll have a player that has next/previous buttons that streams 2-3 different mp3 files.

Thanks in advance

Streaming Sound
Hi,

When a sound sync is set to stream, how much of a sound needs to be loaded before it starts playing?

Thanks,

On Streaming Sound
hello all:

hoping this is appropriate forum:

does anyone know if it's a problem to load streaming sound on a shared virtual server for a site that has light to moderate traffic?

I don't want to have to get a dedicated server if I don't need to, but I notice that the server is having trouble retrieving data from time to time.

Thanks!

Michael

Streaming From Sound
Hi -

I have this code -

ActionScript Code:
myLoop = new Sound();
myLoop.attachSound("test1.wav");
myLoop.start(0,0);
myLoop.onSoundComplete = function()
{
   // do something here
}

Is there away to set myLoop or what ever to stream ?

Sound Streaming Bug With MX
Hi there. I have an animation with the frame rate of 20. I have to make some lipsink with some voices but sometimes the sound start before or after the frames where i has placed thems. It's impossible to make a good timing with the lips of the personnage. It is the frame rate my problem ? I have doiing it many times with Flash 5 and never i has this bug. Have you an answer on it ?

Many thanks

Streaming Sound
Ok here is my problem, and my buddy of newlookmedia.com is having too, and I'm sure that after this post some more designers will stick to this thread.

Here is my case:

1-I'm building a site with a sound player
2- The sound player lods in level1 (of course main movie is level0)

but the sound player that I designed uses streaming sound to start playing right away. But here is my problem, when the sound player loads on level1 with the embeded streaming sound everything starts going faster even things on level0

is like everything wants to sync with the sound and I get as result skipped frames = choppy animations.

Is there any way of making the sound stream only on the "sound player" or I'm out of gas??

I tried building the sound player using the loadsound action but the problem with that is that if the viewer uses sound acelerator, the acelerator will download the mp3 file in a separate window.

I just dont want to use sound as "event" to fix this problem.

Can some one refer me to a good sound player, with progress bar, streaming?

Streaming Sound
hey i need help really bad...i want to create a music player (basically play and stop buttons , next ,previous ) ..that stream the files ..but one lil catch.....onload there is a background song that loads automatically...but when i would click on the next song i want the background sound to stop and the new one plays.

i checked that kenny bellew site...one of his way of streaming was u have to load the song first...i dont want a load button in there that only adds to the confusion for regular viewers....(only play and stop, next, previous)...

if anyone can help on that please do...thanx

Streaming Sound
Hi,

I'm building a streaming mp3 player. So that you can load a mp3 from all over the internet in a streaming way, but soon It became obvious that when I set the loadSound to true (used to stream sounds) that sometimes the mp3 begins to stop and load and then play again. A sort of short stops. So I thought let's place a buffer so that when the song is loaded half way it's starts playing and gone are the short stops. But that's where my problem started and some questions arised. I use the onload method to check if any sounds are loaded into the sound object. I used this sentense to handle the onload action:

mySound.onLoad = onLoadSound;

The onLoadSound method looks like this:


Code:
function onLoadSound(success:Boolean):Void
{
playTicker = true;

if(Math.round(mySound.getBytesTotal()/2) === Math.round(mySound.getBytesLoaded()))
{
trace("half ways");
success = true;
}

if(success)
{
trace("start");
mySound.start();
}
else
{
tickerHolder.text = NOFILEFOUND;
}
}
But now that I'm not exactly streaming anymore, so I have set the loadSound to false. Now I wonder if the onID3 method I used for getting some specific information out of the mp3 also acts like a none streaming file stream?

Also something is wrong with my check if the loading process is half way.
I have some songs on my pc and one on the internet. The songs on my pc load very well. (offcourse ) But they don't get into my if statement.

And the song loaded from an internet adress doesn't even get into the onload function

Any suggestions?

thnx

Streaming Sound
Ok here is my problem, and my buddy of newlookmedia.com is having too, and I'm sure that after this post some more designers will stick to this thread.

Here is my case:

1-I'm building a site with a sound player
2- The sound player lods in level1 (of course main movie is level0)

but the sound player that I designed uses streaming sound to start playing right away. But here is my problem, when the sound player loads on level1 with the embeded streaming sound everything starts going faster even things on level0

is like everything wants to sync with the sound and I get as result skipped frames = choppy animations.

Is there any way of making the sound stream only on the "sound player" or I'm out of gas??

I tried building the sound player using the loadsound action but the problem with that is that if the viewer uses sound acelerator, the acelerator will download the mp3 file in a separate window.

I just dont want to use sound as "event" to fix this problem.

Can some one refer me to a good sound player, with progress bar, streaming?

Streaming Sound
hey i need help really bad...i want to create a music player (basically play and stop buttons , next ,previous ) ..that stream the files ..but one lil catch.....onload there is a background song that loads automatically...but when i would click on the next song i want the background sound to stop and the new one plays.

i checked that kenny bellew site...one of his way of streaming was u have to load the song first...i dont want a load button in there that only adds to the confusion for regular viewers....(only play and stop, next, previous)...

if anyone can help on that please do...thanx

Streaming Sound
Hi,

I'm building a streaming mp3 player. So that you can load a mp3 from all over the internet in a streaming way, but soon It became obvious that when I set the loadSound to true (used to stream sounds) that sometimes the mp3 begins to stop and load and then play again. A sort of short stops. So I thought let's place a buffer so that when the song is loaded half way it's starts playing and gone are the short stops. But that's where my problem started and some questions arised. I use the onload method to check if any sounds are loaded into the sound object. I used this sentense to handle the onload action:

mySound.onLoad = onLoadSound;

The onLoadSound method looks like this:


Code:
function onLoadSound(success:Boolean):Void
{
playTicker = true;

if(Math.round(mySound.getBytesTotal()/2) === Math.round(mySound.getBytesLoaded()))
{
trace("half ways");
success = true;
}

if(success)
{
trace("start");
mySound.start();
}
else
{
tickerHolder.text = NOFILEFOUND;
}
}
But now that I'm not exactly streaming anymore, so I have set the loadSound to false. Now I wonder if the onID3 method I used for getting some specific information out of the mp3 also acts like a none streaming file stream?

Also something is wrong with my check if the loading process is half way.
I have some songs on my pc and one on the internet. The songs on my pc load very well. (offcourse ) But they don't get into my if statement.

And the song loaded from an internet adress doesn't even get into the onload function

Any suggestions?

thnx

No Sound In Streaming FLV
self-explanatory topic I guess.
Also posted in the MM forums about a week ago.
This is happening only on the mac.
I produced the movie and the soundtrack, which is embedded in the video.
Import the .MOV into flash, export it as FLV and boom: when playing it back using the media component the sound is gone.

The odd thing is, I've used streaming vids with cuepoints, etc, pretty extensively over the past year without this problem, I'm in the same version of flash, doing all the same routine things, and this just started.

Help With Streaming Sound...
could someoned help me out on taking a flash with multiple event sounds per scene and turning them into a streamed sound?

Also, some scenes have no sound at all and when i tried streaming the sound the sound from the scene ahead would play in the scene with no sound... I'm kinda confused and new to the whole sound thing, so... please help

Streaming Sound
I am developing a mp3 player which will have 5 songs. I have the songs as external swf (streaming files I have imported the mp3 file into flash and extended the frames to fit the hole song that goes over 250 frames at 1fps).

The problem is on a slow connection such as 56k the play head moves faster than the loading time therefore cosing the song to get interrupted.

How can I have this 2mb mp3 file stream without having to wait for the hole thing to load first? There must be some kind of action script that would go in the mp3,swf file on the first frame to eliminate that interruption or not start playing until the play head and the loading time are in sync.

Thanks guys.

Streaming Sound In Flash
Does anyone have any good resources or advice on the best way to stream audio, eg a radio station, in a Flash environment.

Not just putting audio onto a site but using Flash to stream as opossed to using say WinAmp.

Thanks

Happy Flashing!!!!!!!!!!1

Turn On / Off More Than One Streaming-sound?
Hello there,

I have made this presentation in wich, on the stagetimeline, every keyframe contanes a movieClip separated by a stop. Like that, using the "front" and "backbutton", the user can jump from one clip to the other. Each of the movieClips contains his own streaming-sound. Now I addet on the stage a "on/off-button" to turn all the sound, from all the movieClips on or off.

Sounds easy but I donīt manage to do it!

As example, to turn the sound off I used the Script "stopAllSounds", and it works until you jump to the next movieClip were the sound starts automaticli again...

If somebothy knows how to help me with the script, I would be very thankful,

muchas gracias, Fery

Copyright Đ 2005-08 www.BigResource.com, All rights reserved