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
Similar Posts:
Feb 16, 2009
Iam Jennifer, Iam having a doubt in Flash, I hope that you are going to solve my problem, Iam taking 3 Static text fields as Name, Age and Country and besides each and every static text fields i have taken 3 input text fields with different instance names, when i enter my Name, Age and Country details in the input text fields and after entering those details if user clicks the submit button the data should be send to some mail address, is it possible?
View 2 Replies
Feb 13, 2008
I am the fan of kirupa but this is my first thread in forum. I have some problem with sendAndLoad method with actionscript 2.0. I am developing a online game with flash mx , MS SQL 2000 and asp. The problem is I send the data using sendAndLoad method to asp file and get data back from asp file. But when the internet connection is not good there is a problem like jam or lost packets. How can I prevent the lost of packets. Some of the data are important. Is there any way to solve this?
View 1 Replies
Apr 20, 2011
How to show success message in frontend....when a record is inserted in backend.
View 2 Replies
May 28, 2008
This is my script
PHP Code:
myButton.onRelease=function(){
_root.loadVariables("http://www.apisite.com/try.php?
[code].......
View 9 Replies
Oct 24, 2006
Flash 8, I have some XML creating a few simple arrays. These pull some movie clips onto the stage with incremented names: product1, product2 and so on. Inside these clips I have some code that is supposed to pull data from the arrays and put that data into text fields.
[Code]...
Shouldn't this last output be the number 1? I want to use this number to call the correct node for each clip,
View 2 Replies
Aug 20, 2010
I am doing a project that consists of AS3 in flash an importing an external xml data that will populate dynamic data in text fields in my flash project. The xml is all ready set up (pre existing) data. The structure of the XML Code looks like this:
<GlobalDynamicData xmlns:xsi"[URL]">
<schema version 1.0.0>version 1</schemaversion>
<DynamicDataFields>
<DynamicDataField>
<DataField> AlertOn</DataField>
<DataValue>0</DataValue
[Code] .....
which works fine,
My question to everyone is How do tell flash to pull specific dynamic data if all the datafields are exactly the same... I would think all data fields that are named have to be diffrent so when you script the code you are telling flash to go to that data source and pull from that record. If you have the same naming convention how does flash know which one to pull from if they all have the same name..
View 3 Replies
Jan 31, 2006
I need to send back or bring to front a movie clip thru actionscript??
View 2 Replies
Mar 5, 2008
I've developed a website and on the home page there is a series of css/ javascript dropdown hyperlinks. Some of these hyperlinks display a popup menu of further links on mousemover. Immediately below the hyperlinks is a small flash movie.
The problem is, when you mouseover the links and it displays the popup links, the flash movie appears OVER the drop links.
Is there a way I can either send the flash movie to the back using some kind of 'send to back' option like there is in dreamweaver? Surely I don't have to restructure my page to allow for this?
View 1 Replies
Mar 4, 2009
Is there someway that you can arrange movieclips in as3? Like when you right click on it and you can arrange "Send to back", "Send to front". For example I've exported 2 Mc:s to as3 and made a new instance in as3 by referring to the class I exported. So is there someway I can decide which one to put infront of the other one? If it's confusing my goal is to at some point bring one of the Mc:s to the front, and on another point bring the other MC so the front.
View 1 Replies
Feb 16, 2009
I am taking 3 Static text fields as Name, Age and Country and besides each and every static text fields i have taken 3 input text fields with different instance names, when i enter my Name, Age and Country details in the input text fields and after entering those details if user clicks the submit button the data should be send to some mail address, is it possible?[code]...
View 1 Replies
Jul 24, 2006
Can anyone answer the above question? (Is it possible to use a DataGrid as a small built-in DB in a Flash application thus avoiding the need to connect to a backend DB If so, does the DataGrid store the variables added to it even if the app. is switched off?
View 1 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
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
Oct 30, 2010
There an input textfield, name.text. There is a button with the following script,
send.onPress = function () { getURL ("name.php", "_blank", "POST"); }The info will be send to MySQL database, name, when pressing the button.
PHP---
<?// Receiving the variables.$name = $_POST['name'];
// Printing out the variables.print "Your name is ". $name . ".";
?>
I am not able to perform the task.
View 1 Replies
Apr 29, 2009
I'm building a Multimedia Player front end and we have some action features we'd like to include. Some of the features are like: add to favorites, bookmark and rating.
For rating and add to favorites I just need to some how send a variable with the value to the server. Do you have any tutorials and or suggestions to approach this?
I don't need to know how the back end works, i just need to know what to pass in the flash and how to send out the updated variable back to the server.
View 3 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
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
Oct 5, 2006
Compare input text with imported XML data problem
View 1 Replies
Mar 24, 2011
Why flash don't display my data query send from a php file that use the $_GET to retrive the information and run a query to display the result back to flash.but when I change the $_GET variable in the php file for a static value let's say (2), flash display the data that was requested in the php query..with $_GET I get in flash undefined with "2".I get in flash the data requested...
View 12 Replies
Oct 5, 2009
How could I get the XML data in to a text box?[code]...
View 8 Replies
Mar 23, 2010
I know how to pull data from a row of an mysql db. But how do I pull the data on the same COLUMN in a MYSQL db? What do I need to send to the server side script?
E.g. The mysql holds 2 field names "COMPANY" and "CONTACT PERSON". How do I pull all the COMPANY names only?
View 3 Replies
Jul 10, 2009
I am currently designing a set of actionscript charts for my company's website. For the set of charts I have set up right now I'm reading all the data from FlashVars, but as you could guess that's not a very good format for charts...
I'd prefer to use a JSON array of values,
now my question is: Where should I go to start learning about reading from JSON is AS2? I'll hit the books, of course, but this forum is always good when I need to get some advice to dive right in to an urgent project
View 1 Replies
Apr 4, 2011
how to create a two-sided movieclip and load a different image on each side.
View 1 Replies
May 1, 2010
This is my code to impot an image + some data from a db. I'm unable to pull the data or the image (nothing appears).[code]
1. What am I doing wrong here? or is the issue is elseware? (I'm PUBLISHING this to Flash Player 9 and AS2.0
2. How can I code this without using the XMLParser?
View 7 Replies
Oct 14, 2011
I'm trying to bring data from an sqlite database into a custom made menu. I have the menu working using an array with the code shown. But, now I would like the data to come from an sqlite database.
The code shown for the database, I have used for a previous job that pulled the data into a dataGrid. I now want that same data to put into my custom menu instead of a dataGrid. How would I change the second code to do this?
I think my main question is about the "watername_dg.addItem" in the second code below and how to change that to bring the data into my buttons.
ActionScript Code:
//////////////PULLING DATA FROM AN ARRAY TO BUILD MENU//////////////
var _menuArray:Array = new Array("Apples","Oranges","Pears","Grapes","Limes", "Carrots", "Peas", "Beans");
[Code].....
View 8 Replies
Mar 25, 2005
I am currently scripting a Flash application at work which will pull data from an xml file (.jpg's and text) into template swf's created by our designers, for use in online product commercials, realty/property tours, etc. I am creating a loop which will pull data from the xml and load them with createEmptyMovieClip(). Here's the code:
Code:
_root.dynLoad = function() {
trace( "initializing dynLoad function..." );
for( _root.g = 1; _root.g <= _root.featLength; _root.g++ ) {
if( _root.g == 1 ) {
this.createEmptyMovieClip( "dynPic", this.getNextHighestDepth() );
[Code] .....
I am not the heaviest with actionscript and I can get the first two pictures to load, but after that the pics get loaded into the duplicated clip. I tried my hardest to get the else block to dynamically increment the "dynPicNew" ( ex. load it into "dynPicNew" + _root.g ), but I can't nail it! How can I get the duplicateMovieClip() to increment the load target dynamically?
View 4 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