Send And Retrieve Data From EXE Using ActionScript
Hi All,
Urgent Help Needed
Using actionscript, how can flash mx call an external application(.exe) and pass some variable name, so that the external application reads a data(.dat) file and returns the corresponding data back to flash for further processing and display.
Something like this:
FLASH ------varname-------> EXE ---locate varname in ----> DAT FILE
FLASH <----required data---- EXE <----data for varname---- DAT FILE
Since the external application is already available, I only need the ActionScript to complete.
Thanks & Regards
FlashKit > Flash Help > Flash MX
Posted on: 05-30-2003, 01:16 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
How To Send The Variables To Database And Retrieve It Later
Hello, I have a flash design page for T shirt, and it is working like user can add the text or image from gallery on the Tshirt and rotate or drag them. So far , I wonder how to save those text and image in the database. And another thing I want to know is that how to save the imformation like where did the user drag the text or image to, because I need to show those content to the user when he login another time to see how does his product look like.
all in all, thanks very much if you have any idea about it.
Drawing App With Send/retrieve Email Feature
Hello all!
I have seen this great little site that you can draw a little character and email it on to someone for them to retrieve.
I am wondering if anyone knows of a tutorial similar so I can see how it is all done?
http://www.mrpicassohead.com/create.html
Drawing App With Send/retrieve Email Feature
Hello all!
I have seen this great little site that you can draw a little character and email it on to someone for them to retrieve.
I am wondering if anyone knows of a tutorial similar so I can see how it is all done?
http://www.mrpicassohead.com/create.html
About Retrieve Data From PHP
Hope it is not Off Topic. I am a database newbie, would like to ask a question on retrieving data.
Let's say I have a column "Name" (rs["Name"]) in database. I want to use Flash to load this column of data. How can I write the php ECHO statement so that it can be easily recognised by Flash?
eg.
Name
-----
May
-----
Jane
-----
Patrick
-----
....
Eric
-----
Shall i write it likes: echo name=May&Jane&Patrick&....
Thanks
How Do I Retrieve My Data From My Xml
i've trying to retrieve data from my xml file using an "on release" handler attached to a button but with no luck. what i actually want to do is create 30 buttons in flash (10 x 3) using thumbnails, then at the click of each, data will be extracted from the xml (texts and pix) and load it into specified textfields and a movieclip. please help me because i don't know how to achieve this. All the tutorials i've seen places their code on a frame and infact, the code is used to generate the buttons and associated actions.
pls i'll be grateful if you can help me !!!!! also if there are any resources i can use to improve my xml/flash knoeledge, i'll be glad
Usig Buttons To: Send Me An E-mail / Send Data From A Feedback Form?
As the title may suggest, i need some way of making an email button, and also feedback form buttons; both submit and reset. i thought this would be fairly standard stuff but didnt get any answers in the general help forum... its all for the last page of my site at www.geocities.com/jamesmbrannan if you would like to take a look
thx for any help/ advice
lev
Retrieve Data From Asp File
Hi flash gurus
I creating banner that it retrieve message from text file, its working fine. But right now i need to access variables from asp file. I really getting struggle to access file and load.
Any one help me, i hope u'll
Thx
sathish
How To Retrieve Data From Datagrid?
Hi
To add the data to DataGrid i used the following code:
Code:
var my_dg:mx.controls.DataGrid;
my_dg.addColumn("name");
my_dg.addColumn("score");
//
myData="name1,35,name2,50,name3,75,name4,100,name5,125,name6,150,name7,175,name8,200,name9,225,name10,250"
var myDP_array:Array = new Array();
function addData():Void {
var my_array:Array = myData.split(",");
for (var i = 0; i<my_array.length; i++) {
myDP_array.push({name:my_array[i], score:parseInt(my_array[i+1])});
i++;
}
my_dg.dataProvider = myDP_array;
}
//
addData()
If i click on button i want to retrieve the data from data grid. The retrieved data should be the same order the data i have provided to the DataGrid.
Can any one help
Thanks in advance
Retrieve Data From POST
Seems like it should be pretty straight forward, but I'm having some trouble. I have an HTML form on an admin page that POSTs variables r1,r2,r3...,rN that have intergers as values. The action page for the form is a review page (so administrator can confirm input before committing to a DB) that I'd like to simulate the actual user accessible page. The user page has a flash piece which draws it's data from the DB. So I want the administrator's review page to draw it's data from the form's POSTDATA, not the DB, since the DB isn't actually updated yet when viewing the review page. Can a .swf load from it's own pages existing POSTDATA. If so how.
Thanks for your input.
_b
Retrieve Data From SQL To Flash
Using Flash CS3 I need a search to go and find a licence plate and retrieve the data connected with that plate to back to Flash,
Data Base: in MYSQL (database name= cars / Table name= GPS
ID | Licence Plate | Brand | Year | Color |
How can connect, and run the query using PHP and send the results back to flash ??????
I will really appreciate your help whit this issue.
Best Regards
Gian
Retrieve Data From Database
ok so I have a login system working but I need flash to load variables from the database thru php. For exaple I want flash to load the characters level from the "level" field in the database. If anyone could type up some actionscript and a php page it would be great.
Thanks in advance!
Retrieve Data From Excel Into Fla....
Hi,
I am doing some VBA programming and would like to present some of my data in an embedded swf file in that VBA program.
How do you retrieve data from an excel file into fla/ swf ?
I have no idea whatsoever as how to do this thus any input on this is much appreciated.........
best regards
Retrieve Data From Excel Into Fla....
Hi,
I am doing some VBA programming and would like to present some of my data in an embedded swf file in that VBA program.
How do you retrieve data from an excel file into fla/ swf ?
I have no idea whatsoever as how to do this thus any input on this is much appreciated.........
best regards
New Comer Needs Help To Store Data And Retrieve
I'm having problems developing a code to store data I retrieve from radio buttons. It's meant to be a multichoice questionnaire with fifty sets of radiobutton groups five in each. I want to be able to retrieve the data for say question one, two , three go to question eight and on the click of a button retrieve all the data from the groups I've answered.
I tried using arrays in a code a little similar to this
x=1; i=1
function answer()
getanswer = new array(i)
if (myradiogroup.getvalue() !==undefined){
getanswer[x] = myradiogroup.getvalue()}
in an on handler get my x and i to increase by 1 each
when I trace the out put I would see the value of my radiobutton group at the current value of x but if I trace eg trace(getanswer[2]) when the current value of X is 4 I get undefined
please I need help and sorry for the length of this post
Flash Caching My Data Retrieve
Hello.
I have a Flash file that calls every certain time to check data from a MySQL table in order to update the display in the flash movie.
The problem is that Flash always shows the old data...is caching them...
The only solution i have at this moment is to erase temporary files at the browser....
Anyone has a good solution for this???
(This is the actionascript code i put in the update frame) :
data=new LoadVars();
data.onLoad=function(success){
if(success){
for(j=1; j<36; j++){
if (this["status"+j]==1){
table["mode"+j]=1;
} else {
table["mode"+j]=0;
}
}
gotoAndStop("showdata");
}
}
data.load("get_data.php");
stop();
Retrieve Data, Discard Code
i am currently having problems with code that is in child swf's. when main movie loads movies with no code everything is fine, when any code is placed in same movie file fails to load. as a work around is there a way to use the drawing api to render information yet somehow retrieve that data to be used in swf with no code just the rendered data. for instance use the lineTo, curveTo to get a shape, grab the shape send to another movie with no code.
Retrieve Data From Databases For Combo Box In Flash
Dears,
Now I have to build a Combo Box in Flash so that users
can select data from a pop-up list (that would be an
array). The contents of this array should come from a
database.
I have the idea:
First, I have to yield data from the database and then
store them in the array within a (.jsp) file.
Second, Flash then retrieve data from the (.jsp) file.
I have the concept to make combo box in flash.
My questions are:
(1) Can Flash read data from (.jsp) file instead of read data from a text file?
(2) if yes, how to make the (.fla) file retrieve data from the database?
Actually, I have to thank Gareth's suggestions.
Anyone can give me some more suggestions?
Thank you.
adawwm
How To Retrieve Data From DataSet Returned By A Webservice.
Hi all,
I am using Flash 8. I have written action script to call a .Net web service which is returning a DataSet. I can able to call that web service.But i cannot able to retrieve the data from the DataSet. Pls anybody help me to resolve this issue.Pls send me the sample code to fix this issue.
Regards,
Kiran.
Embed And Retrieve Meta Data In JPGs (?)
I’d like to know if there is a way to embed and retrieve meta data in JPGs. I know this type of information can be pulled from Mp3 files using the ID3 tags. I’m hoping to extract date, time and comment information from digital pictures without having to create a separate XML file.
Thank you.
Scripting A Button To Retrieve Data From Combo Box
I have a Combo Box in frame 1 of a test and Final Score button in frame 10, on same time line. I have tried :-
[as] _root.COMBO1.getValue();
if(_root.COMBO1.getValue()=="1"){
ANS1="1";
}else{
ANS1="0";
}[a/s]
but it retturns undefined.
How should I write the code?
Thanks
kethrobo
Enter Data To Txt File /save And Retrieve
What must be done to allow a user to input information into a flash form, have it permanently saved to a .txt file and then have the data returned to another location within the same flash document?
"First time posting and this site is awesome."
Enter Data To Txt File /save And Retrieve
What must be done to allow a user to input information into a flash form, have it permanently saved to a .txt file and then have the data returned to another location within the same flash document?
"First time posting and this site is awesome."
Retrieve Data From MySQL And Show In Flash
Hi.
Before I start, I will say that I have searched these forums, Flash Kit and Google, but every tutorial I get is really complicated. I have done this before, but cannot remember how.
I have a database, and I just want flash to connect up to it and retrieve 4 values [id, date, venue & city]. I then want these shown in a flash movie. There is more than 1 record in the DB, but I will be limiting the results to 1 that is = or > than todays date.
Can anyone tell me how to do this, or point me somewhere that will.
I do not need the flash movie to insert info to the datbase.
Thanks
Günter
Write And Retrieve Data From A Text File On A PocketPC
My apologies, I posted this in general Help too, not sure where it fits best...
Anyone have any ideas on how I can write and retrieve data from a text file on a PocketPC using Flash? There are several solutions on a local computer such as the exec command or a middleware app using geturl, but most of these require the Flash file to be played as a standalone, and wouldn't work on PPC anyways. I've tried using javascript to set the variables in a cookie, but I can't get the data back out. The javascript function and actionscript I use successfully creates the cookie data, but it doesn't parse it the way it does on a desktop system and puts the data in one large string. I can get it to show values as: "variableA=dataA" by using 'variableA and "=" and dataA', but I'm not too familiar with parsing cookie data so I'm having a little trouble pulling it out. Any ideas or other solutions anyone can offer??
List Component - Multi-select Retrieve Data
Hey there,
I'm having trouble retrieving the value of a multi-select list component. It always traces the last value selected, but I need to trace all values to parse the data.
I've been using trace(myList.value);
thanks!
Billy
Could V Save & Retrieve Data From Local Text Files
Plz help me 2 save & retieve files from a text or excel file located in my computer itself using flash 5 since i am more familiar with it. My intention is 2 control a database that can be updated edited or deleted
plz help me out 2 do it in simple terms since i am a new commer
hopefully Jiks
Send Form Data To A Php Script Which Writes The Data To A .txt File
Hi!
Ok, this might be very easy but I´m new to both AS and PHP so I´m struggling here and I havent found any useful tutorials to use only small bits here and there.
What I want to do: I have a form which send data to a php script which then writes the data to a .txt. This .txt file is then used by a .swf file to display certain values.
I also have 1 field that I want to use as a validation field as a simple(but yes, not very safe) way to make sure only the right persons submit information.
I have got the .swf file to read the .txt file so thats no problem.
Has anyone got any suggestions about how I do this?
I have an idea of letting the validation field be checked against a .txt file and if one of the lines in the .txt file matches the validation field the rest of the information is submitted and sent to the php script.
Difficult?
Many thx in advance!
How To Retrieve The Selected Text From TextField In Flash MX Using Actionscript
I need to be able to get the text selected by user after clicking a dynamic scrolling textfield.
I am very disappointed to find no method that returns the selected text when there is a property of textField to make it selectable.
I am using Flash MX. Let me know if this is possible in newer versions if not in MX.
Thanks
Edited: 04/27/2007 at 02:19:30 PM by dotnetuser
Send Data With Php
I made a form that send data to email with a php script. You can see it under www.sqzi.nl/dps. [serialnumber a2416]
The problem is the form field and the button with loadVariablesNum are stored in a movieclip named inputfield. Now it doesn't send any variables.
It does works when i put the inputfields and the button direct on the mainstage.
I know it has something to do with the location in the loadVariablesNum.
Can someone tell me what to do
ThanXs
Send Data To Asp
i have lots of variable in flash file. but i want to send only selected variable to asp file. how it is possible to send only perticular variable to asp file.
thanks
How Can I Send Data?
I just want to send some data to a php page in the background...(for example like the old 2.0 version of SendVars.send() )
I tried this:
private function sendData(url:String, _vars:URLVariables):void {
var request:URLRequest = new URLRequest(url);
var loader:URLLoader = new URLLoader();
loader.dataFormat = URLLoaderDataFormat.VARIABLES;
request.data = _vars;
request.method = URLRequestMethod.POST;
loader.addEventListener(IOErrorEvent.IO_ERROR, onIOError);
loader.load(request);
}
I didnt add a load event listener because I am not trying to load any data just send some data....this function is not working though.
can anyone help me out?
Thanks.
Send Data To A URL
I would like to send some data, from an input field and some dynamic fields without opening an new page or replace the existence…to a URL....
I tried this….
Code:
function sendForm() {
my_lv = new LoadVars();
my_lv.baseId = _parent.baseId_text.text;
my_lv.send("http://myURL", "POST");
}
send_btn.onRelease = function() {
if (baseId_text.text == "") {
status_txt.text = "Please complete the base id field.";
} else {
status_txt.text = "";
sendForm();
}
};
But an new browser window opened…
Please, I need your help…
Thanks in advance
Send Data To Xml
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!
Cheers
How To Send Data 2 To Fms?
Hello guys... I was wondering if anyone could tell me where to find good tuts about handling data with flash media server. All i want to do is learn how to store a shared object in the server and then call it! Thanks in advance!
Send Data To A URL
I would like to send some data, from an input field and some dynamic fields without opening an new page or replace the existence…to a URL....
I tried this….
Code:
function sendForm() {
my_lv = new LoadVars();
my_lv.baseId = _parent.baseId_text.text;
my_lv.send("http://myURL", "POST");
}
send_btn.onRelease = function() {
if (baseId_text.text == "") {
status_txt.text = "Please complete the base id field.";
} else {
status_txt.text = "";
sendForm();
}
};
But an new browser window opened…
Please, I need your help…
Thanks in advance
How To Send Data Back To ASP
Hi,
how do we send data back from an input text on flash movie to ASP? i tried using
loadvariables("myasp.asp",,"GET") now in my asp how do i retreive the values of these vars. can I haveteh same ASP taht loads teh variables from teh database to flash accept teh values from flash to update teh database??
if anyone knows about this, pls help!! i get "undefined" in teh ASP page for teh variable values....
thanks,
shilps
How To Send Data From A Form
Hi there !,
I´m trying to write data from my form in flash into a txt file on the server. I´m doing it with a php file that works (I´ve tested it). I´m using loadVariables("writedata.php", POST) function, but none of my variables are writen into the file, though it´s writing other info from my php file. One question is how does flash know wich variables are sended to the server.
Notes: The file permisions on the server are ok (666), ´cause it IS writing something, but no my variables from flash
Any help will be like "saving-life" help...
Thanks,
TeSSeO
Send Data To A LPT Or COM Poort
I have a printer on LPT1 or COM1
I will send data to the printer.
Do some wane know how i do that???
(sorry for my bad english i'm a dutch man)
How To Send Input Data To
Hi ,
I am trying to create one form in flash mx.
There is 2 text boxes
1) Name input text box, varable name is "NAME" where visitor can enter name
2) Company input text box, varable name is "COMPANY" where visitor can enter Company name
Whend press send button NAME and COMPANY varables data should go to javascript function callded DATA or can saved to a text file.
how to do it please tell me someone, how to setup javascript in flash and how to create functions etc.
How To Send Data From Flash To Php
I have tried some tutorials, but I dont seem to understand the concept.... since all the tutorials are in english... I need some help, like a very simple example...
Can anybody help me? Thank you...
Data Send To Server
Hello all...
I have created an online form using Flash MX which takes Name, Email Address, Arrival Date (in Month, Day, and Year), Departure Date (in Month, Day, and Year).
Fields contain text boxes, drop boxes, and radio buttons.
When the submit button is pressed, the data wasn't sent to the server. Is it something missing in the mail.php3? Can someone please help?!?
Code in mail.php3 is listed below:
<?php
mail("ddd@yahoo.com", $email_text, $name_text, $amonth_result, $aday_result, $ayr_result, $dmonth_result, $dday_result, $dyr_result, $room_result, $sweepstakes_text, "From: $email_text
Reply-To: $$from
X-Mailer: PHP/" . phpversion());
?>
P.S. Orange Fonts are the field names in the form.
|