ActionScript 2.0 :: Send Data To A CGI Script Via GetURL And Not Have A Popup Window On Send?
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
Similar Posts:
Nov 28, 2003
I'm using very successfully the "loadVars.send()", using the POST method. BUT I did not expect to see a popup browser window!? I can shut it down using another javascript, but get a confirmation message (because I didn't open up that unwanted browser window using js)... Is there any way I can call a loadVars send without the popup browser window? I am using: myVars.send ("Aurora.php", "POST"); Using: myVars.send("Aurora.php", "_blank", "POST"); or myVars.send ("Aurora.php", "", "POST"); gets me the same pop up window.
View 9 Replies
Aug 2, 2011
I'm not getting the answer I'm looking for. I want to send the request data i get to the main application.
<?xml version="1.0" encoding="utf-8"?>
<mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" remove="titlewindow1_removeHandler(event)"
width="400" height="220" layout="absolute" title="USER LOGIN">
<mx:Metadata>
[Event(name="commEvent", type="flash.events.Event")]
[Code]...
View 1 Replies
Sep 18, 2011
After searching for posting values from flash to php without opening new window.I found the answer in document. using sendToURL() method.Here is tutorial to pass data from flash as3 to php
ActionScript Code:
import flash.net.URLVariables;
import flash.net.URLRequest;
[code]......
View 0 Replies
Jul 14, 2010
I have a get url code to activate a lightbox which works perfectly.
ActionScript Code:
sample_link.onRelease = function () {
getURL("javascript:openShadowbox('ww.example.com/video.flv','Player',Title','videos','640','360')");
}
I have several different videos I want to lightbox. Rrather than having several instances of sample_link for each video; I want just once instance, where the getURL is changed by a separate button .
ActionScript Code:
sample_link.onRelease = function () {
getURL("is equally to X");
}
[code]....
View 4 Replies
Sep 20, 2007
I have a Flash form sending variables to an ASP script (bono.asp) in order to print a discount bonus. The bonus grafic is then shown in a new window for the user to print with his/her data on it. (name, address, etc). Well, the problem is that it not only opens a new window with the bonus (without the data ), it also opens the bonus in the current window (with the data), forcing the user to "go back" to the flash website and loading the entire animation again. This is the code in the Flash form asociated to the Button:
[Code]...
View 7 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 16, 2010
I'm looking to send a list of variables (say 6 in total) from php to flash and for flash to pick a random one and send it back to php when clicking a button.
I would like it to appear in a dynamic text box. That randomly selected variable needs to be sent back to php on pressing a button.
View 2 Replies
Nov 16, 2010
I'm looking to send a list of variables (say 6 in total) from php to flash and for flash to pick a random one and send it back to php when clicking a button. I would like it to appear in a dynamic text box. That randomly selected variable needs to be sent back to php on pressing a button.
View 6 Replies
Mar 18, 2010
I have a problem with shareobject. the Send method does not work. I work with AS3 My code
[Code]....
View 4 Replies
Nov 28, 2008
I would like to know, which would be the better way to open a new window from an AS3 application, and send some information to the new window. By the moment I have a PHP that generates an xml, but I don't think that is the better way, I would like to know the opinion of a master?
View 7 Replies
Jul 1, 2011
Yesterday phtrivier showed me how to send an array to a new/sub-window.Now I have replaced this static source of data with an XML file that loads into an ArrayCollection.Unfortunately I found an ArrayCollection behaves differently than an Array when you try to send a part of it to a new/sub-window.How can I do this with the ArrayCollection?Or should I take the easy road with sending an Array and instead look for a way to make the XML load into an Array instead of an ArrayCollection? I don't think I will require the extra features an AC offers.
MyMain.mxml
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication ...stuff... creationComplete="settingService.send()">
[code]........
View 1 Replies
Dec 11, 2007
I want to use loadvars.send but I would rather it didn't open the target page in a new tab, but to act like a normal page would...
View 1 Replies
Nov 24, 2005
I am actually discovering Classes.I try to make a class that reads out an XML file and than converts it into arrays.the array is well created in the class file, but I can't send it back to the swf correctly: it only duplicates the first item of the array in an infinite loop, but when I trace it into the class the output displays it right..
with this code I call the class:
Code:
var myProduct:Product = new Product("gallery.xml");
this.onEnterFrame = function() {
trace(myProduct.getArray());
[code]....
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
Apr 21, 2010
Any example of a telnet/chat or other console like FLEX application where you can use the same TextArea as input/ouput area. I've been trying to modify the app at: [URL] but so far, computer says no. All the implementations I've seen use a combination of TextInput and TextArea.
The challenge is that we'll be using this app to telnet into some old routers and we'll need to do a fair amount of copy/pasting. Based on what I've seen, it seems that I would need to point the mouse into the TextInput in order to be able to right click and paste, which is not very sleak.....
View 1 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
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
Mar 12, 2009
a week ago I bought the following monster template template:[URL]..my last changes to it were to the popup boxes that appear on the SERVICII page when you click those titles there. Right after those changes it compiled and published, everything ok, i did several other tasks in Photoshop then back to my flash and at the next recompile, Error - Send don't send Flash has to close. I reopened it and it keeps closing forced. I tried undoing my steps but nothing worked. I am desperate, the project is due completion on saturday and my source is messed up.
Can anyone tell me why I get that? Has anyone been in a similar situation.I am a flash newbie, I saw no errors in "Compiler Errors" or in "Output", just force closing the Flash CS3.
View 8 Replies
May 14, 2009
Is there some way so send data from air application to php file on the server?
View 1 Replies
Sep 13, 2011
So, I have learned how to actually send data from Flash, but how do I in ActionScript send data every 3 second?
View 1 Replies
Jun 22, 2005
I tried the Example: Simple Editor which sends and loads data from XML file but it didn't work. Does anyone know why?? I really need to send data to xml but I couldn't find a way of using XML.send correctly!
View 4 Replies
Feb 12, 2010
I have stored all the data in an object. Now I have to send the data to php.
View 4 Replies
Jul 7, 2008
Attached is the .as file. Here you will get an example how to send data to php.
View 1 Replies
Oct 26, 2010
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]...
View 9 Replies
Sep 9, 2004
I would like to send some data, from an input field and some dynamic fields without opening an new page or replace the existenceto a URL... I tried this�.
Code:
function sendForm() {
my_lv = new LoadVars();
my_lv.baseId = _parent.baseId_text.text;
[Code]....
View 7 Replies