|
-
Senior Member
Streaming mp3 vs external swf
I was wondering if I was to load in an external swf with an mp3 in it, instead of of using loadSound to stream an mp3, would there be a difference?..I mean, wihtout a preloader on the external swf the mp3 would start "streaming" automatically would it not?...The reason why I need to know this is I've found ways to pause both a streaming mp3 and a sound that uses attachSound...and the attachSound method is so much easier to implement, so I'd rather go that route...any ideas if these two ways would act the same or not?
thank,
Adam
-
Cheap Bear Imitation
when you go over loadSound, you can set the the "isStreaming" parameter to false. it will then be loaded as an event sound, means flashplayer will load it completely before it plays.
Pink signature?

-
Senior Member
Thanks for responding We actually want it to stream, that's why we originally were using loadSound, but we want the "listener" to be able to pause the music and then play again from where it was paued....I found two great sources on how to do this...one is using loadSound and the other using attachSound....the attachSound method is so much easier to implement, so I was thinking if just load an external swf with the mp3 in it using attachSound, it would appear to be streaming anyway, right?...I hate having to ask questions on stuff I can try myself, problem is, at the moment I have no way of testing this myself - hosting issues...does that make more sense?
thanks again for your time.
Adam
-
I don't quite understand what you're getting at... The attachSound method doesn't stream the sound?
-
Senior Member
If I were to load in an external swf that had a sound in there that plays using attachSound, it would start playing as soon as that swf is loaded into the main one, right?...would this create a similar effect to having a sound stream using mp3?...because, and please excuse my ignorance if I'm way off, isn't that kind of what streaming is?...it starts playing without the full thing being loaded...and also, thanks old, for always plugging kennybellew.com...that's an amazing sound resource..
Adam
-
If it did work (still have doubts about it!), what's the point? Why use this complicated way rather than just dynamically load a streaming mp3?
-
Senior Member
Only for the fact that the user needs to be able to pause the mp3, and then restart it from where it was paused...the "pausing a sound" tutorial on kennybellew.com is so easy to understand and use, but it uses attachSound instead of loadSound(and this method unfortunately doesn't work with loadSound)...I found another tutorial on how to pause an mp3 that was streaming using loadSound, but this one is the difficult one to use, I'm trying to avoid having to go through extra understanding, 'cause as you know, I'm still limited in my knowledge of flash, so this sound stuff is all new to me.
I'm working my way through a third tutorial that seems promising, it uses loading in external swf's and sets them to stream...Would you mind having a quick look at this:
http://www.sonify.org/home/feature/r...025_swfplayer/
and tell me if you see any unforeseen issues with this method? Thanks, oldnewbie Wan Kenobi 
Adam
-
Senior Member
Ok, I think I have it figured out...the core of it anyway...thanks, guys for your time 
Adam
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|