this is the first time i've used flash to send data to a server. what i'm doing is sending input form data to a coldfusion mail page. check out the syntax that is causing the problem.
stop();
emailAddress_txt.text = "join the mailing list?";
var emailAddressData:LoadVars = new LoadVars();
My rtmp client connects to the server ok and rtmp data flowing ok for about 4hours, in the wireshark trace I can see that the server just stops sending data roughly after 4hours. The server version is 3.5.1, and I also try it on a 4.0 server the data stops coming from the server as well after 5+hours. There are no errors or any indication of session disconneciton in the diagnostic logs. I have also looked thru the settings in applicaiton.xml and server.xml I just don't see any obviious reason for the issue. I do send rtmp Acknowledgement to server after the client receives "window size" bytes, and the client sends ping response to server.
I have a project, that sends JPG data to server. 3 hours ago this script was working fine. Here is the as3:
switchToLooking(); content.bgr.visible = true; //SETS WHITE BACKGROUND var jpgSource:BitmapData = new BitmapData(273, 414); jpgSource.draw(content.content); //ACtual movieClip that I'm sending as bitmap data var jpgEncoder:JPGEncoder = new JPGEncoder(100); [Code] .....
The problem is - $GLOBALS["HTTP_RAW_POST_DATA"] is not set. I'm just not receiving any jpg data. But $_POST has 200 indexes. I know that it sends correct bitmapData, because I tried adding it to stage and it worked. And I know, that the request is reaching the server, because I get the right response. But I don't know, what the problem is. Maybe there is any other approach at the php side?
I am in the process of creating a flash site for friend of mine. He wants to be able to have a guest list for his events in DC. I have created form boxes and have given them all "instance names". But I have absoultely NO clue how to have the text entered by people trying to get on the guest list sent to my server so we can all read it.
I have a book on Flash but it really doest explain how to do it at all. I'm guessing I need to do some actionscript?
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.
Im need to send some data between 2 Flash clients. I have an issue whereby there is a probability that there could be firewall issues with communicating over port 1935 or 443 know you can use RTMPT to tunnel video over port 80 but im not sure about sending data objects.
I have created a form in Flash MX using components shown in the example provided by Kirupa. It does not however tell me how to take the compiled information I imputed, send it to an asp scripting page which sends that information to a database and at the same time send the seller of the product an email stating that someone has registered for their product.
am having this problem of sending XML request to an addresswhich starts with "https". The problem is I always get the errormessage "Error opening URL "https:......."", instead of the actualresponse which should be in XML format as well.The function I am using is "sendAndLoad()"requestXML and responseXML are objects of XML class . Whatfunction "sendAndLoad" above does is to post variables in the"requestXML" object to the specified URL "servelet_address". Theserver response is downloaded, parsed as variable data, and theresulting variables are placed in the responseXML object.However, as I stated above, I always get the error message.
I'm trying to send about 1 MB of binary data to server via URLLoader. But when I call method load of this class, my application hangs for about 1-1.5 seconds, then uploading runs normally. How can I prevent it?
I am writing a simple Tcp server in Unity and have my Flash application connects to it.I found a great tutorial on threaded Tcp server online, and my flash app connects to it nicely. However, I am not able to send data outside of the listening thread to the connected client. I tried to create a global reference of the Tcpclient obtained inside of the thread. However, that reference (sclient) only works inside of the listening thread, printed Null to console outside of the thread. There must be something I can do to retain the TCP client reference for later use or access it from outside of block thread.
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)
I have upgraded from FMS2 > Flash Media Interactive Server 3.5 I added both the seriel number for FMS3 and FMS2 during the installation process. When I logged onto the admin panel there was no licence listed, and a link saying "to upgrade to unlimited connections now, click here".
So, I checked the fms.ini and no seriel was there. I put the seriel number in and restarted the server through the FMSadmin tool. Still, no licence file was showing. I then added the licence file via the admin panel and got a dialogue saying "Seriel Key "blah" Sent To The Server for approval". The seriel key now appears with a valid status of false. And no further progress after that. The documentation states that when you add the seriel key in this manner it should recognise it immediately.
Can anyone suggest what I might have done wrong? I have trebble checked the seriel number, and copied and pasted it to make sure it is exactly right.
I will be creating a program to use for data entry. I'll be studying zebras in kenya and I won't have the internet there as I'm recording the data. I'd like to be able to send the data I generate in flash to an external text file. I understand I need some sort of script to do that, but is this something I can run just on my machine? (I'll probably make the data into xml format).
I have an interactive Flash simulation that I have imported into SABA Publisher. I need for the Flash file to communicate with SABA, basically returning that the user has successfully completed the simulation. SABA is supposed to be able to receive data from Flash.
We're writing a flash application that can download a MP3 file, convert it to a Sound object, get the raw data and make some processing (like adding sounds, change octaves). After the processing, we want to send the data back to the server in chunks, so the server will be able to glue the data together and recover the new generated file. The problem is: if we send to the server "wav" pieces of sound, we are able to glue them together without any problem in the generated file. However, if we convert each wav piece to a mp3 file (so we can send a smaller file to the server) and join the mp3 files at the server, the result is a sound with some problems at the merge point.
This is how we load the mp3 file from the server:
sourceSnd.load(new URLRequest("sample url to mp3")); sourceSnd.addEventListener(Event.COMPLETE, carregou);
This is how we convert each piece of mp3 to bytearray and wav:
I am having trouble on sending my data to the php..I am using flash cs 3 and the code is what I copied from a site. here's the code.[code]I pasted this code to the button named 'submit' and when I checked the script for errors, my script has an error! it says:Statement must appear within on/onClipEvent handler and I don't know what does it mean I am just newbie in flash cs 3.
I am working to send data from as3 to php and I am having a little trouble with it. I am new to both AS3 and php but at this point I think I am doing fine.The project is simple it just takes two values from as3 and send its to php. But apparently I am not able to send variables from as3 to php. Here is the code(its very simple code):[code]I am sure the insert.php is working as I hardcoded the values in insert.php and it inserts the rows. So, I am assuming that there is some problem with sending the data from as3 to php.
Not getting data back into flash from php that queries mysql data, think the problem is with my as3 code here?The php works, the as3 posts to the php ok, its the returning of the variables to as3 that I am unsure about and seems to be the problem?
public static function MineData():void{ var myRequest:URLRequest = new URLRequest("login.php"); var myLoader:URLLoader = new URLLoader();
how to send out some data to a PHP file. I have a project set up already where you vote for some options and that sends, but now I need to add some input text fields for people to enter some personal information. What I have right now are two fields with the vars of "name" & "email"And here's the code that is sending out the information to the PHP file:
I've tried a couple of different ways but so far all of them failed, they included creating another function like the "sendVars" function to send with the submit button and I also tried placing some code into the "sendVars" function relating to the "name" & "email" vars.
I made a flash file were people can fill in there name and then press enter and lateron there name will be visable in a other textfield with in the clip.Now i made the following script in frame 1:
this works great, 'input' will bring the filled in name too the textfield with the var called 'email'.Now i moved the 'email' var within a different movieclip with a instance name of form.When i fill in the name in the beginning the 'input' var and 'email' var are not communication nomore. How can i make sure 'input' will give the data to the 'email' within the other movieclip ?
I have an swf called main.swf. from this movie I want to send some data to sub.swf which runs whenever any button on the main.swf is clicked. I want to use the data from main.swf to sub.swf. My query is how can I send the data from main.swf & how to get it in sub.swf. I tried using loadMovie & getURL function but dont know how exactly to use...
I need to make an Odometer and the user can adjust the numbers and once they select their klm reading it needs to be sent to a PHP to sent it to a database. I am having trouble finding a way to send the data. Is it possible to make a "field box" and what ever number is in the box when you push submit sends to the php?
how to send data from a flash to a database and how the receive it aswell. Im presuming you pass the data from the flash to a php file to the database when sending and call the data using a php file to the database aswell. What im trying to do is just have a button that will increment a number in a database by 1 and then display that information on a different Frame within the flash later.
Basically what i want to do if have a button pressed to increment a number in a database.
I need to send SQL statements to Asp.Net2 page from Action script 3.0 and i successed in doing that(thx to me OJM) but i need to secure my data and i need to send it in an XML format and recieve the results in an XML format and my problem now is how to send the data in an XML format where when i write the tags of the XML and send it in the URL variables it refuses and reports an error opening URL and when isend the SQL statements not in XML format it accepts it and recieved in the Asp page and i parse it and then return the result and i got it from the CS3 but my problem now that i need to send the data in an XML format can
I need to access the database using web service through CS3 i have tried accessing the database using Asp.Net page and it successed when i change just the URL of the Asp page and replace it with the web service URL it reports to me the follwoing error: Error opening [URL] Load failed: HTTP Status = 500 Load failed: IO error: Error #2032: Stream Error. [URL]
and this error elimnates when i request the web service and not sending data in the URL as i send SQL query through URLVariable as follows: var variables:URLVariables = new URLVariables();variables.SQLQuery = "select * from Employee"; this code working with the .aspx page but when i use the web service it reports the previous error inspite the code written in web service is the same in the .aspx page.where in the web service i call a function in the constructor of the web service and this function gets the data from URL and then execute it as follows : if (HttpContext.Current.Request.Form["SQLQuery"] != null)
The problem is that I have an input form (with an instance name of 'form'). Its for a newsletter sign up to [URL] All I need is for when you click on the sign up button, it sends the data in the form to a webpage (which is [URL] <- that is actually an example, but the link is pretty much like that.
I am building an APP and have a movieclip(loginScreen_mc) on stage which has a linked class. This class (login class) recieves some xml data and then tells the parent swf (parent.loginScreen_mc) to goto next frame which has a movieClip on it and yes this movieclip has a linked class (case class).
how do i send the xml data recieved in the login class to the case class. I tried to send it to the case class's constructor fn but it doesnt like that.
I am working on the contact form for a website that is done entirely in flash. The following is the code I have for sending the variables to the emailForm.php script that I created. The only problem I'm having is that everytime you send the contact information, a new web browser window opens up (it opens the php file in the web browser). I'm testing this on my local server and it works great, except for the fact that everytime I send it, I dont want a new browser window opening up.
I have created a learning module in Flash CS5, using AS3. The user clicks through a series of pages, selecting radio buttons...at the end they click a button which sends their results (their answers) to the server which prints out a web page (using php) showing their answers and any feedback for them. So it's Flash to PHP However, I'm getting an error in Flash when I try sending the data to my complicated PHP script. So I replaced the PHP script with a very basic phpinfo() script - which I tested, and works normally in the browser.
When the user now clicks the button in Flash absolutely nothing happens, no browser window is opened, and no output is produced by Flash. I have even tried uploading the flash file to the server WITH the php script and it just loads and loads and loads, seemingly forever once the user clicks the submit button...what the heck!? It's just trying to send the data to a simple php script.. Anyway, the following is my AS3 code and then the error I get when I try to use the complicated script that actually processes the variables sent to it.