ActionScript 3.0 :: Sound Stream Is Not Available Anymore?

Sep 11, 2010

I load icecast stream into Sound object, using some tricks to overcome memory leakage. Generally it works quite well, unless someone reloads either icecast or stream source program on the server. In that case flash player just mutes itself forever. I'm looking for some way to detect this case internally and reload the stream without refreshing web-page.My problem is caused by the fact that onComplete event for some reason doesn't trigger, maybe there's another event happening, but I just couldn't find any.One thing that I tried was noting down stream progress point and checking consequently for 200 times if it stays the same and if it did I was manually calling stream reload function.

View 1 Replies


Similar Posts:


Professional :: Sound Stream From One Clip Playing Over Stream From Another

Jan 23, 2011

I have a layout with narration and a nav bar. When I click a nav button for section 2, the audio from section 1 (set to stream) continues to play over the audio for section 2. This cumulates so if I click buttons for sections 3, 4 and 5, I get five audio files playing on top of each other. Sections are individual movie clips with embedded audio streaming on a Sounds layer in each movie clip.

View 3 Replies

Sound Stream From One Clip Plys Over Stream From Another?

Jan 24, 2011

I have a narration and a nav bar. When I click the button for Section 2, the audio for Section 1 continues to play on top of the audio for Section 2.

View 1 Replies

Media Server :: Send Sound With Stream (both Sound And Mic Audio)?

Oct 6, 2011

I have a broadcasting project that I've got where the host of the show can have multiple sound effects they can use on their show.I'm wondering if the only way to go about this is for all the clients listening to the show need to download the mp3 of that sound effect or if the sound effect could come from the host ...like combining his mic (for his voice) but also straight audio (the sound effect) into the stream.

View 1 Replies

ActionScript 3.0 :: Stopping A Stream Sound?

Aug 5, 2009

how do we stop a streaming sound?

sound.stop();
or
sound.close();

View 1 Replies

Sound Choppy In Stream Mode.?

Oct 9, 2009

I placed my audio in the timeline, but I want it streamed rather than event driven because people will be jumping around the timeline When I change the sound to Stream the audio gets incredibly choppy.

View 6 Replies

