There are a few examples on the web showing how to post a row/form to mysql with flex php. I think it will be valuable if it allows user to post multiple rows of data. Supposed I have a datagrid and its id is myDG, how can I post the datagrid data to a table in mysql? I am using Flash Builder 4 and I need a solution based on Flex 3/4 + PHP + MySQL.
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
[URL] I'd like to be able to have multiple rows or columns for the thumbnails as apposed to just one continues line, say 7collums by 4 rows of thumbnails or any given amount for that matter. I've been trying for past thew hours with no luck (not that crash out with action script) and I can't find any examples on the web.
I have a flex datagrid with 3 columns. The first column contains the image name(unique key). The other two columns have username and size details. I want to split the username into lastname, firstname, address and some other stuff. Can we have multiple rows in the grid for one image? Tried multi-line, it works but we need to keep adding spaces and its cumbersome. Since each row in the flex datagrid is represented by one index in the XMLList which is enumerated, is there a way to have more than one row assigned to one image and shown in the grid? something like this.
I have a Mysql database and I am trying to import multiple records with multiple columns into Flash AS3 using PHP. My problem is I am able to make it work with a single column and multiple records but for multiple columns I am not being able to format it correctly. What i wish to have is an array(of records) of associative arrays(of columns) i.e. I want to be able to partition the output (from php) based on '|' and store it in a flash array and then be able to access name,id for each of them (see below the code).[code]the problem is I get an array of names,id but the myArray ForFlash is empty (which is kind of expected).
I want to add specific images to a datagrid row, depending on the data displayed on that row. These images need to be functional buttons with click handlers and everything.For example, if a row displays status of a certain element, like "Editable" then the image displayed in the cell next to it needs to be a green flag, if it isn't Editable then I red flag should appear.
I am trying to delete multiple rows in the sqlite table in my Adobe AIR app (runtime 2.5).
Here is the statement, using the "IN" operator:
"DELETE FROM mylist WHERE tdId IN (tdId1, tdId2, tdId3, ...)";
Where tdId1, tdId2, etc. will be determined at runtime based on which row(s) the user chooses to delete. The user can delete arbitrary number of rows.
I've tried something like:
//delete statement text "DELETE FROM mylist WHERE tdId IN :tdId"; //delete statement parameters: take 1.
[Code].....
It would seem too much of trouble to chain these deletes with a callback. So I guess I am using my last resort: building the sql at runtime. Conclusion: Cached statements can't be used in these kind of situations...
I've got this project I'm working on where I need to populate dynamic text fields with data from an xml file.I just don't know the proper terms I should be Googling for a tutorial (ie: XML movie clip loops?)
I have a Flash Datagrid component being populated by data from Robotlegs services. However as the datagrid needs to show more and more rows of info I need to implement a way of loading the data as it is needed. Ideally this will be as the user scrolls down the list, I have seen this in Flex examples but I could do with a pure AS3 solution. Here is the Flex example: [URL]
I've search all over today trying to find how to do this, and not being familiar with actionscript is starting to catch up to me. What I would like to accomplish is: I have a list of messages in a Datagrid coming from a dataprovider in another class, which in turn gets them from our Oracle DB. I need to all the user to set a visible state on the message, and then filter that out of the datagrid with the click of a button. I have the check box for hide, and it sets that value into the database. I can't figure out how to get the filterFunction to work with an array collection when the filter parameter is within the row data.Here is the code
public function filterResults():void { modelLocator.notification.messageList.filterFunction = filterRows; modelLocator.notification.messageList.refresh();
I am using the following code to try and post variables to a URL, but the SEND command is still posting the variables via GET. // ls_print is the URL I am attempting to POST to lv_request.send(ls_print, "_blank", "POST"); This is what the documentation says, so I'm lost.
I have been using Uploadify in my PHP application for the last couple months, and I've been trying to track down an elusive bug. I receive emails when fatal errors occur, and they provide me a good amount of details. I've received dozens of them. I have not, however, been able to reproduce the problem myself. Some users (like myself) experience no problem, while others do. Before I give details of the problem, here is the flow.
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 am trying to get my flash application to send a request back to the webserver so that it can get some information. So far after reading on stackoverflow for a while and on the net I have some code written, but its not quite working right. I need just a little help tying it all together.
I have a working POST submission form in as3. It works for me in firefox and IE, but for the client it fails in Firefox for some reason (seemingly doesn't send the POST data)? I have allowScriptAccess in place and set to always. I am using the post method in my URLRequest.Yet it only works for the client in IE. Are there any Firefox version issues or settings I should be aware of? We are both using the same flash player
I am currently doing a simple project, and I need to save the players' scores into database for later retrieval. I used URLLoader and URLRequest to send XML object containing game score to a JavaServer Page (storedata.jsp) running on Apache Tomcat server. The AS3 code snippet is shown below:
public function sendData(xmlData:XML):void { var xmlData:XML = <block> <chapter1>
[code]....
However, here comes the problem. The pageContext.request.reader doesn't return a parsed XML object. When I display using c: out, I saw [#document null] output. Hence, the x:set statement generates runtime error.
I don't really know much about variable and i doubt this is 100% relate to it maybe I'm right maybe I'm wrong but i was wondering if anybody will give me an example on how to load the output from my example.php file to as3. for example this is what the php code display after collecting the data.
Code: [status] => ON AIR [title] => Radio Swiss Pop [description] => Die besten Pophits der letzten 40 Jahre
[Code]....
How can i take whatever it shows on the result of the bracket symbol to a as3 movie ?
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 have a web page with a button that does a redirect to another web page with a flash movie in it. The button on the first page sends http post data as part of it's functionality.
I'm trying to combine two ByteArrays to send it out as post data using URLRequest.. Whenever I try to simply add them up, the request becomes get instead of POST and the data for some reason doesn't get included.