ActionScript 3.0 :: Send XML To Server?
Sep 18, 2008
I am trying to send some xml to server side script, but im having problems when it gets to the server. Namely its messing up the xml data as soon as it hits a quotion. My fucntion is below:
function sendSavedData(e:Event){
var dataXML:XML =
<test id="1" gfx="8">
[Code]....
I am not a server side guy at all btw:) Also would anyone know why when I try and POST this data nothing appears at all on the server?
View 1 Replies
Similar Posts:
Mar 18, 2010
I have a problem with shareobject. the Send method does not work. I work with AS3 My code
[Code]....
View 4 Replies
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
Dec 17, 2010
I made a server connection with AC3 and C, I need the client(AC3) to be able to send a 3 byte message to the server (C) and have the server return a resopnse. So far everything works except for the fact that the feedback isn't fast enough becuase AC3 just tests for data once and moves on instead of waiting like in C. I'm using a binary socket at the moment but I was wondering if there was any way to wait for new data before moving on
View 2 Replies
Jul 22, 2011
I want to write application for facebook and vkontakte, which will consist of such main blocks as: SocialNetworkAPI (which include all work dedicated to social networks: posting to wall, get all user's info) and ServerAPI (which will send HTTP POST requests to my Java based server and receive data from there in JSON).
I am looking now to Adobe flash URLLoader
is there any good ServerAPI libraries, which I can use or rework to prevent rewriting standart code lines.
View 2 Replies
Jul 22, 2010
I'm trying to make a software which sends video and audio data to a flash media server by using RTMP protocol. Currently, my program can communicate with a flash media server correctly. RTMP specifications does not describe about the raw data in video/audio messages, so I muxed raw H.264 and AAC data into video/audio messages and sent to the server. The server seems to accept them, but a video player cannot playback the stream sending from the server. The player just says "Loading..." For a test purpose, I sniffed the network packets between Wirecast and the flash media server and ripped off only video and audio data. Then, I muxed those data into video/audio message and sent to the flash media server. In this case, the video player connected to the server can playback the stream correctly.
I checked the stream sent from Wirecast, the stream seems not to be H.264 raw data because those data are not started from 0x17 instead of H.264 start code. With those situation, I am wondering what kind of container format I should use for H.264/AAC data to the flash media server.
View 12 Replies
Oct 8, 2009
How can I send a photo for example to mount a virtual catalog and preview my album?I use a simple form with 5 fields of transmission and viewed the small image after submission.
View 1 Replies
May 10, 2010
I have a client in flash sending values to server. At first time i am sending the value 150. The server responds to returns some data. On receiving that data the client should again send some value to server. Where should i have to write mySocket.send to do it. i tried doing it inside the function[code]...
View 3 Replies
Oct 8, 2011
I want to send data of bytes from .net server to flash client. i have created a simple .net tcp server but what code would i need to create the flash tcp client in order to receive bytes NOT string or xml, just bytes?
View 1 Replies
May 5, 2011
I have project Business card design, my app have feature save their design with PNG extension after customer design their business card to server. I sent binary of PNG to server by urlRequest and urlLoader. But with files have file size more than 5mb, it can't upload.
View 5 Replies
Sep 29, 2009
I need to send the String value from .asc file to Flash AS3 in Application.rejectConnection();
[Code]...
View 2 Replies
Oct 8, 2009
How can I send a photo for example to mount a virtual catalog and preview my album?I use a simple form with 5 fields of transmission and viewed the small image after submission.
View 1 Replies
Oct 9, 2009
I am working in flash chat in that I need font type,size and color for typed text. how to send the html data from client to server and get back for client.
View 1 Replies
May 20, 2011
I wonder if i can do the following, send a stream to fms from a webcam and then serve it with apache on http x-flv format.
View 6 Replies
Nov 17, 2010
I need to record the voice of the student from the client and send it to server to check whether there are any gramatical mistakes in it. I have designed the client in flexMy problem is, i have no idea of how to store the recorded sound and send it to the server
View 2 Replies
Nov 30, 2010
i am sending a flash reqesut to a url when i make request from local computer its working but when i upload on my server its not working i think flash is not sending request from my server to another server
[Code]...
View 1 Replies
Mar 24, 2011
What is the best option for recording audio with microphone on website and send to server for some operation.
1) java/javascript
2) red5
3) flash/flex
4) silverlight
5) other(specify)
I want to create something like this : [URL]
View 2 Replies
Apr 2, 2011
I'm trying to build an Air application where a user can drop in an image. That image needs to resize if it's bigger than 1024px 1024px.
What's the best practice for resizing an image in Air development? And what's the best practice if I want to send this to codeigniter amf server in Air 2.0, bytearray format?
View 1 Replies
Sep 23, 2009
Is this the best way to send post data to a server?
[URL]
if not what is a better way? I don't want to open any web page windows (New Tabs).
View 5 Replies
Oct 8, 2009
I am working on the web base flash application I am trying to communicate with server through binary socket to the server IP Address and Port using Action script 3.0 at the server side we are using java. I will like to send binary data string to the server in a clubbed single packet.
View 1 Replies
Jun 15, 2009
Ok so I can send and receive XML nodes from the socket server I need to know how to take the nodes and the values within them.... like for example I want the X Y positions from the node sent to me from the server "<playerpos name="javageek1212" X="34" Y="23" />" Basically I want the values from within that node ok?
View 5 Replies
Aug 11, 2009
It's a SUBMIT form - There are 5 checkboxes which are used to select 5 types of images. How to write my AS code to send the selected images to the PHP and then back to [URL]?
[Code]....
View 6 Replies
Nov 19, 2009
i want to send an object and its properties (that have been manipulated) to my server. I then plan to re-create this object and automatically create a screenshot of the object (i do not want to do this client side). i'm planning to use POST and some php for each property as its changed, and then load this data into a server side as3 script. i would like this server side script to take the object in automatically, and create an image server side - is there anyway to doing all this while not prompting for any input (from what i've learnt, flash needs a prompt before saving a file)? i haven't used flex, could it be used here?
View 10 Replies
Mar 21, 2010
I need to display large number of streams in one flash player. In order to minimize cpu load i want to display only intra frames in h264 video. I have tired receiveVideoFPS method of netstream with value 1 and 2 but it is not giving the correct result.
In wowza server i tired recieveVideFPS with value -3 and it is giving the correct result as i want but after some time flash player crashes in all the browsers and in air too.
View 4 Replies
Jun 23, 2010
Would I be able to send a image using NetStream or NetConnection?
View 1 Replies
Sep 22, 2010
I am attempting to send XML data to a PHP script from my server-side app using the following code:
var my_xml = new XML("<highscore><name>Ernie</name><score>13045</score></highscore>"); my_xml.contentType = "text/xml"; my_xml.send("http://www.server.com/temp/fms_post.php");
I am logging anything that the outside server receives at $_REQUEST, $_POST, $_GET. I can see that my server-side app is reaching out to the external server, but the data is always blank.
View 3 Replies
Nov 7, 2010
How can i send webcamera stream to FMS4 by UDP. i need the UDP speed and the server ability to save the audio/video confirence
View 3 Replies
Nov 23, 2010
I have application that uses the send functionally in the NetStream on the server-side. When a connect to the app using rtmp I am able to see the send come thru but if the app uses rtmfp it does notI gone thru all the examples in setting up a mutlicast app and I know the app works because when I publish a video out everyone in the group sees the video. The only thing not working is send. I've also set dataReliable to true.
View 3 Replies
Mar 26, 2011
How many possible ways to send/load data to/from server side data sources and what are the conditions of using each method.
View 2 Replies
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