ActionScript 1/2 :: Send A File To The Server Using The Flash?
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
Similar Posts:
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
Sep 15, 2010
I'm new in AS and trying create util such Youtube's "My webcam". Here's a part of my code:
[Code]....
Can't attach video object or stream to spark.components.VideoPlayer to view video and don't know how to convert video to flv contents for sending in POST form.
View 1 Replies
Sep 29, 2009
I need to send the String value from .asc file to Flash AS3 in Application.rejectConnection();
[Code]...
View 2 Replies
Mar 21, 2012
I am using FMS 4.5 and have a simple application which I want to use to send two strings to a php file. But I get a compilation error whenever I try to assign any value to these objects:
Here is main.asc:
<code>
var variables = new LoadVars();
variables.username = "uname";
variables.send(http://url.abc.com/test.php,POST)
</code>
I can't compile with the second line. FMS just says: Sending error message: Compilation error
How do I send variables to a HTTP URL?
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
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
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, 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
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
Jul 21, 2010
I need to find a way to detect keystrokes when the flash file is not selected and send that information to an .swf file. The file would be stored locally (not on the internet).
View 3 Replies
Feb 14, 2005
Im pretty new with the flash -> php -> mysql thing .. And I have made a script that sends some variables (that a user inserts in some input forms) with some var names, and then php handles it and insert it into my MySQL database its kinda ugly that a page pops up and opens the php page.So I was wonderin' if there is some way to send the variables to the php file and process them inside the flash file. without openin' some fancy browser window ?
View 3 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
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
Aug 20, 2011
I am creating a google scraper in Adobe AIR using the Flex 4 framework. I have run into a brick wall: Google forces a captcha after around 10 pages are read. Can anyone tell me how to get the page through a proxy server
[Code]...
View 1 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
Aug 1, 2010
will i be able to send a video what i'am receiving form fms B to another fms A in a flash app?And how?
View 4 Replies
Jul 2, 2010
I'm trying to send a video stream to a Red5 server using Flex.
My Red5 setup seems to work for remote method invocations and shared objects, but I've yet to succeed in getting video working.
This is the AS3 code that connects to Red5:
# connect to RTMP server
netConnection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
netConnection.connect("rtmp://localhost/context_name");
# omitted code for waiting for connection success, and setting up shared
[Code].....
As said, note that the Red5 setup works flawlessly for remote method invocations and shared objects, but not for video which is strange.
View 2 Replies
Jul 19, 2010
Everyone knows that recording a video with the user's webcam is possible with flash in the browser - but all the solutions I found until now involve a rmtp server that accepts a stream from the flash app. Is there a way to use webcam recording without such an extra media server?
The usecase I want to implement is the following:
Show the user the output of his webcam on the screen. The user can hit a record button which will trigger the flash app to record 5 seconds of video material. The recorded video should be sent to the server as .flv file where it can be processed later.
Since the video will only be a few seconds long the amount of data is not a problem. But my actual question is: Is this somehow technically possible to do in Flash?
View 2 Replies
Jul 18, 2010
I am trying to send info using USLStream from flash client to JAVA server.Some of the info is Chinese so i have to use Unicode.
View 1 Replies
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
Jun 17, 2010
I have found little to no flash to C++ documentation, let alone Flash to C++ over the internet. What I want to do: -Have flash send a string (or number) from a website to a server running a C++ program -The C++ program will receive the data and do something with it -After that, the C++ program would send back a response -Flash would then accept the response My goal is to make a simple MMO, but I can't start it without a server program to handle the players. I don't need a super-complicated example, just something simple, kinda secure and coded in AS3 and C++.
View 0 Replies
Jan 30, 2011
I have been working on a Flex application that sends a feed from my webcam to the Flash Media server. The application connects to the server fine but for some reason the camera is not sending anything to the Media Server. I am pretty sure that the answer to my question is really simple but I need another set of eyes to llok at my code and tell me what I am doing wrong.
[Code]....
View 3 Replies
Sep 28, 2011
I'm trying to send some data from a .php file to FLASH, then to print them on the screen, but the result is "undefined" and I find this message
[Code]....
View 2 Replies
Apr 11, 2005
Can i put ACTIONSCRIPT inside a xml file and make it work inside a swf?Since is not basic, where can i learn more about xml processing instructions?Other thing....Can a php file that send variables to flash WITHOUT the swf ask for it?
View 1 Replies
Sep 2, 2009
i m using as3 for my project
URLRequest("new.swf?abc="+1);
im sending my varaiable like this call a swf and sending variable... and i dont konw hoe to get the sent variable from file 1.
View 1 Replies
Dec 2, 2009
When requesting data with:
<param value="data-file=http://url-to-my/json.script" name="flashvars">
via an SWF file, what request type would "http://url-to-my/json.script" receive. It doesn't seem to be a "xmlhttprequest". Is it the same as a request from a browser?
View 2 Replies
Jun 14, 2010
i build ed simple single threaded web server that i embedded to my application in Qt c++ this server are responding fine with simple html pages , but when i try to response with flash file embedded inside the html all the html string just got printed to the browser my question is what headers and http responses do i need to unable me to serve flash content to the browser
View 1 Replies
Nov 13, 2011
I have a database file I need to send to a PHP controller for synchronization. I can access the standard file upload methods in AS3 but they all require user interaction. I need this take place behind the scenes.
View 2 Replies