Read Using C++ (C#) Sound Stream Sent By Flash?

Feb 28, 2010

I need to read sound stream sent by flash audio in my C++ application (C++ is not a real limitation, it may be C# or any other desktop language). Now flash app sends audio to another flash app but I need to receive the same audio by desktop application.So, is there a standard or best way how to do it?

View 5 Replies

ActionScript 3.0 :: Stoping Sound Stream?

Oct 20, 2009

i make my first flash homepage this time, and i got a problem with my intro.It takes a lot of time to make this work because its my first projekt.So iïve made a flv file as the movie clip and an mp3 for the sound.And i lode it by Actio Script.Here is my code.

//Intro-Video laden
var IntroConnection:NetConnection = new NetConnection();
var IntroStream:NetStream;

[code]........

View 0 Replies

ActionScript 3.0 :: Open And Close A Sound Stream?

Jan 11, 2010

I am stumbling across this issue as I open and close a sound stream. This is the code I use, not sure if closing and opening a stream on the same function is a good idea.

[Code]...

View 4 Replies

Professional :: Sound Synch: Stream Vs Event

Apr 23, 2010

I'm working in Flash CS3. My animation is about a minute long, with a single audio track that plays from beginning to end. The sound quality is noticably better when I set the synching to Event, but unless I set it to Stream the sound falls behind the animation. Is there any way to maintain proper synchronization with the Event setting? Also: will the lag be consistent on different machines and players? I thought about adjusting the timing of the animation so that it matches the Event-set sound in playback, but that's such a clunky a solution it seems likely to cause other problems.

View 2 Replies

Actionscript 3 :: Sound Stream Stops Loading?

Jan 28, 2011

I have a little sound stream script here, but sometimes if you press play to the next track before the current has done loading the next track doesn't comeplete loading

package player {
import flash.events.Event;
import flash.display.Sprite;

[Code]....

View 1 Replies

ActionScript 2.0 :: Load The Sound And Play And Stream It

Mar 21, 2004

I have a button which loads a sounclip into a movieclip: [AS]_root.myMusic = new Sound(emptyMC); _root.myMusic.loadSound("song1.mp3", true);[/AS] it will load the sound and play and stream it ... but in my output i constantly get this every sec: Error opening URL "file:///E|/Dir/Dir/Dir/undefined"

View 1 Replies

Professional :: Flash - Animation With Stream Sound Not Playing In Mac?

Jul 29, 2011

I have made a 5 min animation with stream sound. Its playing perfectly in PC. But in mac, its not playing. Stream sound starts from frame 60. So mac plays the swf plays till 60 frame, after that it pauses. I tried importing different sound format (wav, aif, mp3) and tried with all sound export setting but the problem remain same; its playing only till 60.When i removed the sound, it played till end. Even with event sound, it plays till end. But with stream sound, the problem. The problem is only in mac; in pc its perfect.I am using VMware Mac OS x leopard in window xp for testing purpose.

View 2 Replies

Flex :: Change The Sound Volume Of A Live Stream?

Apr 20, 2010

I have something like this:

private var myVideo:Video;
public var videoDisplay:UIComponent;
...
videoDisplay.addChild(myVideo);

[Code]....

how can I change the volume of this stream, I would like to bind the volume to a slider

View 2 Replies

Flash :: Encoding Speex Into A SWF Version 10 Sound Stream

Mar 1, 2012

Adobe's "SWF File Format Specification v10" says that Speex encoded data can be used for streaming sound (a little clarification of the "streaming sound" definition here: "The SWF file format supports a streaming sound mode where sound data is played and downloaded in tight synchronization with the timeline. In this mode, sound packets are stored with each frame." - this has nothing to do with any FMS streaming, no ActionScript needed - just plain SWF).This should be accomplished by using a single SoundStreamHead2 tag with StreamSoundCompression set to 11 (which means "Speex", as stated in the abovementioned Specification) and then N pairs of ShowFrame and SoundStreamBlock tags. However, this does not work - Flash Player plays no sound when playing the SWF generated by me this way. Please note, that I am capable of generating such SWFs containing streamed MP3 or PCM data, which then play perfectly. Just not Speex...

I strictly conform to the Specification:URL...I tried the streaming sound approach as well as the event sound - both do not work.Moreover, I was not able to find (anywhere on the Internet) any sample SWF with streaming sound (nor event sound) encoded in Speex. Do they even exist? Anyway, Flash CS5.5 is not capable of generating them.I would just like to know whether Speex support for SWF streaming sound can be found anywhere else than in the Specification. (I know that FLV can contain Speex and that Flash Player can stream Speex from a microphone and that FMS can stream Speex to its clients, but this is not what I am asking for)

View 1 Replies

ActionScript 3.0 :: Play MP3 Sound From Buffer (ByteArray / Stream)?

Oct 25, 2009

I have a buffer with MP3 data (If I would save this buffer and call it buffer.mp3 it would play, but in this situation I should not save it to file system). I have to play it, but I can not, what shall I do? I tried the next code to play that buffrer(ByteArrayStream) (I get MP3 data from server the method of getting data works fine (tested on text int's etc) I call the returned ByteArray readResponse because I have some seading method and It is it's response).

[Code]....

View 5 Replies

Media Server :: FMS Live Stream Input Sound Echo

Feb 22, 2010

I am using FMS for live streaming. Am using Flash to publish live video, I have one to one live streaming where I can see other end user live video and other end person can see mine live video. So one input stream going to server and one out put stream coming back. The problem what I was getting is sound is getting echo i.e., Repetitive sound getting.

View 1 Replies

Actionscript 2.0 :: Detect If Stream Finished Playing Sound/movie?

Apr 29, 2009

how to detect if stream finished playing sound/movie?

View 1 Replies

ActionScript 2.0 :: Control The Sound Object Of A Video Stream From A Different Domain?

May 13, 2007

We need to call different instances of youTube Video into our own swf and play them.

Now as youTube video is from a different domain, the Flash sandbox restrictions naturally come into play. We am loading the youTube swf into a clip using the MovieClipLoader Class.

If we remove the instance using the removeMovieClip() command the video is removed but the sound continues. We have even tried the MovieClipLoader unloadClip() method but that too did not yield results.

We wish to be able to kill the sound object or atleast mute it so that it does not play even after the movie clip containing the video is removed.

As the swf belongs to a different domain we are unable to control the sound object directly through script.

We have even tried loading another youTube instance into the same movie clip after first removing it using the removeMovieClip() command, then creating it again, and finally loading the youTube instance using the MovieClipLoader class, but the earlier sound still continues to play even while the second clip sound also plays.

View 1 Replies

ActionScript 3.0 :: Slight Delay In Button Sounds During Sound Stream?

Jan 30, 2009

I have some sounds on buttons:

Code:
var mySound:Sound = new myLibrarySound();
myButton.addEventListener(MouseEvent.CLICK, playSound);
function playSound(e:Event):void

[code]....

... and that works fine. I then have some streaming music:

Code:
var myStream:Sound = new Sound();
myStream.load(new URLRequest("myPath.mp3"));
myStream.play(0);

... and that works fine too. Now, however, the initial button sounds have a slight delay -- I'd estimate about 150-250 ms. It's enough that rollover click noises happen about the time you click, and click noises happen about the time you release, etc. Now, here's the KICKER. It only happens in FIREFOX. CURSE FIREFOX. Seriously. I've been having so many Flash issues in FF3, it just drives me nuts. Firefox and wmode is a pain, Firefox and sound is a pain, Firefox has been crap for Flash development lately.

View 2 Replies

ActionScript 3.0 :: Stop Looping Stream Sound Imported From Library?

Mar 9, 2011

How do you tell flash to stop Looping a stream sound that is imported from the library via Linkage method into AS3? I understand the idea of soundChannel that control the sound.

PHP Code:
block_mc.addEventListener(Event.ENTER_FRAME, enterframe);
function enterframe(event:Event):void{
if(block_mc.hitTestObject(circle_mc)){
myChannel= mySound.play();
}else{
myChannel.stop();

The above is a drag and drop situation, so when the block_mc is no longer hitting the circle_mc, the sound echoes or loops multiple times before coming to a stop. Any clue how to rectify this. How do you use onSoundComplete in AS3.

View 4 Replies

ActionScript 1/2 :: Get High Quality Sound In Stream Mode In Timeline Not In Event Mod?

May 6, 2010

How to get a high quality sound in Stream Mode in the Timeline not in Event Mod? In Stream Mod the sound played in the timeline is HQ but after .swf export it gets in really bad quality

View 5 Replies

Cannot Open SWF Anymore

Aug 22, 2010

I have installed CS5 recently and then deleted CS4, since doing so (or at least I think that's the cause), I cannot open SWF by a simple double click like I used to. Opening them in browser or in CS works fine but I still want to be able to open those SWF with a double click.

Tried using "open with", then Flash CS5, without success. Also went on Adobe's website to try redownloading the flash plugin but didn't let me download it as "browser already have flash plugin installed".

How did you re-established the double click to open a SWF?

View 1 Replies

Media Server :: Switch Or Change A Server-side Stream - Starts Lagging After 2 Seconds Of Playing And Sound Disappears

Jan 28, 2010

I try to switch or change a server-side stream, it starts lagging after 2 seconds of playing and sound disappears. Here are scenarios that result in that terrible lag:

1. I create server-side playlist with stream.play() with reset=false; when it is time to play the next movie in the playlist, it starts lagging after 2 seconds.

2. The same problems appears when I just switch streams. I installed FMF Feature Explorer and tried to launch SwitchStreams sample application: the same problem - server stream starts lagging after I switch streams with stream.play().

I tried on different servers (local and remote), with different players (debug player of FMS Admin Console, Standard Flash videoplayer component, OSMF player, Flex video player). I also tried all possible flv, f4v and mp4 file compression options for video files - still the same problem. I have also tried literally thousands of Application.xml settings: changing buffer, buffer ration etc. Is there any tip where I should search for a solution?

View 4 Replies

F8 Buttons Dont Work Anymore

Dec 6, 2009

Im very new to flash and a colleague provided me with perfectly functioning swf presentation. I opened it with flash to make some minor mods and now when i save the pause/play buttons he had put on the presentation no longer work no longer work.

View 1 Replies

Professional :: Add Actions On Button Anymore?

Apr 29, 2011

I have buttons, I can't assigned them simple actions such as GetUrl, like I use to do in flash 8.I am now in CS3 and can't make it work.

View 1 Replies

ActionScript 3.0 :: Button Not Working Anymore After First Use

Aug 17, 2010

I have a button which I want to be dynamic in it's use. The var currentQuestion get's updated within another function. I have traced this and that's not the problem. The problem lies within the fact that after i have pressed the button once it's not working anymore. So the buttons works the first time, but after clicking it (and so updating the currentMovieclip to "question01_mc") it doesn't work anymore.

This is not the complete code, but just the part that matters,
Code: Select allvar currentQuestion = 0;
var currentMovieclip = "question00_mc";
var Root = root;
[Code] .....

View 3 Replies

ActionScript 2.0 :: OnMotionFinished() Not Working Anymore?

Apr 28, 2006

Ok, for my site i have a preloader that slides in, then it slides out once it's finished. I decided to change a couple things, now the same file with some unrelated changes is giving me syntax errors when publishing it. Heres some code:

Code:
import mx.transitions.Tween;
preloader.bar._visible = false;
container._x = container._y=0;

[Code]....

View 12 Replies

Flash :: Preloading As2 Project Not Working Anymore

May 9, 2009

does anyone noticed when using the latest flash player (10), all website thatuse preloading and is publihed with actionscript 2.0 is not working anymore. Only the onloadComplete or onLoadInit is triggerd, so preload animations are skiped. For example i made this website a while ago that worked fine with flash players up to verion 9.Now the preload percentage is not showing anywhere. I also tested other websites that i know off
where made in actionscript 2.0

View 1 Replies

Professional :: Cannot Navigate To Home Page Anymore

Oct 8, 2010

I have 10 buttons for various pages on a website I am building. I am only dealing with the first 2 buttons so far: home and about (laborLaw). On my about page, I wanted to have buttons to navigate to another frame where the viewer can Read More Details. In order to get my button to work, I had to type about_mc. before the event listener of that button. Here's the code that worked.

about_mc.laborLaw1_btn.addEventListener(MouseEvent.CLICK, laborLaw1);
function laborLaw1(evtObj:MouseEvent):void{ gotoAndStop("laborLaw1_fl"); }

So I am now able to navigate to frames from buttons inside the mc. My next task was to build a close button to navigate back to the about page from the "Read More Details" page on a 101. Here's the code I used on frame 101:

(stop);
// the following is to navigate back to "about" (Labor Page)
closeLabor1_btn.addEventListener(MouseEvent.CLICK, returnLabor);
function returnLabor(evtObj:MouseEvent):void{
gotoAndStop("about");
}

That worked great BUT, once I navigate BACK to the about page using the closeLabor1 button, I am no longer able to navigate to any other button such as the home button. Here's a video showing exactly what happens. [URL]

View 1 Replies







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