ActionScript 2.0 :: [F8] - Pulling Some External Sound From A Server
Mar 12, 2008
I have created a flash header that is pulling some external sound from a server and am running into an interesting issue. Here is the code that I am using.
[Code]...
And here is what is happening: I have a preloader on the first frame and after everything is loaded it goes to the second frame and begins playing. If I just preview the movie in flash (Ctrl + Enter) then everything works fine; the music plays my text field is created (the time counts correctly), and the start/stop button works fine. If I then go up to "Simulate Download" to test the preloader and everything, when it loads and goes to the second frame, the music will sometimes play (and cut out), the text field isn't created, the start/stop button doesn't work, and I don't know what the problem is.
I think I have pinned it down to my my_sound.onLoad() function (that I don't think is getting run in the simulated download), but I can't figure out why it would work with a live preview, and not a simulated download.
View 6 Replies
Similar Posts:
Mar 21, 2011
I'm developping a FMS 4 application that read an external stream, and then, republish it in multicast:
1.- So, first of all I open a NetConnection to the remote application. And I associate it to a new Stream created in the application. Then I have the stream available in my application.
nc = new NetConnection();
nc.connect(REMOTE_APPLICATION);
nc.onStatus = function(info)
[Code].....
But, I don't know who would be the client in the registerStream method. Which reference should I add there? Is it possible in this way?
I made another different script that republish that stream in localhost using NetConnection.publish(localhost/sameapplication). It works properly. But I would like to be able of managing it in the other way.
View 2 Replies
Aug 5, 2010
Question basically is that, on server side it needs to pull an RTMPE stream coming out of an origin server. tried a demo setup but could not get it working. is this feature supported in 3.5?
View 3 Replies
Jun 15, 2011
When a flash player is being hosted on https server, can I pull content to play on it from an http server. Would this work or give a mixed content warning or some other problem?
View 2 Replies
Sep 11, 2009
I'm trying to pull an URL from a txt file, but apparently the URL itself contains several "&" signs which are used to separate variables, so now when I click on the link I'll only get the first segment of the link. Is there a way to go around it?
View 1 Replies
Feb 26, 2010
I'm currently looking to use Flash to pull in two separate media files and to play them at the same time. From what I know about Flash, it's certainly possible to play two files, but is it possible to play files without embedding them in the Flash file?
View 3 Replies
Apr 29, 2010
Here's my problem. I currently have a Flash banner on my website that displays artwork I have made. However, it currently just shows jpegs that are embedded into the Flash file. Is there a way that I can set up a directory in my domain and just have the flash file pull these external images, at random to display? Also, it should be noted that it shouldn't pull the same image twice. That would look silly I would make the files all the correct resolution and size, so resizing is not an issue. I know you can do this sort of thing with javascript, but I want more control and a more stylish appearance.
View 1 Replies
Apr 12, 2007
I made web banners with the intent that the shell being the initial swf, could pull an external swf file from a remote site. View here: [URL]. The main .swf file has to be under 30k, which it is. now the other .swf files load when you rollover the buttons. this method fulfills the 30k requirement on the advertisers side - also allows the creative to have higher res images/swf files hosted on our site/side. In testing it locally, it all works great. But when I moved the .swf file to [URL] to test it - the files hang up when you mouse over the buttons - is there a chance you could check out my source? Here: [URL]. I checked out the security settings.
security.allowDomain,
not sure if I'm using it correctly?
View 13 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
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
Oct 17, 2004
I am pulling external images, I have my main image, and five small images, I have that to make the small images when click to appear in the place of the main image, but I am not obtaining to make they to click, I am placing my archive who to want to make download
View 2 Replies
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
Jul 19, 2010
I am working on controls for an external swf. The external swf loads an external sound file. The structure at the moment is extswf.swf contains mcSound which loads soundfile.mp3. extswf.swf automatically starts playing when invoked. movieController contains the icons for the play/pause buttons. This is assigned CntlClass. CntlClass loads extswf.swf and controls the play and pause buttons.
So far, the play and pause buttons stop and start and stop the movie but not the sound. I know I need to access the sound channel from the external swf and use the sound transform to change the volume. How to access that channel is unknown. The examples I find have imbedded sound files. Also, the examples seem to use the main class for the external swf. My external swf doesn't have a class file, so I have no idea what the main class would be.
View 5 Replies
Jul 23, 2010
In trying to activate the remainder of the pause button, I find that using MovieClip(loader.content).channel.position always returns 0. I've tried numerous other combinations to access the position of the sound for the play function to resume correctly. The visual part of extswf.swf stops and starts exactly as it should.
In CntlClass:
public var loader:Loader;
public var movie_mc:MovieClip;
public var soundResume:int = 0;[code].........
View 2 Replies
Sep 19, 2011
I installed the FMS 4.5 on a debian system already running an apache web server. I configured the httpd.conf as mentioned in d6093a7e2f8312a374a1bde-8000.html but when i call a streaming url e.g. http://<IP>/hls-live/livepkgr/_definst_/liveevent/livestream.m3u8 the request is still handled by the old apache, not by the FMS
View 9 Replies
Jan 24, 2011
All I can find is this discussion but there is no answer to my case.Our company is developing an application, which connects to https server when a client is joining/leaving the server. Here is a part of main.asc file:
application.onConnect = function(client, meetingId, mettingAttendeeId){
if(mettingAttendeeId){
trace('User client : "'+this.name+'" connected');
[code].....
View 2 Replies
Nov 29, 2011
I'm going to setup a web server for streaming h.264 video for flash player and ios device.I know that I need the vod with HDS and HLS, and I don't need real live stream recording.At this stage, I have configured my apache server and use modules in FMS.I have referred to this document,[URL]It seems works fine now.Because I don't need to use FMS any more in my environment, what's the limitation I need to concern in terms of license, performance, etc. ?
View 4 Replies
Jun 4, 2004
[FMX] I am having trouble loading an XML file on an external server into my flash movie when it is uploaded. The data loads in fine when the flash file is on my local computer with the xml file on a server. As soon as the flash file is uploaded the XML data will not load in.
View 2 Replies
Jan 3, 2010
I need to record the sound(.mp3) from microphone in flash, i want to save in a local system from a web page and without using the sever like fms red5 etc.
View 3 Replies
Jul 23, 2010
I want to record the sound by using flash in server.
View 1 Replies
Jul 2, 2009
Newbie question, can't find this specific problem in the archives... I've created an app that has lots of audio. The audio is mp3 files. When I test it (CTRL+ENTER) I hear the audio. When I publish it and view it in the .html file locally (not a local hosting environment) I hear the audio. No problems there. But now it's on an actual server and I can't hear the audio. Wondering if there is a setting I've missed. I have not changed any settings related to audio. I'm actually emailing the .swf file, the .html file, and the AC_RunActiveContent.js file to an individual who has access to the server, and he put them where they need to be. I can see all of the visual content, but no sound. I assume I don't have to send all of the audio with it, correct? What do I need to do to hear this audio?
View 2 Replies
Jun 18, 2009
Is there any param value... or anything else I can use to stop the sound in an .flv file I'm streaming from the server?
I do not have the original video that the flv was created with... otherwise this would be a no brainer. I want to keep the video up but take away the sound
View 1 Replies
Sep 11, 2009
i know the way to capture the mic's sound,My idea is to make an application to record songs palyed by other app,like Windows Media Player,Yes, Just capture from the soundcard,
View 3 Replies
May 13, 2010
when i load external swf inside main swf through loadClip then sound of external swf does not play.
View 3 Replies
Jun 29, 2010
What I want to know is if it is possible to record a sound clip using a microphone and then upload it to the server using a swf applet in a webpage. Im an experienced java/javascript programmer but just starting out with flash/action script. What technologies will I need to do this? Can I do this simply using simply an swf file and an apache/php or jsp page?
View 2 Replies
Nov 11, 2009
I am totally new to Flash Media Server I need to be able to record sound via a Flash app and save it to a server preferably without the use of a Flash Media Server type setup. There is no requirement for live streaming. Is it possible to record the sound and save in memory then pass the data/file as a query parameter to the server?
View 2 Replies
Nov 15, 2003
I have this script in the first frame of the first scene of my movie
[Code]...
which works fine when I test the movie locally, but when I c it to the server I get nothing. I tried using a .wav and a .aiff and still get nothing. Does anyone out there know why this is? Is it a server issue...maybe something to do with mime types? I'm at a loss.
View 5 Replies
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
Aug 11, 2010
I am developing video chat application. I am able to play published video stream. But I am unable to hear sound which is published along with the video. The video is visible but sound is not comming.What is going wrong.
View 7 Replies
Feb 21, 2011
I need to record sound from microfone in flash and save it to server. Can someone provide an example?
View 2 Replies