Flash - Can't Get Second Sound To Load In Streaming .mp3 Player
Nov 14, 2010
I'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"));
how to create a custom player that would stream a list of youtube videos along with soundcloud, and MP3 similar to the one on [url]....I know that this might seem like quite a general question but any direction on how to accomplish this and whether it should be done using flash and Youtube API, and sound cloud API or whether it should be done with some sort of flash audio ripping way.
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??
I am pretty dense about flash, pretty new to the software so bare with me. So on the main .fla i have linked to a button to open the external swf mp3 player. That Mp3 player is streaming a song with the code var req:URLRequest = new URLRequest("mysong.mp3"); snd.load(req);
the mp3 is in a folder which is located in the same place as both the .fla and .swf mp3 player. Streaming the mp3 works when testing the swf. but there is no sound when testing the linked swf mp3 player in the main .fla. It's like the file path messes up but i dont know how to go about fixing it?
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.
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?
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....?
I am using a flash app. I can send and receive streaming data to FMS by using this app, like the chart I attached. [URL] This app uses RTMP to access to FMS. I want to upgrade this app to display sound level of each client. Is it possible by using Actionscript and FMS? If so, which class should I use?
Its been two years since I built a video player and back then Flash was the only choice (just about). My question is if I want to stream a .h24 video over the web that is cross browser and platform compatible, has anything the ubiquity of Flash? How about Flowplayer?
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
Just installed Windows 7 RC (7100), and got the latest Flash player for IE8 and Opera. My site [URL] has a music player I created that plays (streams) MP3s from a Flash Comm Server I run. The player works fine with Flash Player version 10.0.22.87 on other platforms, but not in Windows 7. Once you pick a song, it should start immediately. Even clicking the play button doesn't work. The symptoms make me think there's a problem establishing the netconnection for streaming. Wondering if anyone else has Windows 7 specific problems with Flash player?
we are using flash interactive server 3.5 and have just noticed that when flash player upgrades to 10r32 the streaming fails? Is this a known issue and does anyone know if it is specifically a rtmp prob?
It's streaming RTMP, and I'm trying to get my video to seek correctly if the user clicks on the groove bar (gray bar under the green progress bar) Currently it does not seek and gives me a NaN on my duration variable and an error on my progress bar width variable, which is puzzling me.
For some reason my videoDuration variable is coming up as NaN when used inside of my seeker function, also I'm getting a null object reference error when trying to trace out playerCntrls.progressTotalW which is the total width of the groove bar[code]...
I'm having an issue streaming mp3 files form flash media server where the sound will be very choppy. When polled every second the newStream.time property has kind of crazy numbers like 1,3,6,8,10 always skipping a second or two.
I am trying to create a menu, similar to a dock menu but that just magnifies the images when rolled over (rather than overly crazy carosels or massively zooming docks. and secondly...the dock menu would link to separate flvs that are on a streaming server. I've never worked with one before and wonder how to connect them to my flash. I'm trying to create an flv player, sorry, shouldve said earlier... but one that only plays 6 vids (linked to by the magnifying dock menu).
Just installed Windows 7 RC (7100), and got the latest Flash player for IE8 and Opera. My site [URL] has a music player I created that plays (streams) MP3s from a Flash Comm Server I run. The player works fine with Flash Player version 10.0.22.87 on other platforms, but not in Windows 7. Once you pick a song, it should start immediately. Even clicking the play button doesn't work. The symptoms make me think there's a problem establishing the netconnection for streaming. I've read Microsoft added streaming of some kind in Windows Media Player for Windows 7, could it be interfering?
Can we customize the flash player in Flash Media Server 4 like putting branding name (say some corner) like that? I am thinking to put my brand (my branding name) on a flash player while I streaming live event is it possible?
I'm looking for a Flash video player that is able to stream m4v files on all browsers. Example file: [URL]
Unfortunately, I can't convert the format since it originates from 3rd party servers. I can't rely on HTML5 video since not all browsers support this format and the encoding it contains.
I've already tried several players such as JW Player, Kaltura, Video JS, Projekktor, and more. Testing them with Firefox and IE, some of them couldn't play the m4v file at all, while others downloaded the entire file before starting to play it.
I have an activex display that is custom-built and displays video from an IP camera. However it doesnt show on all browsers. I was then adviced to use flash/actionscript to stream a jpeg that the camera drops on a remote server with ip address (just example) 80.247.23.12/container/live.jpg.
However the file name is constant. how can i use flash to stream this live jpeg and make it appear like a streaming movie. I don't know how to go about this at all.
After I updated Adobe flash player I noticed that videos I streamed did not play correctly.A video will begin to play but part way through it will freeze. It will indicate that it is buffering but it never finishes buffering and never continues to play, even if I refresh it.This occurs for several sites such as youtube, megavideo, and wisevid. This occurs for every browser I have tried (Firefox, IE, and Opera.) I also realized today that now iTunes cannot not download video either. When I try it says that parts of the files seem to be corrupted. I have uninstalled and reinstalled flash several times but that has not helped. I am using Adobe 10.1 (under version test it says it is WIN 10,1,53,64) and I have Windows 7
Is it possible to investigate an html page that views a video streaming data using flash, and then use these data to view it on the phone? For example Al Jazeera website has a streaming service. I've looked through the html page and other resources using chrome developers tools. I found a lot of data, but couldnt figure it out which data I need.
I am using a flash website template (basically stripped of 95% of the code they provided, and just using their graphics) from [URL] I needed to add streaming video, and I elected to use PHP streaming found on www.flashcomguru.com; as modified by lance of courierwebcasts [URL].
The problem I have is that when I use the scrubber.swf to play a video, updating variables and addresses as appropriate, it works fine. However when I take it and recreate every element of the player in a movie on the timeline of my template site, everything but the time counter works fine. It plays fine, it scrubs fine, etc.; it just always displays 00:00/00:00. I am guessing it has to do with variable definition or somethingbut it is beyond me... any help?
Here is just the bit that I am pretty sure is the issue;
I am trying to stream audio to my flash application. I got it working with a test MP3 file. But the problem is that MP3 encoders are protected by patents and require license fees.(I am living in Canada) Isn't there a open audio file format supported by flash?
I have an SWF that's 30MB. Sound files (music) make up 25MB, art and other things make up the remaining 5MB.
Would it be possible for me to load the 5MB of necessary art and other things first to allow the user to operate the app, then after that's all loaded and they are operating the app, load the remaining 25MB of sound files in the background?
UPDATE: Loading SWF (or other entities) externally is not an option.
I'm trying to add sound visualization to my flash mp3 player. I found some samples but when adding the script to my project it doesn't work.The code for my mp3 player is:
import caurina.transitions.*; volume_mc.slider_mc.buttonMode = true; var xOffset:Number;[code]......
I have CS4 but saving doc as CS3 so I hope I am in the right forum. I added a behavior as sound streaming mp3. I want to loop it.. Here is the action code that was generated. How would I change it to looping. I changed the true to false at the end of the code but that didn't work. here it is: