ActionScript 3.0 :: Send Data From Flash To Php Receive Data From Php Using Flash?

Feb 2, 2010

i want to ask : how can i send data from flash to php using as3 and receive data from php using flash and another question : how can i upload files using as3

View 4 Replies


Similar Posts:


Actionscript 3 - Send And Receive Data Between Flash & .Net?

Jan 6, 2012

Calling ActionScript 3 function from C#

i have a project which is is a desktop application in .Net, and from .Net 3 String value is Passed to Flash. My question is how to receive data coming from the desktop application in flash as3? because here i don't have any URL to load data.

View 1 Replies

ActionScript 2.0 :: Send And Receive Data To / From Flash And PHP

Mar 16, 2006

I'm trying to send and receive data to/from flash and php, but I can't receive any data from php. I'm running this locally and the path is correct.

From PHP
Code:
<?php
require( "../weeklybread.php" );
$query = mysql_query( "SELECT * FROM $table" );
while($myrow = mysql_fetch_array( $query )) {
$message = ($myrow['message']);
[Code] .....

myVars.sendAndLoad("[URL]", myVars_received, "POST");
So I can't see anything inside the text field, I can't even trace it.. it says undefined in 20px caps.

View 1 Replies

Flash :: Sockets - XMLSocket Can Receive Data But Not Send

Dec 20, 2010

I am attempting to connect to a python twisted socket server with Flash using XMLSocket. The connect works fine, and so does the receive. However I can't send data to the server. Is there a specific format I should be using? The reason I ask is because I couldn't read any data with the XMLSocket until the data was in the form "something", that is, the data string had to be valid xml followed by the null character. Is there a trick to sending data?

I don't think this a cross site security problem, because if it was, I believe I wouldn't be able to connect or receive. I am able to connect to the server using telnet and a java client without issues. EDIT: I figured it out, the problem was my server needed to have the data sent to it end with"

View 1 Replies

Data Integration :: Send And Receive Data From Mysql?

Jun 17, 2007

I would like flash to send and receive data from mysql.

To send data I would like to create 5 input fields, and then use a submit button.

Then to retrieve the data I would like to use the data grid or a dynamic text field.

View 6 Replies

ActionScript 3.0 :: Cannot Receive Or Send Data When Online - Security?

Jun 24, 2010

I have made a game that sends and recevies data from an online leaderboard. It uses PHP and mySQL, and all works fine when running the .swf off my computer. The problem is, when the game is uploaded and running online, it fails to both receive and send the data to the leaderboard. I don't know why! When I first ran the game offline, a security box appeared that told me I had to allow it to access the server. So, I'm thinking it might be a security problem. Is there a similar security setting that I have to enable on the server somewhere? Or some code I can put to the game to override it? Note that everything is on the same server at the moment so I dont need any of that CrossDomain stuff, I think.

View 7 Replies

Flex :: Adobe - Send/receive Data From/to Media Server

Oct 27, 2009

i want to make a simple chat with flex as3 and red5 media server

my idea is that i send from the swf a message to the server and the server sends it to all the swfs (including the one that sent the message)

i just don't know how to to send and receive and how to receive from the server

View 2 Replies

ActionScript 3.0 :: Send Post Data And Receive Response From Https Url?

Jan 21, 2011

i am using flash cs5 with AS3 along with PHP 5, i am calling a https page and sending post data to it and retreiving the response, its working fine inside action script (FLASH CS5 IDE) but when i am embedded flash in html to use it from my web server (WAMP) then it is unable to send and receive data from https url.

i have turned on the mod_ssl module from php.ini for both php and apache.

but still there is no gain. can you advice me any method to control this thing with in action script 3, (i tried php curl but not useful) or the right way to do it, i want to post and receive data from https url from action script or php.

View 1 Replies

Flex :: Using NetConnection And URLStream To Send/receive Data At High Frequency

Jun 17, 2009

I'm writing a Comet-like app using Flex on the client and my own hand-written server.

I need to be able to send short bursts of data from the client at quite a high frequency (e.g. of the order of 10ms between sends).

I also need the server to push short bursts of data at a similarly high frequency.

I'm using NetConnection.call() to send the data to the server, and URLStream (with chunked encoding) to push the data from the server to the client.

What I've found is that the data isn't being sent/received as soon as it's available. For example, in IE, it seems the data is sent every 200ms rather than as soon as NetConnection.call() is called. Similarly, URLStream isn't making the data available as soon as the server is sending it.

Judging by the difference in behaviour between the browsers, it seems as though the Flash Player (version 10) is relying on the host browser to do all the comms. Can anyone confirm this? Update: This is very likely as only the host browser would know about the proxy settings that might be set.

I've tried using the Socket class and there's no problem with speed there: it works perfectly. However, I'd like to be able to use HTTP-based (port 80) connections so that my app can run in heavily fire-walled environments (I tried using a Socket over port 80, but that has its problems).

Incidentally, all development/testing has been done on an internal LAN, so bandwidth/latency is not an issue.

Update: The data being sent/received is in small packets and doesn't need to be in any particular format. For example, I might need to send a short array of Numbers, and this could either be encoded in AMF (e.g. via NetConnection.call()) or could be put into GET parameters (e.g. using sendToURL()). The main point of my question is really to see whether anyone else has experienced the same problem in calling NetConnection/URLStream frequently, and whether there is a workaround (it's also possible that the fault lies with my server code of course, rather than Flash).

View 2 Replies

Data Integration :: Send Data From Html To Flash Action Script

May 31, 2007

I would like my flash to act differently depending on what html page it is on. Can I send information from html code to action script?

View 1 Replies

Flash :: Data Integration :: Send Record And Place It In A Data Grid?

Mar 1, 2007

i have a problem regarding the integration between flash and ASP file i have an ASP file that gets a record set from the database i don't know how to send this record set to flash and place it in a data grid

View 4 Replies

Getting Flash To Connect To A SQL 2000 Database - Receive The Error : 1172 : Definition Flash.data Could Not Be Found?

Dec 14, 2009

I am having issues getting Flash to connect to a SQL 2000 Database. I keep getting an error with flash.data.*.The code is :

import flash.data.*

I receive the following error:

1172: Definition flash.data could not be found.

View 1 Replies

ActionScript 3.0 :: Setup Flash To Listen XMLSocket Receive Data

Jun 29, 2009

I am having newbie problems with sockets. Flash sends data to my php server script fine, and my telnet client(s) all get updated. When I make an entry into a telnet client, all of the other clients update immediately as expected. In Flash however, the only time I receive data is when I press a key within flash.

Example: Press 'a' within Flash, flash traces a, telnet outputs a Press b in telnet, telnet outputs b, nothing within flash Press c in Flash, flash traces b, c, telnet traces c

[Code]....

I guess this is more of an issue of how to set up Flash to listen for events on the socket

View 5 Replies

Flash :: Send Data From Php Every 3 Second?

Sep 13, 2011

So, I have learned how to actually send data from Flash, but how do I in ActionScript send data every 3 second?

View 1 Replies

Flash :: IDE - Send Data To Php From As 3.0

Jul 7, 2008

Attached is the .as file. Here you will get an example how to send data to php.

View 1 Replies

Php :: Use HTTPService Rather Than URLRequest To Send Data. Content Type Is Messing With The Data?

Jul 28, 2011

I need to send a byte array of data (its an image source) along with a bunch of other vars to a service.If I send the byte array using something like the following

var request:URLRequest = new URLRequest ( 'http://www.mydomain.com/upload.php' );
var loader: URLLoader = new URLLoader();
request.contentType = 'application/octet-stream';

[code].....

View 1 Replies

ActionScript 3.0 :: Possible To Send Data From PHP To Flash?

Jan 31, 2010

Send data from Flash to PHP = Possible. Is it possible the other way? ( for example, send a variable from PHP to Flash ). If it is, how secure is it? Can people see the data that was sent?

View 8 Replies

Data Integration :: Send Sth By ASP In Flash

Dec 11, 2007

I have got to send sth by ASP in Flash. I wrote some code but this doesnt work.[code]If I just click on email. asp without Flash, I will get a email from there. But if I use the above method to call that page, the email wont be sent. So do anyone know what wrong?

View 3 Replies

Data Integration :: Send XML From Flash To PHP?

Apr 17, 2007

I create an xml in flash and want to save it on the server. i user my_xm.send("script.php"); to send the created xml, but don't know how to handle it in PHP in order to save the file on the disk.

View 2 Replies

Flash :: Send Xml Data To Php Page?

Mar 24, 2011

I want to send xml data to php page

my xml in flash is that for examle:

<level id="1" mark="10"><page id="12">HI..</page></level>

i send it,but at the URL i see this:

../inex.php?xml=<level id=1 mark=10><page id=12>HI..</page></level>

without double qout....!!!!

so i can't read this xml with simplexml_load_file() function in php

View 1 Replies

Php :: Cannot Send All Of Flash Form Data

Apr 6, 2011

I have a flash form that sends a monthly report that users fill out to a php file, which sends it to a MS SQL database. This issue I am having is that anything larger then 1300 characters entered into the flash form will not work at all. If I reduce the amount of text to 1300 characters or less, it will send it to the php and database just fine. My research shows that a flash variable should be able to handle 65,000 characters, and when I trace my output from flash to php, all of the data is being traced. however, it is not being send to php. I am using LoadVars to send the data with _GET. So is this a php issue, or a flash issue? I ran a php info page and my max_post is set to 10M that should be enough to handle this load. I am not sure why it is not working with anything larger then 1300 characters. Below is my code for my php and flash files.

The variables that are affected by this are the testEvlauation, projects, support, and programManagement variables. I need them to send at least 8000 characters a peice to the php file.

Flash Code:

on (release) {
sendData = new LoadVars();
sendData.contractor = contractor.text;
sendData.name = name.text;

[Code]....

View 1 Replies

Professional :: Input Data From A Frontend Site Into A Backend SWF, Pull Data, Then Send Back To Front?

Aug 31, 2011

I have a site with an SWF that I can put some metrics into, such as ZIP Code, Weight, etc..    then, it takes that info and gives me shipping rates.
 
I need to build a front-end site that I can have a forms page that will push data to the backend SWF, and then return the data back from the SWF to the front end.
 
Front-end -> SWF (Zip Code, Weight, Size) -> *Calculates* -> Front-End
 
That should be the flow..     So I need to send data to the backend, GET the data that it calculated, and return the results to my front-end.

View 3 Replies

Data Integration :: Load/send XML Data Via HTML Form?

Jul 26, 2006

I currently have a Flash app that gets populated by parsing data from an external XML file. However, I need to get the XML data into a (JSP) session and can't neccesarily have an external XML file--any suggestions? Can I put the XML string into a hidden input field in a form on the HTML? Can Flash communicate with that HTML? Or are one of the below methods recommended:

* FlashVars

* Flash Remoting

* Web services

* JavaScript - call JS function

* fscommand

* ExternalInterface

View 1 Replies

ActionScript 3.0 :: Send Data From Flash Form To PHP?

Feb 11, 2009

I have a flash form (widget) on a website that the user can enter details (or select them from drop down menus).

There is then a submit button at the bottom.

This is quite primitive, and as far as my flash allows me. The bit I am stuck with is that I need to send the data then to a .PHP file that will then forward this to the correct people (this bit is already done for me).

sending this information (e.g. Phone Number, Country, Language etc) to the .PHP file.

View 3 Replies

Data Integration :: Send An Array From Flash 8 To PHP?

Jan 13, 2008

I am using flash 8 and actionscript 2 I have created an array in flash to send to php using getURL and POST. i.e.

on (release) {
var id:Array = new Array();
id.txt_4 = 'nopanels';
id.txt_2 = 'xheight';
id.txt_3 = 'xwidth';

[code].....

I am trying to make it 'register globals = off' compatible.

View 2 Replies

ActionScript 3.0 :: Send Data From Flash Or 3.0 To HTML?

Aug 1, 2009

Hi, i'm working on a project where i have some major functions on the page working in over a flash file, and i was wondering if there was a way to interact with the html page, based on actions made in the flash file, without having to use ajax or something like that.

I want the flash file to send some kind of data to the html page, much like a javascript, WITHOUT having to reload the page or submit it like a form action.

View 4 Replies

ActionScript 3.0 :: Send Data From Script To Flash?

Jan 14, 2010

I've got a piece of JavaScript code in an HTML file which detects the height and width of the browser. What I'd like to do is pass the height and width values to Flash. I've followed the Adobe documentation for this using the ExternalInterface class but can't get it to work. For some reason the sendDataToFlash(); function in my JS isn't being called. [code]...

View 3 Replies

ActionScript 2.0 :: Send Data From Html To Flash?

Jun 24, 2010

How to parse data from a html form page in to flash, like : text, fontsize, font color, image .

View 0 Replies

ActionScript 3.0 :: Send Some Data From A .php File To FLASH

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

ActionScript 2.0 :: Send Data To Database Through Flash?

Nov 5, 2009

I'm trying to send data to my database through Flash. I've got some fields and I've got a submit button. On press, it will send data off using:

Code:
getURL("(myServer).php","_blank","POST");

Why do I find something like this in the address bar?

.../highscores/new_score.php?player_name=test48&time_complete=489 &resources=379&accuracy=34&combo=598&general=69

Aren't they supposed to be hidden when using the POST method?

View 9 Replies







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