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"));

[code]....

View 1 Replies


Similar Posts:


Flash :: Custom Music Player Using Youtube, Sound Cloud, And Mp3 Streaming?

Oct 14, 2011

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.

View 1 Replies

Flash - Locally Cache Audio When Streaming With Sound.load() In Adobe AIR?

Sep 30, 2010

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 Replies

Professional :: External Swf Streaming Mp3 Player No Sound?

May 3, 2011

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?

View 7 Replies

ActionScript 2.0 :: Streaming Load Sound?

Oct 8, 2008

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.

View 1 Replies

Html :: Dynamically Load Different Streaming F4V Files Into One SWF Player?

Apr 22, 2010

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?

View 1 Replies

ActionScript 2.0 :: Stop Player Streaming Automatically On Page Load?

Apr 29, 2008

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].....

View 1 Replies

Media Server :: Get Sound Level Of Each Clients Who Are Streaming Video And Sound?

Oct 20, 2011

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?

View 3 Replies

Flash :: Streaming Video Player?

Apr 18, 2011

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?

View 2 Replies

Does Flash Player 10.3 Supports P2p Streaming

Aug 23, 2011

I just found infos about flash player 10.1 and p2p streaming.

View 1 Replies

ActionScript 2.0 :: Streaming Sound Distorted - Sound Object?

Jun 14, 2004

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

View 1 Replies

Flash :: Player In Windows 7 - No Streaming MP3s?

May 7, 2009

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?

View 3 Replies

Media Server :: Flash Player 10r32 Not Streaming

Sep 11, 2009

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?

View 4 Replies

Flash :: Getting Error While Trying To Seek In My Streaming Video Player

Jan 28, 2010

I'm building a video player here[url]...

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]...

View 1 Replies

Flash :: Retrieve Valid Sound.length Property Before Streaming Loading Is Done?

Oct 13, 2011

I would like to know what bitrate is song, so I count it this way:

var bitrate = Math.floor( 8*_snd.bytesTotal/_snd.length);

but unfortunately I can not retrieve valid value for _snd.length before all the song is loaded. Is there any other way to achieve that value?

View 2 Replies

Actionscript 3 :: Choppy/skippy Sound When Streaming From Flash Media Server?

Dec 22, 2011

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.

View 1 Replies

CS3 : Flash Multi Flv Player With Dock Menu From Streaming Server?

Apr 3, 2009

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).

View 2 Replies

Media Server :: Flash Player In Windows 7 - No Streaming MP3s?

May 7, 2009

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?

View 1 Replies

Media Server :: Possible To Put Brand On Flash Player While Live Streaming?

Oct 8, 2010

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?

View 4 Replies

Javascript :: Flash Video Player That Supports Streaming M4v Files

Nov 30, 2010

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.

View 1 Replies

Actionscript :: Streaming A .jpg File Using Flash Or A Player That Works Across All Browsers?

Dec 22, 2010

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.

View 1 Replies

Professional :: Streaming Videos Don't Play Properly With Adobe Flash Player 10.1?

Jul 13, 2010

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

View 1 Replies

Silverlight :: Get Video Streaming Data From Flash Player To View On Phone?

Jan 30, 2012

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.

View 1 Replies

ActionScript 2.0 :: CS3 : PHP Streaming FLV Video Player Works Fine Standalone Not As Well In Flash Site?

Mar 2, 2009

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;

code: ns["onMetaData"] = function (obj) {
duration = obj.duration;
durationMinute = Math.floor(duration/60);

[code].....

View 3 Replies

Actionscript 3 :: Open Audio File Format Supported For Streaming In Flash Player

Aug 2, 2010

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?

View 1 Replies

Actionscript 3 :: Load SWF Data Without Loading Sound, Then Load Sound Later?

Jan 2, 2011

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.

View 1 Replies

No Sound On Adode Flash Player?

Jun 17, 2008

I cannot hear any sound when i use the adobe flash player onyoutube, but i have sound when i play music from itunes andwindowmedia player.

View 9 Replies

ActionScript 3.0 :: Load Streaming Video From Vimeo Into Flash Web-site?

Dec 31, 2010

It 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]...

View 11 Replies

ActionScript 3.0 :: Add Sound Visualization To My Flash Mp3 Player?

Jul 10, 2009

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]......

View 16 Replies

How To Loop Streaming Sound/mp3

Apr 30, 2009

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:

//Load Streaming mp3 behavior if(_global.Behaviors == null)_global.Behaviors = {}; if(_global.Behaviors.Sound == null)_global.Behaviors.Sound = {}; if(typeof this.createEmptyMovieClip == 'undefined'){ this._parent.createEmptyMovieClip('BS_figaro',new Date().getTime()-(Math.floor((new Date().getTime()) /10000)*10000) ); _global.Behaviors.Sound.figaro = new Sound(this._parent.BS_figaro);

[code]....

View 6 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved