ActionScript 3.0 :: Way To Load Songs Via Streaming Website?
Jun 17, 2011I would love to have the ability to load this into my flash component That is live streaming trance, from di.fm. Is there an easy way? or a way at all?
View 4 RepliesI would love to have the ability to load this into my flash component That is live streaming trance, from di.fm. Is there an easy way? or a way at all?
View 4 RepliesHow do you create a streaming MP3 Player with multiple songs? My dilema is not getting the song to play but how do you create it so that no matter which song its on it will go to the very next one? like if it is song 3 go to 4. Because that would be a variable that would constantly change.
View 1 Repliesi want to make a fade volume between songs to songs...this is the function i have made... what's wrong?
Code:
fade.onEnterFrame = function() {
new_volume = 0;[code].....
I found this nifty code (here) for an MP3 player that uses XML/URLRequest to load the songs in.I'm trying to implement this code on my own application, and I've run into a couple of errors.I've got the XML loaded into the application, and it's showing up in a List component.But it's not letting me to play songs from it quite yet.This is the error I'm getting:
Error #2044: Unhandled IOErrorEvent:. text=Error #2032: Stream Error.at BACKUPmusikkavspiller_mariuskristian_eksamenRIA_fla::wholeplayer_12/frame3()[BACKUPmusikkavspiller_mariuskristian_eksamenRIA_fla.wholeplayer_12::frame3:6][code3].......
I've read something about IOErrorHandlers, but I'm not quite sure how to use them, where to put them and what to read from them..If needed I'll paste my full code. The original code is from here <-, as posted above.
Im new to the AS3 game but I need some help with something. I have built a pretty good website mp3 player but it plays the songs in order. I want the the mp3 player to play a different song everytime it loads.[code]
View 2 RepliesI am interested in streaming audio on my website, but I have no clue where to begin. There are two types of streaming I hope to achieve. The first would be streaming a playlist of songs stored on the server and the second would be live audio streaming. Can anybody recomend any good sites or plugins to use?
View 2 Replieswe are looking forward towards developing a very interesting community portal that would help the user to broadcast their live videos across the community.I've been checking over sites like ustream.tv, justin.tv and wondering what/how Technology they been using to do so.
I am doing a lot of research over the last few days checking over the medium to do this effectively and figure out some of the leading companies in the domain like Ooyala.com, brightcove.com providing servers/technology to broadcast videos seamlessly across the globe.
I will be signing up with any of these providers soon.So my question is , how exactly would my website be catching with the live feed from the users cam, send the stream to ooyala/brightcove and further broadcast it to rest of the community users.
I have Flash media server, flash media live encoder, and flash cs5.I'm gonna be using flash media live encoder to stream my desktop and webcam to my website. My current host (host gator) doesn't have rtmp enabled on their web hosting plan, only on their dedicated and vps hosting. My question is do I need to switch hosts to one that has rtmp enabled so I can stream to my website for people to view?Also, can I embed this stream into another part of my site?
View 5 RepliesAre there any free audio players that I can use in my website? Are they customizable?
I've heard of Soundmanager 2. It's a flash based player with a javascript front-end.
Are there any other free players like that?
I have a website (on my own Apache Server in my home office) that displays my video clips (.flv files) with no problem, I have no idea what ActionScript is or where it is used (but I am a basic user of JavaScript)And since this forum is for 'beginners', and since I don't even understand the questions being asked here , *where* do I start to acquire knowledge of ActionScript, or what books shoud I buy to start this learning (or where is the FAQ list please.I would only like to be able to show Live Streaming Video over my website,
View 5 RepliesI have installed flash media server, flash cs5, media live encoder to be able to view my webcam feed via my website. Now in addition to these, i started streaming to localhost, and installed a dns updater which updates a name server according to my current ip. Then i wrote this dns address in the feed's source from flash 5 as rtmp://thednsname.somedns.net/live/livestream
so far so good, i also forwarded the ports 1935 incoming and outgoing from modem to my computer as well (because 1935 is said to be the default port number for media server). firewall -> closed (just in case); and my internet provider doesn't block ports...started the media server (with admin privilage in 7), started the live encoder, connect to localhost, start live feed.
NetStream.Play.StreamNotFound : Adobe Flash tried to play a live or recorded stream that does not exist. Source can't be found.
I am new with Flash, and still trying to learn. There is one thing I can't find information about. How do I embed a Windows Media stream on a flash web site? If possible at all.
View 1 Repliesis it possible to load MJPEG streaming into a flash file?I tried the loadmovie, loadmovienum function and nothing - they only carry SWF or JPG! Unfortunately, I can't convert this stream to those formats because it is a stream in real time from a IP camera!
I could even use an intermediary to make this conversion on-the-fly (with ffmpeg for example) but the computer resources it consumes is absurd ... And considering a lot of cameras, it does not offset the cost!
i have a little problem with a streaming load sound. this is the code:
[code]...
i don't understand because if i testing the swf i listen the sound super fastly and with IE6 too. FireFox and IE7 no. i have read that is the bitrate mp3 ... something like 128 kbs 44hz to run corectly but with i can't do the mp3 compression.
Im making a website in flash 8 pro and would like to know how i can load the music for a particular section using streaming audio. I mean i dont want the soundtracks to occupy to much space so i want to make the website load in and then if someone clicked and navigated into contacts then i want the contacts soudntrack to load only then or preferably stream from a folder.
View 4 RepliesI'm struggling with a flash file that I want to play two different sound files when the appropriate buttons are pressed.I've gotten it to the point where it will load without any errors popping up, but instead of playing the second sound when I press the button for that sound, it plays the first sound again. Here's the code:
var sc1:SoundChannel = new SoundChannel();
var s1:Sound = new Sound();
s1.load(new URLRequest("http://www.website.com/wells.mp3"));
[code]....
When a SWF is downloading/streaming, what is the load and run order?
Am I right that the first thing downloaded is the main timeline as defined by the document class, and the document class's constructor is the first thing run? Or does the SWF wait untill the first frame is loaded and run the actionscript located there first? In that case, what about SWF based on a Sprite instead of a MovieClip?
I'm trying to make a swf that preloads itself, so I want to make sure the first thing that happens is that it stops and displays the preloader and its associated assets. I'm worried that the preloader might take so long to load that it doesn't display immediately, leaving the user wondering why there's no preloader preloader...
the first is related with sounds buffering and the second is about dynamic drawing.I work with Flash Professional 8.0.
1) I have published a flash work in my site, my swf file loads a sound externally, it doesn't start before the sound is completely loaded because the music is related to the animation's events. If the user wants to see the movie again by pressing a button, it doesn't start instantaneously, it seems like loading the sound (from website) again and not from the user's computer, it's supposed there's already a copy of the mp3 file in the user computer cause the movie was saw once before. The music is set to load as streaming, not as event. There's no other file in the movie, like bitmaps or whatever could slow the re-starting the movie. What am I doing wrong?.
2)I want the effect of curves, spirals, branching curves that are be drawing in the background. I saw these on tv commercials and they look cool. Flash methods for drawing are well but for a project like I told, it becomes very time consuming.
I need to figure out how to utilize one SWF player/file to load different streaming F4V files dynamically.[code]...
Currently I am publishing a separate SWF player/file for each F4V, but this is unacceptable. I need to use one SWF file to load different F4V files. I'm not that knowledgeable in the ways of Flash, but I believe that the "src" attribute of the embed tag and the "name='movie'" attribute of the object's param tag needs to point to the SWF player/file. So does anybody know how I can manipulate the object and embed tags to make them load a different F4V file into the SWF player?
Is there any way to load a streaming video from YouTube into a loader?
View 0 RepliesIt has beem awhile since I have posted on this forum.
I am creating a a Flash website for a cinematographer who has a reel on Vimeo.
I cannot seem to write the correct code to link and play this file.[code]...
I'm in the process of including a 1 minute .flv into a flash doc. I don't want to stream the video since i want the video to load almost instantly and do not have any room for streaming progress bars also i can't use flash8 and to get video to stream in flash 6 is a pain.
What i have planned to do now was slice up the 1 minute video into 6/ 10sec clips. Put each clip in a seperate external movie which will range from 50-100kb each in kb's. I want to preload the first video and then play it, then in the background load external video2 while external 1 is playing. then play external 2 at the end of external video1 and do the same for the rest of the videos. Its a lot more work but i think this way i can reduce load time and have the video play almost straight away.
What do you guys think? is there a easy way to do it and achieve the same results or should i continue with my concept above, and if i do what i have planned is there any code that you can direct me too that will load a movie / hide it and play when called for?
I have a streaming MP3 player that i'm going to incorporate into my site. Below is the AS for the player. At the moment the player starts automatically when the page loads up. Can someone tell me what i'd need to change so the player doesn't start streaming on page load....?
Code:
stop();
playlist = new XML();
[code].....
I'm building a mobile MP3 player with AIR, which streams audio using the Sound class's .load() function. I'd like to cache this audio as it's downloaded, to the the user's SD card. Is this possible without having to download the file twice??
View 2 RepliesI want to put a map in a flash website that was written in Actionscript 2. The google maps for flash api requires actionscript 3. I wrote a actionscript 3 app to load the map. Can I have that swf loaded in the actionscript 2 website and can you give me an example of the actionscript 2 code?
View 1 RepliesI have an issue with website load.
[URL]
the content won't show untill you refresh 3-4 times.
I need to load a full website into a flash movieclip till now i have this but it just gives me an error[code]...
View 1 RepliesWe can easily put a flash inside a html, but can we do it reverse?I want to create a object to display normal website page, is it possible in AS3?
View 2 RepliesCan you load an RSS Feed onto a web site with only Flash AS3 or do you need something else like flex?
View 1 RepliesI have a web banner inside a website, I want to when i click this banner, to open up a external swf on top of the website.So not inside the banner but somewhere else on the side.For example when i click the web banner, a bird flies across the website.So the swf has transparent background. Then in a few seconds the external file unloads.
View 9 Replies