ActionScript 2.0 :: Swapping - Play The Client Side Mp3 First Then Only Play Server Side Sound Object Alternately
Aug 9, 2004
I am new to actionscript. I have created a script that will play server side sound object and client side mp3 files alternately. Now, I would like to play the client side mp3 first then only play server side sound object alternately. However, I have no idea how can I do so. The following is the code that need to be swapped:
[Code].....
View 2 Replies
Similar Posts:
Dec 17, 2009
I want to download files from the server side to client side without prompting a window to the user to download when any updates happen at server side.Right now I am using urlstream class but first file is downloading completely rest of the files contents downloading partially.
editCode sample taken from other post. Warning: it's a huuuge chunk o'code.
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:MyComp="client.components.*" layout="absolute" height="554" width="817"
[code]....
View 2 Replies
Dec 1, 2009
I have a series of mp4 videos (H.236 @ 22 fps) streaming from an akamai FMS serve via RTMP protocol in flash player 9+ with AS 3.My goal is to create client side playlists that smoothly switch from one stream to another. I am creating these playlists using a series of netStream. play (filename,start,len) methods. If I don't use an offset for the start parameter, then the stream switches smoothly from one video to the next with not noticeable jump or jerkiness. However if I introduce a start offset, say a few seconds in, I start to see a quick little hiccup or pause between the seams as it switches from one playlist stream to the next.
View 1 Replies
Sep 3, 2011
I want to create an application that has these features
- At client side: Display a list of images, when user click on one image, data will be stored in MySQL database.
- At server side: Manage images used in client side, I can delete, add new images.
Is this possible for me to achieve this using Flex? And if it is able, will my output be 2 separate SWF files? And where can I find the materials to read on writing such applications?
View 1 Replies
Aug 28, 2009
User interacts with Adobe flex webpage to configure reports based on some data stored server side. They configure their view and have THAT view emailed to them daily. I've got the report builder, the part I'm trying to figure out is how to render the report server side and send it out as email (native flex functionality? convert to html? take screenshot? assume something is running client side?...)
View 2 Replies
May 17, 2011
I am writing a thesis and have been able to place all my frameworks under two categories (client-side frameworks and server-side frameworks), but I can't seem to finf where to place Adobe Flex...In which category should I place this or should I place it in some separate catgeory?
View 3 Replies
Apr 17, 2009
I am making an app where people upload a bunch of images and it thumbnails them and saves them to the server. Is it better to create thumbnails from the uploaded images, or to upload them to the server then re-download the thumbnails?
View 1 Replies
Nov 10, 2010
Below is the code. When the swf is connected to FMS(the connection is successful) I use this application.user_so.send("enterContestGroup"); to call the client side mothed. You can see that in the client side I have defined the "enterContestGroup" mothed. However the fact is it doesn't call that mothed. Can anybody tell me what the error is
application.onAppStart = function(){ application.user_so = SharedObject.get("user_so", false); application.nextId = 0;}application.onConnect = function(newClient) application.acceptConnection(newClient);
[code]....
View 8 Replies
Jun 21, 2004
I would like to know whether is it possible that Actionscript play .wav files that are stored on the client side? If yes, how? Otherwise, what are the alternatives to enable playback of wave files on the user's computer? I plan to create a button that will playback pre-recorded speech(mp3 format stored in the server) as well as user recorded speech (.wav format stored on the client side after user recorded the speech). How can I do so? I would want to make it away that it appears like a Q&A conversation session between the computer (mp3) and user (recorded wave).
View 5 Replies
Apr 30, 2010
I have an *.flv file on a FMS. When I play it on the client side the video plays just fine, but when I call Stream.play(filename, 0, -1, false) on the server side the video turns out really choppy.I both cases I use NetConnection to connect to an rtmp and NetStream to play the stream, but in one case I connect to a stream and request the server to play my file on that stream. Apparently that doesn't work with files? It works just fine for live streams.
View 20 Replies
Sep 23, 2010
I am streaming pre recorded audio files (mp4) to an AIR client. I have tried two different solutions,
streaming the file directly with the NetStream.play("mp4:xxxxx.m4a") and creating a server side playlist, adding the same sound clip and then streaming the playlist. The problem is, when streaming the playlist i get a few NetStream.Play.InsufficientBW, this does not happen when streaming the file direct. Both solutions uses bufferTime=1.0
I would like to use a server side playlist to implement a simple key solution so that the client dont know the full path to the file, but instead sends a key to a custom server side function that looks up the file path and creates a stream for the client.
View 1 Replies
Aug 7, 2011
Since I'm developing a multiplayer card game for Facebook using Flex as client side and Java SE as server side, I wanted to know how do I actually make the connection between Flex and Java? the server and client should be able to send each other data(cards,movement,room information etc...) across and I wonder what's the easiest way to do it without complicating it. where to read about it ? I know JAVA but I find JavaEE hard to understand.
View 2 Replies
Apr 30, 2010
I have an *.flv file on a FMS. When I play it on the client side the video plays just fine, but when I call Stream.play(filename, 0, -1, false) on the server side the video turns out really choppy. I both cases I use NetConnection to connect to an rtmp and NetStream to play the stream, but in one case I connect to a stream and request the server to play my file on that stream.
View 2 Replies
Aug 18, 2009
1. I need to play stored .WAV & .aiff files on the server side with my mp3_player written in AS3. How do I do this ? I know FLash only supports playing of mp3's cause they are smaller, but they don't have a function which grabs data from .WAV and play it with the lower bandwidth of an mp3...
View 1 Replies
Apr 13, 2010
What technology are better (robust, stable, speed) for rich web app with flash movies, chat, etc. Somebody said that Red5 will drop down if more that 50 users try to suck video stream from it. Is there people who use Java on server side and Flash for client side?
View 1 Replies
Apr 18, 2010
I have created a script for an Adobe FMS application to broadcast a playlist of video files as a live stream. (internet tv)
I am now working on a custom Flash-based video player to play my stream.
How do I send information from my server-side FMS application (main.asc) to the client-side video player? (e.g: title, duration of current video player)
View 2 Replies
Sep 6, 2010
I understand how clients use bandwidth detection etc to dynamically switch streams via client calls with ns.play2( ... ), but I was wondering if it's possible to only ever use 1 initial ns.play( ... ) call on the client side, but let FMS server side logic that I write dictate which client sees what content. For example, I have 3 clients connected to my FMS server, all watching a live stream. I then decide I want clientA to see 'recordedMovieA.flv', clientB to continue seeing the live stream, and clientC to watch 'recordedMovieB.flv'.
[Code]...
View 5 Replies
Sep 19, 2010
I want to limit server recorded netstream length to 10 secs at client side using as3. How can I do that?
View 2 Replies
Oct 28, 2009
I've shoved an array in a RSO serverside and now i need to update values in the RSO client side ...I tried the following but it doesn't work...I'm using actionscript 3.0
so11.setProperty("conTrol[1]","test"); so11.setDirty("conTrol");
View 2 Replies
Dec 23, 2010
i'm going to develop a remote desktop project like VNC or RDP. The desktop is captured and encoded as H.264. The code of flex client is very simple:
[Code]...
View 1 Replies
Jul 1, 2010
I have a requirement to do a flash program or something like that (not necessarily flash, it can be javascript or something in aspnet) that allow me to save audio in the client side of a web app, and save it on a file in the server side of the web app.
Ive found this but the only thing that it does its to recognize the microphone, I need the hability of saving the audio file, by the way the server is implemented in aspnet
View 2 Replies
Sep 5, 2011
My goal is to build a program trader for the upcoming CNBC porfolio challenge. I need a way to collect quotes, current positions and place orders in the flash object.
View 1 Replies
Jan 20, 2011
If you wanted to create a client-side Flash-based sound editor that lets you load more than 1 sound to an interface that allows you to manipulate the individual positions of the sounds, and mix/play them in real time, how would you accomplish this?
I'm looking to create a simple version that can mix 2 mp3s, allowing the user to adjust the positions of each. Sort of a dumbed down version of Aviary's Myna audio editor.
At the end of the mixing, I would also like our server to mix the 2 mp3 files with the proper positioning into 1 mp3 file...
View 1 Replies
Jun 23, 2011
Has anyone been able to get bandwidth detection to work using the flvplayback control (client side - using AS3)? I have successfully got it to work using the video component with bwcheck and bwdone but I need to figure out how to do this with the FLV playback control. I am using FMS 3 and do not want to use the native bandwidth detection that comes with FMS. I need to detect the clients bandwidth and set the buffer time and what bitrate of a video (high, medium, low) I provide to a user based on their bandwidth.
In other words, is there an equivialant of bwcheck and bwdone that the flv playback can hook into to detect the client's bandwith?
View 2 Replies
Apr 11, 2012
what to set in FMS config files to help me with rebuffering on client side? The player (flash, rtmp) rebuffers a lot (approx. twice a minute) with no good reason - i've tried several players with various buffer settings, clients and server have sufficient bandwidth for the stream (live streaming) - so i guess this can be helped server side - can it and how?
View 8 Replies
Nov 16, 2010
Using RecursiveDirectoryIterator of PHP i am able to create directory tree and can even flatten it using RecursiveIteratorIterator class , but I want to create directory tree structure which TREE component of flex understands . The following is an array structure in php which flex understands.
array('label'=>'rootDirectory','children'=>array(array('label'=>'subFolder1','children'=>array(array('label'=>'file.jpg'))),array('label'=>'EmtptyFolder','children'=>array())));
create the whole directory structure at server side into the above array format.
View 1 Replies
Apr 7, 2011
is there a way to define a client side playlist like this:[code]but instead of a single videofiles for each playlistentry use dynamic streaming?I know how the DynamicStream class is working and how to set it up but i can't find any information if it is possible to combined those two techniques.
View 1 Replies
Dec 2, 2011
I'm trying to create a simple application that streams the webcam to FMS 4.5 (running on a Windows 7 machine), and then displays the published stream locally. Here's my code:
import flash.net.NetStream;
import flash.media.Video;
import fl.video.FLVPlayback;
import flash.events.NetStatusEvent;
[Code]...
All traces in the event handlers show the NetConnection connecting successfully, and the netstream publishing successfully. However, I get no video output from this. I've confirmed this using the sample video player in FMS 4.5 as well. There is also a weird traffic pattern reported in the FMS Admin console.There is some traffic (~4K) when the NetStream first publishes, but after that there is no activity.
View 1 Replies
Sep 8, 2011
im using an open source program called Festival that generates text to speech, and in ubuntu i call its method text2wave that converts text into a wave file. I am looking into converting short paragraphs to wave files, but the problem is that each wave file ends up being approximately 1.2MB in size. The wave file is recorded at 16khz, and while recording at 8khz halves the size of the wave file (sacrificing sound quality), the wave file is just simply too large. These paragraphs have to be served many times to the clients and our server can not support that much bandwidth. Is it possible to compress the file on the server, and decompress it in my flash script (on the client side) and play the wave?
View 1 Replies
Sep 22, 2011
How would I be able to create a scene where you scroll left to right using the mouse, but instead of having it at a constant rate and having the picture (background) move when your mouse is at a certain x coordinate to have it be that when you move the mouse away from an object the background will move, and will move faster the farther away the mouse is? I have tried scrolling back and forth with x coordinates, but I haven't been able to get this to work.
(I found an example of what I'm trying to describe here; [URL], just click play, skip, leave, and then leave again and you'll be able to see it).
View 4 Replies