ActionScript 3.0 :: Send Data With Amfphp To A Database?
Jul 22, 2009
I have been looking everywhere for this solution:
How do you send data to a database using amfphp?
Do you need to use a php file or something? or is there a way of doing it another way? I'm not great with php..
View 1 Replies
Similar Posts:
May 15, 2010
I know how to get the data from my database, but i can't seem to figure out how to send data to the database from flash using amfphp! give me an as3 and php service example.
View 1 Replies
Aug 7, 2010
how to send some data from as3 to a database. I did a little (in fact a lot) of research, and found something useful. But it doesn' t work ... Here's my code:
Actionscript Code:
private function confirmPayment():void { [code]............
View 2 Replies
Aug 7, 2010
I was wondering how to send some data from as3 to a database. I did a little (in fact a lot) of research, and found something useful. But it doesn' t work.[code]
View 1 Replies
Jul 4, 2009
I just went over the ZEND amf Tutorial and was wonder is there a way to send/post data to the database?
View 4 Replies
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
Feb 28, 2011
What I am wanting to do is create a "registration form" and send the form data to a MySQL Database. Once the user submits the form, a password is created and emailed to the user.
Then once all has been created and stored, the user can log in and gain access to secure pages.
View 9 Replies
Mar 12, 2007
I have a standalone flash app that needs to get user inputand send it to a remote server / database. When I use the methodbelow, a browser window opens which I don't want to happen - I wantthe data to be sent but not display the page.
my_lv.fname = fname;
my_lv.lname = lname;
my_lv.emailaddr = emailaddr;
[code].....
View 1 Replies
Mar 4, 2011
just for fun I have been messing around with AMFPHP and I have hit a design problem and I was just wondering if anyone had any input?
I have been using AMFPHP to make calls to a PHP script like so:
[Code]...
View 3 Replies
Apr 12, 2007
i want to use amfphp to get a very long text so i want to be able to show the progress of the download with a preloader but i dont know how to do this, also i dont know if it is posible to send or get an image or swf using amfphp.
View 4 Replies
May 24, 2010
Trying to detect a browser close event and send some data to the database when the user closes the browser window...but can't seem to get it to work.[code]
View 6 Replies
Nov 19, 2009
I am creating some application in flex and one of my purposes is to read content of file and display it in flex. There is huge problem, when I have file written in polish (which contains some special characters) because amfphp transfers this contents few seconds, which is to long (reading and sending content of file without any polish character if fast).My php code reads any files fast, so problem is on amfphp side. Is there any solution or I have to go with HTTPService and load contents of file directly from flex?
View 1 Replies
Jan 3, 2010
I am new to php and specially AMFPHP, now all I am trying to do is send and Array to PHP using AMFPHP and get it back, but it returns "null";.
Code:
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public class Main extends Sprite {
[Code] .....
View 3 Replies
Oct 5, 2009
I'm using a datagrid to display data received from an AMFPHP function. Here is a pared down version of this:
[Code]...
View 3 Replies
Mar 11, 2004
I searched around and found some helpful things, but I am still missing something I think...
LoadVariables() won't work across domains, right, so, is it porrible to send data to a CGI script via getURL and not have a popup window on send?
View 3 Replies
Oct 6, 2009
I am trying to figure out how to access a database and send it to php
I thought first i should hard code it this is the php file i am using[code]...
If I can understand where I am going wrong here then i think i can build off of it and get my database working.This is the second time i have tried php database and actionscript.
View 1 Replies
Jul 14, 2009
I have been given task and dont know where to start. I need to produce a small quiz that sends the selected values to an asp.net application form there populates the database with the values chosen.
Ive been told this is the best way to send values from flash to a database.
View 7 Replies
Oct 6, 2011
Im building this AIR app on Flash CS5, and I have this TileList that loads its data (images and names) from a database. I want to do a query with the name any item of the Tilelist when its clicked, so i need to send the name of that item to a PHP file that will execute the query. I am thinking of a function that loads the item name to a variable when the item is clicked. How can I send it to the PHP file and how would I load it to the query? The query I want on the php file goes something like this: Select lat, lon from mapdata where name=theVariable;
View 3 Replies
Jun 9, 2004
I am trying to get a .asp example file from an actionscripting book to work, but it keeps telling me that there is an error trying to open the .asp page on my server.I uploaded the .asp file, and the access file onto my server, but it is not communicating.Are there any browswer settings or web-hosting settings I should be aware of before I try to send and receive information from a database? Also, I eliminated one variable. In another document, I was able to pull information from a text file from my web server without any problems.
View 3 Replies
Jun 9, 2004
I am trying to get a .asp example file from an actionscripting book to work, but it keeps telling me that there is an error trying to open the .asp page on my server.I uploaded the .asp file, and the access file onto my server, but it is not communicating.Are there any browswer settings or web-hosting settings I should be aware of before I try to send and receive information from a database?Also, I eliminated one variable. In another document, I was able to pull information from a text file from my web server without any problems.
View 3 Replies
Jul 22, 2011
I have code to send a movieclip to a frame label which works just fine, but I want to pull the frame labels from a database for multiple movieclips and send them to different frames.. the following works :-
tab1.gotoAndStop('Roleplay');
but once in a loop, I'm having problems... is it down to the syntax ?
for (i = 1; i <= 4; i++) {
var currentTab:String = "tab" + i; var currentTag:String = event.target.data["tag" + i];
[currentTab]gotoAndStop(currentTag);
}
View 1 Replies
Jul 18, 2010
I am sending a dynamic multi-line textField text to a database. Upon receiving it back, it doesn't display it in multi-line format properly. I am also using htmlText, so it stores it all the font / size /etc in the database perfectly.This code shows you the textField attibutes, both the text I create and send to MYSQL, and the text I get back also calls upon these exact attributes
Code:
TF.type = TextFieldType.INPUT;
TF.autoSize = TextFieldAutoSize.LEFT;
TF.useRichTextClipboard = true;[code]......
when I called upon the text from the database. It at least made it multi-line, but it messed it up a bunch also. My text is only 3 lines, but with wordWrap, it made it 8 and made it look off.Anyway, the text / font / color and everything comes in perfectly, except for the multi-line part.
View 14 Replies
Feb 16, 2009
Can anyone help me with getting a message that is said in flash (like a game) go to a mysql database?
View 2 Replies
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
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
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
Feb 22, 2011
I have a dropdown box that is used to select a Category. I need the Flash Application to send the value of Category plus the search string in my textbox to my Access query and return results for each product meeting selection criteria. The Flash Application is calling an ASP.NET web service which in turn queries an MS Access database.
To start, how do I define the category ID and search value in my Actionscript 3 code?I've placed a series of 12 or so objects that will be populated with the product description, title and price. How do I setup each field to be dynamic text associated with the title description and price from my query results? If there are more than 12 products returned by the query, how do I add an additional page of objects to house more than 12 query results?
View 2 Replies
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
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
Feb 18, 2010
Using localconnection i can send data from one swf to another.
[Swf 1] Send data to [SWF 2] - This works with LocalConnection
[SWF 2] Sends this data to [PHP script]
Is there a way to send data from SWF 2 to PHP script without post data? or what would be the secure way to do it?
View 4 Replies