how to post some variables to a URL. Let's say the user has played a Flash game, packaged as an EXE or SWF embedded in HTML stored on the user's computer, not from some webpage, and would like to register the score by completing a simple form with just an e-mail address and pressing a button.
Would it be possible to do it even thought the Flash application is not on an active webpage?
We're trying to upload a file and submit parameters to an ASP.Net MVC2 controller from a flash application. Essentially though this is simply creating a standard multipart/form post with a file and posted params. In the controller:
public string Upload(HttpPostedFile file, string someString, int someInt, DateTime someDate) {
I have form in flash with input text fields with Var field set to t2_2 t3_2 t4_2... what i want to do when user enter values and press buton it should post data(values) to aspx page - how can i do that ? i saw what i did
[Code].....
then i can access t2_2 value on aspx page, so what shoul i put before getURL so it will set values from texboxes
What I need to do is have a button download a installer using Post with added values to download.What I have to mix is this:Peices needed frokm HTML form:
Im building a reservation form, using actionscript and php. I use sendAndLoad to send variables to php via POST, which returns a different HTTP POST response in case of sucess or not.
Is there anyway to "read" HTTP POST responses with actionscript?
I'm writing in a programming language, that is then passing variables to PHP, and I then need Flash to pick those variables up and do something with their data. Is there a way to get PHP to post into flash? rather than having flash load variables from a static page? If not what would the best option be? a text file?
Example of code which would be used to send a bunch of variables to a PHP script via flashThis would require the PHP script to load when the data is sent.I want to use this for a Flash event calender which triggers more information about the event to appear in a HTML area of the page when an event is clicked on. The PHP file would be the same file that the SWF is embeded in so the FLASH file would reload the page with the variable sent to the PHP. The PHP would use this variable to select the right content from a MySQL database.
I basically have a form inside of Flash that I need to submit to a server-side processing page, which will then return either json or xml telling if it succeeded or not ( json, xml I suppose ). My version of Flash is CS4 and I'm wondering if there are any libraries or frameworks I can use to accomplish this.
I published 2 days ago a Facebook app, it's a flash game, after the game over, the flash file POST score to my php file, Publish your score to wall if you beat your highscore, Facebook disabled the application because bad reviews from users.
How to POST from Falsh to PHP without redirecting the user, i want after the game over POST score, insert it in DB, and show the user Stream Publish popup if he want to publish to wall the score or not.
My goal is to simply echo $_POST['imageVar']; back with content headers as a quick and dirty means to "export" an image from a flash application. I saw an example of this as follows, but it does not work with my php version/config:
if (isset($GLOBALS["HTTP_RAW_POST_DATA"])) { // get bytearray
I have a series of .swf files that I inherited from an old version of a site I'm trying to rebuild.
When flash_element.submitForm() is called, they POST some data directly to a static url ("/submit"), then depending on the response, reload the browser page.
I would very much like to capture the data that they POST using javascript - preferably without it getting sent at all - so that I can have more intelligent logic to handle to request/response than is built into the .swf files I've inherited.
Basically: When a flash object makes a http request, can I catch and cancel this event in Javascript?
I had this post in the flash mx section but once it came down to studying the code I got no replies so i'll post my question here now instead
My random movement works file when on _root but I have it loading on level18 now. I have changed the code accordingly (all _root to _level18) but it still leaves the boundary.
I'm making a quiz game where I need to send information about the player's score and other variables from Flash to a PHP page whlie opening the PHP page in a browser. I want to use POST so the variables don't show in the address line of the browser.
but that doesn't work either. What am I doing wrong?? If it's not possible to use navigateToURL like this, how else can I open a page in a browser and send variables along by POST?
I stumbled across this website while browsing Google. I have a question for you guys. I'm currently building a website at AngelFire.com but I have a problem trying to display an .swf flash file that will show my - .jpg or .bmp picture file that I converted to - flash file. Here's the normal script I used for displaying regular pictures.
<img src="url of the picture page">
It works for jpeg formats and bitmaps extensions but it won't display for .swf ones.
1) Is it because I'm not using the right code for flash files?
2) Is the program I'm using not working properly to convert the jpeg and bmp files in the right flash files? (I'm using SWF Convert V1.2.3 and Boomer Audio / Video Flash converter)
3) Is there any program that converts any type of image to flash that you would recommend that is user-friendly?
4) Or is it not displaying because AngelFire doesn't support Flash media display? So can I find out?
I know there's alot of questions so but I'm really confused about this whole flash media thingy.
I have a page, written in php that recives and ID value for Album information stored in an XML file. The XML File contains a links to "Samples": I'm trying to get my flash file to "retrive" the data (the ID value) from the php page (the flash file will be embedded), and make a list of samples that can be played. A sorta of an Audioplayer. I already know how to retrive XML data, but the retrival of the ID value from the PHP is a puzzle for me...
I am trying to send variables from my Flash App to an ASPX page which receives the variables and outputs them on the screen. But he aspx script is not able to receive the variables. I am putting the variable into an object and sending that object using POST method through the URLVaiable class.
I would like to insert a flash plugin to the mywebsite: [URL] in order for the visitors to be able to post commentaries live. Is it possible with flash or should I make this with java or ajax or whatelse..
I have created a simple page in Flash CS4 for my class and for some reason when I go to publish the page online all I get is an empty page colored blue (background) but neither the title or any of the graphics or images on the page show up, it is kjust a blank blue page on the web browser. I really need an explanation for this so that I do not fail the project.[url]...
I am trying to get this flash carousel to show up in a Wordpress post. I can right click on the blank space where it should be and bring up the flash options menu, but no movie is showing. It links to an xml document that pulls in the images and text. Is it an xml issue? Below is what I placed in my wordpress template header to allow the flash movie to run[code]...
We're trying to get microphone input in a Flash movie and the post it to the server so it can be saved in a file.
Currently, we're using PHP in the server, but I guess the key thing here is: How to post the audio to the server?
After a post is made, then I guess it'd be a matter of handling the encoding and saving to a file, which can be done with pretty much any server-side language.
Sometimes, multiple times a day in fact, users of my web application are submitting a certain form which has about a dozen form fields, half of which are hidden fields, and half of the $_POST data is simply not present in the processing script. Note that the fields that are not present are at the very bottom of the form. I know this because this raises a fatal error, and an email is dispatched to me which includes the post data. And of course, neither I nor any of the developers on my team can reproduce the problem. Flash is involved in the process, as I'm using a library called Uploadify to display a progress meter. Here is the flow...why some of the post data would be getting wiped out?
-User visits edit screen for a page in the CMS I am using. -Record id for the page is put into a form as a hidden value. -User clicks the Uploadify browse button and selects a file (only single file selection is allowed). -User clicks Submit button for my form. -jQuery intercepts the form submit action, triggers Uploadify to start uploading, and returns false for the submit action (manually cancelling the form submit event so that Uploadify can take over). -Uploadify uploads to a custom process script. -Uploadify finishes uploading and triggers the Javascript completion callback. -The Javascript callback calls $('#myForm').submit() to submit the form.
This happens on multiple browsers (Firefox 3.5, 3.6, Safari, Internet Explorer 7, 8) and multiple platforms (Mac OS 10.5, 10.6 and Windows XP, 7).
AS3 documentation says that Strings in AS3 are in UTF-16 format.There is a textbox on a Flash Clip where user can type some data.When a button is clicked, I want this data to be sent to a php script.I have everything set up, but it seems that the PHP script gets the data in UTF-16 format. The data in the database (which is utf-8) shows some unrecognizable characters (where special characters are used), meaning that the data has not been sent in a correct encoding.
var variables:URLVariables=new URLVariables; var varSend:URLRequest=new URLRequest("http://website.com/systematic/accept.php"); varSend.method=URLRequestMethod.POST;