ActionScript 2.0 :: How To Get An Array From A Server

Jul 26, 2009

I have an array of data ona server that I need to load from my animation. I'm looing at doing it with serialization, can anyone point me in the right direction tho? not sure how best to go about this.

View 1 Replies


Similar Posts:


Media Server :: How To Share An Array

Apr 26, 2011

I want to share a list of visitors of chat room with SharedObject. I was going to put and array into shared object's field. Is it possible? And also I was realized that it is impossible to synchronize shared array correctly. If two visitors will add themselves to the list simultaneously, then one can be lost.Is it possible to synchronize access to shared object somehow or the only way is to write server side function to control the array?

View 1 Replies

ActionScript 2.0 :: Post An Array To Server [MX]

Feb 8, 2003

OK, you can use loadVariables and loadVars and a few other commands to post (or get) a variable to a server. What I'm trying to do is post an Array to a server and have the server output a text file of the array.

I have been toying with perl / cgi a bit: gaining some in site on Data Base programming. Would Perl be a decent program for the job of outputting a text file?

View 7 Replies

ActionScript 3.0 :: Write 2 Different Array Of Bytes To The Server?

Feb 2, 2012

I have to read 2 different array of from c++ server using AS3 client. And write 2 different array of bytes to the server. How should I do it?

I have established a socket connection.

View 1 Replies

Media Server :: Access Array In RSO Client Side?

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

Media Server :: Why Application.clients Array Gets Disordered

Jun 3, 2010

I have one application, is like a room of students. So whenever one client (flex client) is connected is like a new student in the room. I have been researching and I found that every new client is stored in application.clientsIf I have 3 students connected, lets say student1, student2, student3, and student4 if I made a trace :

for (var i = 0; i<application.clients.length; i++){
trace("student "+i+": "+application.clients[i].name);
}

[code]......

View 2 Replies

Php - Send An Array Of Flex Checkboxes To A Mysql Server?

Jul 26, 2011

I am using FB for PHP 4.5, ZendAMF, and I read that I do not need to use HTTPService for what I want to do.

Table structure:

people: {pID, pName}
departments: {deptID, deptName}
people_departments: {pID, deptName}

I have a slightly complex flex script, People.mxml. In the PersonAdd state, I have a form which will be used to send data to the mysql server. In that form , I have a repeater that will create a checkbox for every department in my database. When I click the Add button, I want to insert data into the people and people_departments tables.

[Code]...

[Edit] I am using an s:Checkbox and I do not have the data property. mx:Checkbox does but I cannot use the mx:Checkbox component in my project.

View 2 Replies

ActionScript 3.0 :: Post An Array To Server And Receive It Back?

Jan 17, 2010

I have some basic experience with using URLRequest to POST variables to my server which works fine.How do I post an array to my server and receive it back?

View 3 Replies

ActionScript 1/2 :: Commas Inside Array/local Vs Server Encoding?

Jun 17, 2009

I have a large flashvars string that I'm splitting into a 2d Array when it's pulled in flash. The problem I'm having is that one of the items of the inner array needs to be able to contain commas. The commas are encoded using php urlencode. I took the entire string printed on the web page and put it in a local var so I could test locally (by that i just mean without having to upload it to the server). So locally everything works fine, but when I upload it and use the real flashvars data, anything containing a comma and anything after that item, comes back as undefined.Here's an example of what part of the string in flashvars looks like. It would represent one item in the outer array.
 
"15;nameofstore;nameofstore;C32;;nameofstore%2C+Inc.+is+the+nation%27s +largest+
department+store+company+and+strives+to+be+the+department+store+of+cho ice+in+
each+community+it+serves+by+providing+superior+service+and+merchandise +that+

[code]..... 

View 1 Replies

Media Server :: Publish Self-composed Bytes Array As Video ?

Oct 3, 2010

So far I only find the way to publish camera video as stream: attachCamera()

Is it possible to publish self-composed bytes array as video ?

View 10 Replies

Php :: Uploading Image To Server Using Byte Array To Upload In Flex 4.5 Air?

Jun 13, 2011

I'm using Flex 4.5 in a Mobile air for android application. So, Using the Camera/Camera roll [URL]I want to do a simple upload using amfphp Note: Since this is how you get pictures on devices, i cant use the filreference because it wants you to get the pictures using "browse" which cant be done on android or ios My plan is, after I select a picture or capture one with the camera, in the event I can get the local url to the picture that was taken like this:

