ActionScript 3.0 :: Write The Server Side Code With A Regular Web Server?

Feb 9, 2011

I want to learn multi-player programming with AS3.The backend code aspect I am hazy on. I need to write the server side code in something else other than AS3 with a regular web server? what are my options?vb.net socket programming  consol app running on IIS?

View 4 Replies


Similar Posts:


Media Server :: Write Bytes Server Side With File Class?

Sep 18, 2009

Does anyone knows if it's possible to write some bytes received from an AIR or Flex client in a server side file using the File class ? I have been trying for hours without any result.My goal is to store on the server side a swf file sended by a client in a ByateArray.Here is the code I have ended with, assuming that myfile.swf alreadey exists on the server prior to the code execution, and is at the right place, and that pBytes is a ByteArray received from the client which contains a swf file :

function writeFile( pBytes )
{
var myFile = new File( "myFile.swf" );

[code]........

View 2 Replies

Media Server :: Debug Server Side Code?

Nov 15, 2011

I am developing an application using Flash Media Server 4. I am calling some server side methods and response is an error while executing. How can I debug my server side script to watch exactly what is the error? I am unable to access its log also...I have administrator username and password too but everytime it fails to login on administrator due to invalid username or password.

View 1 Replies

Flex :: 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?

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

Data Integration :: SendAndLoad() - How To Write The Server Side

Nov 1, 2006

i do not know how to write the server side .can someone tell me what should be the script?

View 1 Replies

Server Side :: Write To A Simple Txt File Using Flash And Php?

Sep 29, 2006

I'm trying to write to a simple txt file using flash and php. After several failed attempts I decided to brake the code down to it's bare minimum and build up from there, unfortunately even that didn't work.Here's my php code.

PHP Code:

<?php

$myFile = "testFile.txt";
$fh = fopen($myFile, 'w') or die("can't open file");
$stringData = "Testing[code]....

the file it's writing to (testFile.txt) has it's access set to 777 as does the php file.I point my browser to the php file but nothing gets written to the text file. I know the server is allowing php (at least on some level) because my php mail is working perfectly.

View 6 Replies

Media Server :: When Call A Client Side Mothed From Server Side?

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

Flash :: FMS Server-side Code Not Executing?

Jan 12, 2012

I'm trying to create a RTMP Streaming application but I can't seem to get the server-side code to run. I've checked the logs on RootInstaller/logs/test, but nothing inside it. I am running everything locally also.Here's what I have:

ActionScript3 file

public function btnConnectHandler(event:MouseEvent):void
{
nc = new NetConnection();
nc.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);[code].....

View 1 Replies

Media Server :: Make Server Sider(FMS) Two Streams,one Is Regular Another Is Compressed

Feb 1, 2010

i am developing video chat system ,  one side is model, another sider is customer. Now i want that model sider stream sended to FMS, and then FMS make two streams, that the one stream is regular, the other stream is compressed. the compressed stream is just for administrator, so it should be small.

View 1 Replies

Media Server :: Streaming Server 4 - Server Side Playlist?

Jan 26, 2011

The $995.00 version is listed as not supporting server side playlists.  Is it possible to implement internet TV station like functionality using that version?  I would like to have a list of files to play out and have it so those connected are all viewing the same thing.

View 1 Replies

Media Server :: Run FMS On Same Dedicated Server As Regular File Hosting?

Apr 17, 2010

Im picking up a dedicated server it will be CentOS and be well above the minimum req for FMS 3.5 Interactive.
Question: I want to use my dedicated server for more then just the FMS. Is this possible? Basically I want to use the same server for FMS and for the file hosting of my site. Obviously I would give it a different IP but am not sure what I will need to do specifically

View 3 Replies

Actionscript 3 :: Flex 4: Use Google APIs In RIA Without Server Side Code?

Mar 26, 2010

Just to confirm what I think I understand from reading about use of google APIs in RIAs (FLEX 4 and ActionScript) there is no way to connect to blogger API for example, directly from RIA because of google's crossdomain.xml file, right?

So if I want to use their APIs to get some data like content of my mailbox or list of posts on my blog I have to have some code running server side and RIA would just use that code as httpservice to collect data from google?

View 1 Replies

ActionScript 2.0 :: Possibe To Upload File In Flash Itself Not Any Server Side Code?

Nov 14, 2011

i want to upload a image file on stage in flash as2 itself using file reference,not using any other server side code,can it possible.

View 1 Replies

ActionScript 3.0 :: Writing And Modifying XML Files Using Server-Side / Flash Media Server?

Jul 8, 2009

can you write and modify XML files using server-side Actionscript? I've been going through Adobe's Server-side Actionscript reference, reading up on the File class that lets you modify files on the server, and the server-side XML class that lets you read and 'understand' XML data, but can you put them together and essentially edit XML files on the server?

View 2 Replies

Media Server :: Stream.play On Server Side Makes Video Choppy?

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

Media Server :: NetStream.Play.InsufficientBW When Streaming Server Side Playlist?

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

Media Server :: Change Recorded Stream Files Permissions From Server Side?

Dec 20, 2010

I need a way to set the permissions (ex 0777) for the recorded streams without calling any additionals scripts.

View 2 Replies

Media Server :: Server-side Buffer For Live Dynamic Streaming?

Jul 10, 2009

Finding faults in my reasoning, or expanding the discussion further. We are benchmarking FMS 3.5.x for live dynamic streaming and we have run across an issue. When throttling the client from a high bandwidth (1500kbps) to a low bandwidth (325kbps) via a bandwidth shaper (a physical firewall) it takes a very long (real-) time for the client to see the new stream-quality.
 
During the investigation of this issue we have narrowed this down to:
 
1. when transition is requested from client, the client-side buffer is 1/2 i.e. 4-5seconds.
2. if transition is request on a client with unlimited bandwidth, it takes about 6 seconds for the server to process, find an acceptable switching position and send a "transition.complete" event.
3. on the throttled client however, this event takes much longer.

[Code]...

View 2 Replies

Media Server :: Possible In FMS To Record Thumbnails Of A Streaming Video In The Server Side?

Dec 8, 2009

to generate thumbnails of the streaming video to control de contents of the video streaming. Could I do that in the server side?There is any setting to do that? Could I use the getOnMetadata method to catch a bitarray and then put in into a bitmap file?

View 1 Replies

Media Server :: Sending Information From Server-side Script To Client?

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

Media Server :: Dynamic Stream Switching From Server (not Client) Side

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

Media Server :: Receive Stream.send Commands On Server-side?

Nov 12, 2010

I am recording a video and while recording I issue some NetStream.send("doSomething", params) commands from client side. When I am playing back this video I receive the doSomething events on client side. No problems so far.Can I receive those events on server side? I want to handle those events on server side. Not client side.

View 2 Replies

Media Server :: Why Server Side Shared Object Doesn't Work

Mar 29, 2011

application.onPublish = function (client, p_stream){  var myInfo = SharedObject.get(p_stream.name);   myInfo.setProperty("live", true);

I set the sharedobject using code above,now I can publish video,but so is not set(from admin console, "shared object" tab).

View 3 Replies

Media Server :: Server Side Recording - Inconsistent When Called Automatically?

Mar 23, 2012

We have mutiple live streams(games) in our application and one of our requirement is to record the games when they start and end the record after stop.We have written a servere side Code based on  guidelines provided in the forums. Our Sample code looks like this.
 
Client.prototype.startRecord = function( source, destination )
{
    trace("Recording Stream: " + source + " to: " + destination);
    this.newStream = Stream.get(destination);[code]..............
 
We have written a PHP page which receives the Game Start and Game Stop and calls the FMS  startRecord and stopRecord functions accordingly.We tested this record manuall by passing the values to PHP page and recording works perfectly.Our problem arises when we automate this recording. Every minutes we have 10 games that are created and hence the PHP page calls FMS 10 times a minute to startRecord and stopRecord.Some of the recorded flv are inconsistent and recording is never complete.
 
Can FMS take such sequential request? We are stuck with this because the recording is partial sometimes.We are using FMS 4 with Red Hat. Any other information will be provided.

View 1 Replies

As3 :: Media Server :: Limit Server Recorded Netstream Length To 10 Seconds At Client Side

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

Media Server :: Application Doesn't Have Permissions For Server-side Record/append Of Streams

Aug 12, 2011

I have configured FMS on Amazon EC2 I am trying to capture data from my webcam and push it to the server.For storing the webcam i created a new folder  but as it is recommended in other forums "You need to replace the signed Live application (main.far) with main.asc in[FMS-Install-Dir]/samples/applications/live/ ;(For more Info: refer to documentations & live/readme.txt) "I am not able to locate samples folder from where i can get my main.asc file

View 4 Replies

Actionscript 3 :: OAuth Twitter Without Use Of A Proxy Server Or Server-side Script In A Flash Web Application?

Apr 19, 2011

I can't use a proxy server. Can't use google app engine etc. I can't use server side code. No php or python. I need to be able to do logins to twitter and post status updates to twitter through an Actionscript 3 web application. The biggest thing is obviously getting around twitter's crossdomain. Is there a clean ajax version of this or something?

View 1 Replies

Media Server :: Manipulate In Any Way The Video Streams On The Server Side?

Jan 26, 2007

I was wondering. is it possible to manipulate in any way the video streams on the server side? Like for example,to have two streams coming from two clients and mix them into one stream,so a third client (or more) can play just one stream per client instead of two?

View 5 Replies

Media Server :: Killing Clients Stream From Server Side?

Nov 6, 2009

Why can't (or better yet) you kill client stream from server side - I seen some code that FME may call on server side like  s= stream.get(streamOBJ.name); s.play(false); delete s; application.gc(); // over kill but still did not work

View 2 Replies

Media Server :: 2 Origins / Edges - Sharing Same Server Side

Jun 4, 2010

Now I want to do a different test, I put two origin, you can share the same application from two origins? The idea is to have two edges, and two origins, sharing the same server-side application.

View 5 Replies







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