ActionScript 2.0 :: Audio Streams Playing At End Of Loading?

Jul 10, 2009

I have rather large project that contains several swfs and flvs with audio. The project is published in Captivate (which renders a main swf file). After the preloader screen, a lot of the audio files start playing at once at the beginning of the presentation. I have tried inserting an swf (1st Captivate slide) with AS2.0 command "stopAllSounds". It works as intended and stops all the cacophony. But then, none of my audio plays throughout the 7 minute project. Does anyone know how I can restart the audio?

View 1 Replies


Similar Posts:


Streaming Audio / Loading Audio Into Swf First / Then Playing It?

Jan 28, 2012

I think it is loading the whole audio first into the swf, but I would like to get confirmation from someone more knowledgible.[code]I want it to stream the audio when the button is clicked only so that 100 of these swf will not slow down a whole webpage from loading.[code]I only start getting concerned when I noticed that on FF and Chrome, the page loads really quick but when I open the page in IE, it takes a very long time for the page to appear.

View 3 Replies

Flash :: Audio Player That Can Play Binary Audio Streams?

Apr 13, 2011

My server is streaming binary audio data (mostly mp3 files) to a client (a browser). This client stores the audio data in memory.

What I'm looking for is a flash audio player that I can input the binary audio data so that it can play the audio file.

Preferably, the flash client is merely a bridge to Javascript so that I can handle everything in Javascript and simply use Flash's audio features, but this is not a requirement.

View 1 Replies

Make Audio To Stop Playing Soon After Loading?

Feb 25, 2010

I am new to Flash action script and i have problem with action script code. Even though i comment the mvMyVid.play(); still the audio plays for fraction of second and stops.[code]...

View 1 Replies

ActionScript 3.0 :: Loading And Playing OSMF Audio In Chrome And Safari?

Sep 30, 2010

If been trying to refurbish my website using solely OSMF but, the sound part gives problems in various browsers. It works in IE6 and FireFox but, it doesnt in Chrome and Safari. Does anyone know what is happening and what their differences are when it comes to file loading?[URL]check it for yourself clicking the buttons in various browsers the Flash button uses native flash sound libs the OSMF button the OSMF implementation.

Main.as

