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
Similar Posts:
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
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
Mar 8, 2007
Is there a way to make external streaming audio sound file "mp3" loop. my understanding is that streaming audio won't loop, only works for attached sounds...
var my_sound:Sound = new Sound();
my_sound.loadSound("jazz.mp3", true);
my_sound.start.(0, 99)
This actionscript works but it won't loop..
View 3 Replies
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
Aug 1, 2011
Flash is not in my toolset, but I am an old Director jock and have spent some hours dipping my head into the Flash manual. I suppose that makes me a promising beginner-level poster. I'm working in CS5.
I need to make a simple Flash-based sound player for a website for a newly-released novel (http://www.bearriverbooks.com/index.html). I want the user to click on what appears to be an icon (or image), which kicks open a simple controller and starts playing a sound file (a radio interview, which I will probably export using Flash's voice compression). Nothing fancy. Just want the visitor to hear the sound and be able to apply simple controls (stop/start/rewind/volume).
I can learn ActionScript, I suppose, since I used to dream in Lingo, but my life would be a lot simpler if I could just publish a controller without having to roll my own. I'd like to think there's a magic button somewhere that can do this, but I haven't found it yet.
View 4 Replies
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
Jan 12, 2009
I would like to completely disable the soundin Adobes Flash-Player in case of "nerving"Websites. Is there a way to disable the soundin Flash-Player, but without disabling the sound in
View 3 Replies
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
Jan 11, 2011
I'm trynig to control an sound of a external SWF but I can't seem to get it right,here is the code i'm using to import the sound
mport flash.media.Sound;import flash.net.URLRequest;import flash.display.Sprite;import flash.media.SoundChannel;import flash.events.Event;import flash.events.MouseEvent;var _som1:Sound;var _channel1:SoundChannel;var _playing1:Boolean = false;var[code]...
View 16 Replies
Feb 26, 2011
Is there any simple way you can access a very short sound file in flash without having to play it in an flv player. its just a ding sound to play when the user hits a button in the presentation.Also is it possible to access an external pic file and then convert it in to a symbol to be used within my presentation.I just don't want to store these files to keep my main swf small.
View 3 Replies
Mar 15, 2009
I'm looking for an flv player that pulls flv from an external source, the player needs to have simple pause play controls and either show frame 1 of the video or have the ability to display a static image (clip of the video). looked all over flashkit and cant find what i want!
View 2 Replies
Oct 20, 2010
I'm having some resizing/full-screen difficulty with loading an external quiz swf into a video player swf. What's happening is that, when the quiz swf is first loaded into the video player, the size of the loaded swf has the correct dimensions and aspect ratio. That part is fine, but as soon as I try to fullscreen or resize the video player (using listeners with stage dimensions) the external quiz swf changes dimensions on me and looks vertically squished and smaller.
I've talked to other people about this issue, and they're telling me that this issue is occuring because the quiz swf contains elements outside of the stage. These hidden elements are supposedly giving the video player "incorrect" dimensions. Is this really the case? Is there any other solution other than fitting any hidden elements within the quiz swf within the stage? And if this is the only solution, then why on initial load does the quiz swf show up properly?
View 1 Replies
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
Apr 30, 2009
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 = {};
[code]......
View 3 Replies
Feb 18, 2010
I am trying to write an mp3 player. I have tried everything and am suck getting the duration of an mp3.[code]...
View 1 Replies
Jun 6, 2008
I'm streaming an external SWF into another movieclip, the external SWF has a timeline animation and sound (voice speech) as well on the timeline, it also has a preloader on it which it's set up that when 30% loaded is completed to start playing the animation.But when I run the main movieclip the streaming of the external SWF works fine for the animation but the sound does not play until the preloader is 100% completed.
View 1 Replies
Jun 3, 2010
So I've been "doing research" for a couple of days now, found nothing on this subject, and let me get this straight:
Is there no way to pause/resume a sound whilst it's being streamed?
Because loadSound() will start playing it immediately; attachSound() can't stream; and start() will simply not work till it's fully downloaded, or am I missing some essential brain cells here?[code]...
View 2 Replies
Apr 18, 2011
I have few movieclip play one after another. For each movieclip, i put the streaming sound inside, and there is a button to turn off sound. I created this coding to turn off the streaming sound and it worked well.
SoundMixer.stopAll(); But, the problem is the new streaming sound will play again when it hit the frame that contain new streaming sound. How to overcome this problem? IS using EnterFrame event the only way to turn off the streaming sound forever??
View 3 Replies
Jan 2, 2008
I am having trouble with sounds from a streaming flv continuing to play even after the playhead navigates to a different place in the timeline. I know from looking through forums and Adobe's livedocs that the answer lies with the SoundMixer class, but I just can't seem to get it to work. I am building a site that houses all of the videos for my company, so basically I want the sound from the flv to stop playing when the user navigates away from the frame that contains the flv.
Here is a sample of the particular code I am trying to use to do this:
Code: Select allimport flash.media.SoundMixer;
var sControl:SoundMixer = new SoundMixer();
msfNavHeader_btn.addEventListener(MouseEvent.CLICK, msfHome)
[Code]....
I don't know if there is a way to build a function that stops sounds globally or if I have to target each instance of an FLVPlayback Component.
View 5 Replies
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
May 20, 2009
i have created a flv player. is there any opensource streaming server where i can test my streaming player.
View 1 Replies
Jun 11, 2010
Is there a way to resume a streaming sound once it's been paused and whilst it's being preloaded in AS2?The issue being that start() won't work till the song is fully downloaded, loadSound() is only called initially and attachSound() can't stream.So first the sound is initiated with loadSound(), then I make it "pause" with stop() and what do I use for resuming? loadSound() with re-initiate it and start() won't work till the sound is fully preloaded, what the hell??Is there any other way of streaming external MP3s in AS2? Will simply switching to AS3 solve this?
View 1 Replies
Jun 14, 2009
I am trying to import a swf I made that contains streaming sound. When I place it on the time line and press cntr enter my animation plays but with no audio. I see the symbols from the swf and the swf inside my library. When I open the swf file inside my project it is broken down frame by frame with no audio. I can add audio back into my movie clip so I know that movie clips can support streaming audio. But I would rather not have to do this.
I'm very new to flash so I am hoping there is something big that I am missing.In addition to my previous question: I need to embed a lot of objects over and over in this project I am working on. Each object will have controls for play back of itself. Is there some reason I cannot do this?
View 6 Replies
Sep 30, 2010
I had a question. So now I am streaming an mo3 file using the sound object (loadSound function) ...So the mp3 is loading (and I have a progress bar showing the percentage loaded) and while it is loading it is being played. Now, when the playhead (the location being played) reaches the end of whatever has been download, it goes to the beginning (repeats). I am looking for a way to make the sound pause once it reaches the end, and then wait until a reasonable amount has been downlaoded, so that it may continue playing again. I hope I was clear.
View 5 Replies
Jan 28, 2012
I'm working on an app to stream audio from shoutcast. The streaming goes well on my computer and when debugging it with an Android-configuration. But when I deploy it to an APK-file and run it on a Samsung Galaxy S, the streaming doesn't work.
My code for streaming the audio:
var urlRequest:URLRequest = new URLRequest("http://.../;");
var soundContext:SoundLoaderContext = new SoundLoaderContext(2000, true);
soundChannel = new SoundChannel();
sound = new Sound(urlRequest, soundContext);
soundChannel = sound.play();
I've also tried an addEventListener(Event.COMPLETE), it seems my app doesn't get there when running on a Samsung Galaxy.
View 1 Replies
Jan 8, 2010
I'm new and I've got a problem I've been trying to fix for a couple days and haven't been able to.I am loading youtube videos in to movie clips with actionscript on a frame:
this.video_mc1.loadMovie ("http://www.youtube.com/v/URL");
this.video_mc2.loadMovie ("http://www.youtube.com/v/URL");
this.video_mc3.loadMovie ("http://www.youtube.com/v/URL");
[code]....
View 2 Replies
Sep 8, 2010
I'm picking up Flash and AS3 after working with AS1 a few years back. My first project is a mp3 player that is able to take an mp3 file, a start loop point, and an end loop point to loop the mp3 without any gaps or breaks in the sound.
blog.andre-michelle.com/2010/playback-mp3-loop-gapless
I found this page that got me started, and went off of that code. The resulting player works perfectly except for one fatal flaw. As far as I know, the mp3 file must be fully loaded to be able to use the Sound.extract method on it, this can take a while when the files are 3-4 MB, especially on slow connections. I want to be able to have the audio start playing as soon as the mp3 file begins loading.Is there any way to use the Sound.extract method on a streaming audio file that has not fully loaded yet?
View 6 Replies
Nov 20, 2010
I have a small application to play a stream from an Internet radio broadcast. When I play the .swf locally it has no problem at all, but once I put the swf on the browser, nothing plays. I don't know if is a security issue. The path to the stream file is in another domain of the page I am mounting it, for example, I put my html file on: w w w . myradio.com/index.html and the swf is calling [URL]
View 2 Replies
Apr 18, 2011
I'm streaming an external MP3 (around 3 mb file) with the following method:
ActionScript Code:
import flash.media.Sound;
import flash.media.SoundLoaderContext;
import flash.net.URLRequest;
[Code].....
With that i have no problem, where i am completely lost is the possibility of triggering an event after de 15 seconds (first parameter of SoundLoaderContext) are loaded, ie, adding an event listener or something like that.
View 2 Replies