[URL]

I'm putting this in the imageURL var (i'm assuming i should make it into a byte array to transfer it, im not exactly sure this is my first time making something like this)Here's how i'm taking that image, making it into a byte array, and using amfphp to send the upload to the server:

protected function upload_btn_clickHandler(event:MouseEvent):void
{
var request:URLRequest = new URLRequest(imageURL);
var urlLoader:URLLoader = new URLLoader(request);

[code]....

But i'm getting an error NetConnection.Call.BadVersion.This is the first time im trying something like this so im not even really sure if im going about it right. All the examples I find online go about using the fileReference class, but that seems to require me to use the "browse" method, and im on a mobile application that uses the camera and camera roll to grab pictures off the device, and im not sure how to incorporate that into the fileref class. I figured i could just get the byte array and send it to php myself and it should be just fine.

View 1 Replies

Flex4 - How To Send Byte Array To Server In Flash Builder (Flex 4)

Mar 24, 2011

I have a video file in my local system.I am using windows XP in my system. Now i want to send this video file byte array to server in Flash Builder (Flex 4). I am using PHP at server end.

View 5 Replies

Media Server :: Streaming Server Returned A 500 Internal Server Error

Nov 13, 2009

The company I work for installed FMS on a server running Centos for a customer who needed streaming media capabilities. It worked fine for 3 months until today the customer called us and informed us that their client program can no longer connect to the streaming media server. No one has done anything to the server to cause this to happen. When attempting to access the admin console to diagnose the program, the streaming server returned a 500 Internal Server Error. So I tried another page. Same result. Reboots of both the hardware server and the FMS have changed nothing.

View 5 Replies

Media Server :: Swf Hosted On One Server Connect To Live Stream From Another Server?

Apr 28, 2010

One server - is streaming server with Flash Media Interactive Server 3.5that host the application with asc files in FMS application directory.Second server - is the IIS web server that host thehtml,aspx,swf etc.. files.So basically i heve swf file on one server that have to connect to live streaming via rtmp on different server with different ip address.I did not find any clear explanation on this crossdomain rmtp issue.ys only HTTP can use crossdomain.xml policy filebut not rmtp.So what policy security procedure need to be done in order to enableswf file hosted on one server to connect and show rmtp live cam broadcasting from another server?

View 2 Replies

Flex :: Get Array From Server To Form,as Form Items ?

Nov 28, 2009

am sending one user object from java to flex using remote object,now i want to get each item from that array to display in text boxes...how can i do this ?

userInfo=event.result as Array;
<mx:FormItem label="FirstName" fontWeight="bold" width="325" required="true">[code].....

View 1 Replies

Media Server :: Development Server Be Installed On A Remote Server?

Oct 14, 2010

The instructions for installation only cover installation on "localhost".  I'm wondering if I could use the development server for a small scale website depolyment with restricted traffic, from a commercial server, such as goDaddy?And if so, what''s the method?  Do I download the package from Adobe to my local hard drive and install over the network, or copy the package to the server and install it online?

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 :: Republish Server To Server But With FCPublish

Sep 15, 2010

I would like to RePublish Live Stream to a CDN (Level3). this CDN must use FCpublish on Client Side (like FME).
 
my Publisher send stream on FMS3.5 (Server1) and this stream must go to Serveur2 (CDN) with FCPulish.
 
On my local serveur1, i add some code to do that but whitout succes...
 
i can RePublish when i simulate the second Server(2) on my LocalHost BUT withOut the FCPublish Method.. (i use the sample from Adobe Flash Media Server "Publishing server 2 server")
 
How can i change this sample to use the FCPublish method to republish the stream to Server2 ?
 
with my tests, i think that my problem is how to receive the "onFCPublish = netstream.publish.start" from the server2 to my server1
 
please, do you have a great and simple sample (like this before) to reStream by FCPublish Method ?
 
I know how to make it in AS3 on my Flex Client Application but not in the Action Script on the main.asc

View 1 Replies

Actionscript 3 :: After Shuffling Array - Variable = Array[index] Gives 0, Trace(array[index]) Gives Correct Number

Aug 16, 2011

I think it would be simplest to explain it like this:

[Code]...

View 1 Replies

Media Server :: Flash Media Streaming Server And Interactive Server?

Jul 17, 2010

I'm building a video conferencing applicaition for a portal. But now when considering which version of flash media server to buy, I run into some problem. So can anyone helps me about comparing this two versions: Flash Media Streaming Server and Flash Media Interactive server, like if I use Flash Media Streaming Server, some function like NetStream.pause() may not work or something like that? I'm not sure if this is a foolish question but please let me know.

View 3 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 :: Cannot Connect To Admin Console FMS 3.5 Running Separate Apache Server

Jul 7, 2009

I have installed the FMS 3.5 Server on a separate IP from our main Apache Server: The server is running Redhat Linux 2.6.18-128.1.10.el5
 
FMS 3.5 running on ***.***.**.138 using ports 1935, 8080 (Admin Server using port 1111)
Apache 2 running on ***.***.**.139 using port 80, 443. (several sites setup on this IP)
 
However, when accessing the fms_adminConsole.htm in the root directory of one of the domains on ***.***.**.139, all login attempts fail. I am connecting to localhost and using the assigned user and password set up in fms.ini. Using either IP fails as well. The FMS server is set up to listen to all hosts as no specific IPs were set.
 
/var/log/messages show that FMS and the Admin Server are up an running and listening:
Jul  7 12:15:37 228215-web1 Service[28196]: Server starting...
Jul  7 12:15:37 228215-web1 Service[28196]: Server started (/opt/adobe/fms/conf/Server.xml).

[Code]....

All other settings for FMS are default. This is my first time setting up FMS as a fresh install on a new unknown server and I am at a loss as to what settings to check or which files I may need to modify to get it to connect properly. It is a managed server is hosted by rackspace.com if that makes any difference.

View 5 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

Flash :: Media Server - Connect To Own Server To Watch Streaming Video From Another Computer?

May 19, 2010

How can i connect to my own server to watch my streaming video from another computer?

View 10 Replies

Media Server :: Client Returns Server Not Found:rtmp://192.168.10.1:/live When Accessed From Another Pc?

Jun 29, 2010

i have a small LAN of about 8 computers all of which are running windows 7. I have installed FMS and XAMPP webserver on one of the machines. I want to stream live from one PC to all the other PCs on the LAN. I have a webpage with jwplayer embedded in it on my XAMPP webserver that is able to see the live stream when i start it locally. I mean the live stream works fine on the machine with the servers on it. But when i want to view the live stream from another machine in the LAN by accessing the webpage that has the jwpalyer from another machine, The jwplayer returns "server not found:rtmp://192.168.10.1/live" error. I was thinking that maybe a firewall is blocking the 1935 port but i have turned off the firewall of every PC on the LAN. I have unistalled any antivirus program on all the PCs. But i still get the same error when i try to access the live stream from another PC on the LAN.When i run netstat -a -n|find ":1935" i get 192.168.10.2:49184 192.168.10.1:1935 SYN_SENT and i think the request for the stream is sent but the conection is rejected.

This is the code for the webpage with jwplayer embedded in it. maybe it:
<html>head> <title>JW FLV Media Player</title>    <script type="text/JavaScript" src="swfobject.js"></script>

[code].....

View 3 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 :: RTMFP Unicast For A Video Chat Project Using FM Developer Server 4.0?

Oct 7, 2010

I am testing RTMFP unicast for a video chat project using FM Developer Server 4.0.During the testing I overloaded the upload traffic to make packets dropped rather than suffering delay due to retransmission.
 
However, I see it makes a significant delay and it looks like doing retransmission just like RTMP.
 
Do you know if there is an option in FMS to disable the retransmission or other configuration I have to consider?One thing I found is "Netstream.videoReliable=false; Netstream.audioReliable=false;" but it doesn't make any difference.

View 2 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 :: Way To Pass Rtmp Call For A Live Stream Through A Proxy Server?

Mar 4, 2011

Somebody I know can't watch because they have a proxy server.The nc.connect() call to get the live stream fails because it goes direct from AS3 to FMS and doesn't go through the proxy server.

View 1 Replies

Media Server :: Activating PHDS From Application.xml And Event.xml Causing The Server Error

Mar 5, 2012

Dear community, i am searching for 6 days for a solution but i couldnt find. I installed the trial version of Adobe Media Server 4.5. I am trying to host live stream and it is working without error. but when i activate protection (PHDS), server gives en error code: 20...

Here is the server log...
 
After i could take the Live HDS, i made these settings as described at [url]

My application.xml and event.xml files are:

View 1 Replies







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