Code:
package {
import org.osmf.elements.AudioElement;
import org.osmf.media.MediaPlayer;
import org.osmf.media.URLResource;

[code]....

View 1 Replies

Media Server :: Possible To Audio Mix Streams In FMS?

Aug 11, 2011

Is it possible to mix audio streams in fms (like fmg)?

View 3 Replies

Java :: - Merging Several Audio Streams Into One In Red5?

Mar 16, 2009

I have several flash clients that send live audio stream to the Red5 server. Is it possible to combine all this audio streams together so that other clients could subscribe only to one audio stream and listen live audio from all publishers?

View 11 Replies

ActionScript 3.0 :: Sound Mixer - Mix Several Audio Streams?

Nov 12, 2008

Is it possible to mix several audio streams? I want to play several audio tracks simultaneously, but several factors that are at times, the audio tracks are out of sync, such as latency Sound.play method, the for loop, the spec of users PC, FLash Player version, operating system etc

View 1 Replies

Java :: Merging Several Audio Streams Into One In Red5?

Aug 24, 2010

I have several flash clients that send live audio stream to the Red5 server. Is it possible to combine all this audio streams together so that other clients could subscribe only to one audio stream and listen live audio from all publishers?

View 1 Replies

Flash :: Intercept Video And Audio Streams?

Sep 16, 2011

is there any Java library out there that can help intercept video and audio streams being sent through the browser?

So for example, a video starts loading through a flash player using some Flash server, the java application would listen for video/audio stream and capture and write it to video on the disk.

View 2 Replies

ActionScript 3.0 :: Audio Streams Into An Array Within Flash

Feb 7, 2011

I'm currently working on a University project which involves importing audio streams into an array within Flash using AS3. At the moment I have all of the feeds importing successfully but I need some help with the next step of assigning identifiers (i.e. names) to each array item. My plan is to link these assigned identifiers with a visualisation which will play accordingly when the stream is being imported. Below is the current code I have. The links for the audio streams have had to be removed due to legal reasons.

[Code]....

View 1 Replies

ActionScript 3.0 :: Visualizing Multiple Audio Streams Within Flash

Feb 16, 2011

I'm currently working on a project which involves importing audio streams and visualising them within Flash. At the moment I have two files, one which can import all of the streams at once, continuously and another which visualises just one of the streams using an example animation I found which will be replaced at a later date. My problem is connecting the array to the visualisation so that all of the streams interact with it and affect the animation. Below is the code I have for the multiple streams with no visualisation file.

Code:
var stream_arr:Array = new Array(
"mtl2.liveatc.net/kbur",
"bos.liveatc.net/6b6",
"m1.liveatc.net/kbwi_belay",
"aus.liveatc.net/kccr",
"mso.liveatc.net/zob_cle",
[Code] .....
Note that I have removed the "http" from all stream addresses due to my low post count.

And here is the code I currently have for the file which can visualise only one stream, rather than the multiple I would like.
Code:
stop();
function goBack(evt):void {
gotoAndStop(1);
this.removeEventListener(Event.ENTER_FRAME,spectrum);
} var snd:Sound = new Sound();
[Code] .....

View 1 Replies

Java :: Saving Two Streams Of One Of Video And Other Audio Using Xuggler And Red5

Dec 21, 2011

I am using a red5 server. I am doing a two way video conference using flex application. My current red5 server is storing both streams as different flv files.

now i have done some editing and have saved these edited files as one with video stream

[Code]...

View 1 Replies

Media Server :: FMS 3.5 Streams Stop Playing

Oct 4, 2010

I have a fms 3.5 server that stalls when playing content regularly. After restarting through the admin console streams play again.

View 1 Replies

Media Server :: Multiple Audio Streams Mixed With A Video Stream

Apr 20, 2011

I have read in FMIS 4 "new features" that "absolute timecode" allows to switch audio tracks while playing a video (managing synch). Is there any exemple showing how to use this funtionnality (server config, flash player action script exemple)?

View 5 Replies

Detect Latency When Playing Live Video Streams From FMS?

Sep 25, 2010

Because of network latency,there will always be latency, how to know how many seconds the latency is with ActionScript?

View 2 Replies

Media Server :: Playing Recordings When No Live Streams Available

Jun 1, 2011

I am able to record live streams on server side. Now I am looking for an option to play recorded streams on server side when no one is publishing a live stream. Currently I am able to record all live streams that are currently being published in /opt/adobe/fms/webroot/live_recorded Folder. All the recorded streams are saved in stream.f4v format. I want to change main.asc in livemyapp folder in such a way that if any one is not publishing live streams of the name "abc" then automatically the client is served with the previously recorded abc.f4v in his browser.

Here is main.asc
/* * application.onAppStart:* is called when application load. It contains Live (out of the box) * application specific initializations. */
application.onAppStart = function(){ // Logging
trace("Starting Live Service...");
[Code] ....

What should I write in main.asc so that if a client is requesting to watch a stream and if that is not being published at the moment, he should be served the recorded version of that stream.

View 1 Replies

Media Server :: Merge Multiple Live Audio Streams Into A Single Stream In FMS?

Nov 17, 2009

I need to merge multiple live audio streams into a single stream so that i can pass this stream as input to VOIP through a softphone.For this i tried the following approach:Created a new stream (str1) on FMS onAppStart and recorded the live streams (sent throgh microphone) in that new stream.

Below is the code :
application.onAppStart = function()
{

[code].....

View 1 Replies

ActionScript 3.0 :: Detect When A Playing Audio File Has Reached The End (stops Playing)?

Aug 31, 2009

I have some animation (programmatic, I'm NOT using keyframed animation in timeline), and some music I want to play in the background. Once the music file reaches the end (about 30 seconds long), I want to trigger the end of the animation functions.I figure I could either use an actionscript timer to trigger the end of the animation or a keyframe with actionscript that is placed on the timeline near the end of the song but these methods assume knowledge about the duration of the wave file. If I changed the framerate or updated the external wave file, these triggers would possibly no longer sync upIs there some sort of event listener or other detection method for an audio file to signal it has finished playing? Or maybe there is a way to get the duration of the audio file to use in the timer

View 3 Replies

Media Server :: Playing Published Streams Through An Administrator Connection?

Jun 12, 2010

I am building a custom administration application which has to review streams published to our FMS application. This is to ban clients publishing inappropriate content. I am wondering if I have to make a connection to the application, as normal users do, in order to play the published streams? I am getting the list of streams using another connection, to rtmp://domain:1111/admin, like outlined in Administration API, and issuing the 'getLiveStreams' call.
 
The reason I am asking is because firstly, I remember that the Administration Console can play streams published to the server, but I don't recall it incrementing the connection count which shows amount of user clients connected to an application. Maybe I have missed however, but if I am right and it indeed can play streams without connecting to the application (which actually DOES sound a bit unlikely, given how the stream names are local to an app.), then maybe I can do it too? Secondly, I presently have to differentiate users and administrators in my 'onConnect' script, because are perform completely different roles. If I could relieve my admin. app from connecting to the application, I could also dump the role switching.

View 2 Replies

Movie Streams Before Preloader Finishes Loading It?

Jul 11, 2009

I have created a very basic preloader using flash components 'Loader' and 'ProgressBar". It's job is to load an external swf movie clip/file.

Problem: When the preloader has finished doing it's 'thing', i.e. reaches 100%, it loads/or seeming reveals the external movie already underway i.e. not at the first frame.

I've read a few posts from "Whispers", and have concluded that the problem is that the movie is streaming whilst being loaded. And also that i need to be using "init" in regards to 'listener'.

However i really want to be able to apply this to the code i am using it, as i had just kinda gotten to grips with it (the code).

Is anyone able to tell me what a need to alter to get the preloader to finish loading the movie COMPLETELY before it starts to play.

------------
myProgressBar.mode = "manual";
myProgressBar.setProgress(0, 100);
myProgressBar._visible = true;

[Code]....

View 3 Replies

IDE :: Audio From Unloaded Swf Keeps Playing?

May 28, 2009

I'm trying to load a successive series of swf, each containing audio, into a loader. As each ends, it's unloaded and the next one loads. I'm using the following code:

Code:
var ldr:Loader = new Loader();
var c:int = 0;

[code].....

View 2 Replies

ActionScript 3.0 :: Audio From Unloaded Swf Keeps Playing?

May 28, 2009

I'm trying to load a successive series of swf, each containing audio,into a loader.As each ends,it's unloaded and the next one loads.I'm using the following code:

[CODE]var ldr:Loader = new Loader();var c:int = 0;var clips:Array = new Array("dmt1.swf","dmt2.swf","dmt3.swf","dmt4.swf")addChild(ldr);ldr.load(new URLRequest(clips[0]));
addEventListener(Event.ENTER_FRAME, loading);[/CODE]...........

Each swf loads just fine, but the audio from the previously loaded swf start playing again, so there's a layered audio mishmash.

View 1 Replies

Professional :: Playing Audio At Certain Scenes?

Feb 8, 2012

im trying to play an audio file through 2 certain scenes in my project. for some reason i cant manage to do it, only to stream in through the entire project.

View 9 Replies

Actionscript 3 :: Audio Not Playing In Flash

Oct 22, 2010

I've been trying to play an external sound file in Flash and failing miserably.[code]...

The problem with this code is, I can only run it while it's on a live server (the link is obtained from a MySQL database via XML), so I can't tell if any error when it's being run. Then again, I can't see how the above code can lead to any problems.

View 1 Replies

Flash :: AIR 2.7 For IOS Playing Audio In The Background?

Jun 23, 2011

Update: With the latest Adobe AIR 3 Beta, Adobe added this functionality to their SDK.

http:[url]....iOS Background Audio Playback Support — Developers can now write multitasking iOS applications that can play audio while in the background, including music or voice chat from a conferencing application.

With the new release of AIR SDK 2.7 and Flash Builder 4.5.1 you can "Take advantage of new features in iOS 4 like multitasking..." (from http:[url].....Searching a bit I found out that this "multitasking" does not include true background process, like playing audio while the app is in the background.I know this is new but does someone knows if it is possible to keep audio playing in the background?

View 3 Replies

ActionScript 3.0 :: Audio Will Not Stop Playing?

Aug 3, 2009

I made a simple audio player following a tutorial on Youtube. It seems pretty good, except that the tutorial just starts and stops the sound file. I need it to be playing and for it to pause and resume.As it stands now, the music does play, but the pause button does nothing.Here is the script:

Code:
var loadSnd:URLRequest = new URLRequest("http://jeffreyworthington.com/intro_music.mp3");
var thisSnd:Sound = new Sound();

[code].....

View 6 Replies

ActionScript 3.0 :: External Swf Audio Keeps Playing?

May 21, 2010

I have a big problem that the audio of the external swf keeps on playing on top of other swf after clicking another button.

I have about 22 external swf files that are called up after clicking on their respective button. However, the audio keeps playing on top of the new swf that is selected. It thought the "removeChild(loader);" would work but it doesn't remove the audio.

I don't know if this may be an issue, but along with every swf that plays there are 3-4 .flv videos that are included in the swf. I have included the code.

import flash.display.MovieClip;
var Xpos:Number = 220;
var Ypos:Number = 105;
var swf:MovieClip;

[Code].....

View 6 Replies

Actionscript 3.0 :: Captured Audio Is Not Playing

Jun 4, 2009

I am using red5server and flash cs3 and as3.0 and windows xp. i am trying to capture audio when user clicks on button start. next i will keep capturing for a maximum of 10 seconds or user clicks on stop button.once the maxtime ie 10 seconds reached or user clicks on stop then capturing will be stopped. my application working till this point.but if he clicks on play button then it should play the captured audio. [code]...

View 2 Replies

ActionScript 3.0 :: Video Audio Won't Stop Playing

Jul 8, 2008

I'm trying to build a simple portfolio website, which displays images and videos. I imported a video, and got it to play when a certain button is pressed. But when I press another button (to go look at an image, for example) the video's audio keeps playing. How do I make the audio stop whenever another button is pressed?

View 2 Replies







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