ActionScript 2.0 :: Writing Form Data To A File Locally?
Aug 23, 2006
I've to make a form that's going to work on a local machine without internet during an event. I have a form i'm using for our website, but this one just sends emails.The data needs to be written to a file (Excel / XML ?) which we, after the event, tranfer to another computer and add the list of subscriptions in our company network.
View 1 Replies
Similar Posts:
Mar 19, 2010
I have been struggling with this all week now. I am using as3 and within my movie I have a dynamic text box that contains a score.I need this score to be written to a text file preferbly in an array that only stores the highest 5 scores.I then need values from the array to be read and displayed on another movie which will act as a high score table. e.g. I will have a dynamic text box in my high score move that will display the 1st value in the array, and then the 2nd etc.
writing/reading data to text files.Alternatively if anyone else can suggest another method for a high score table please let me know. I only need a basic high score table that runs on a users local machine as the app i am making is desined to run on individual users machines.
View 1 Replies
Oct 19, 2009
I am trying to create a simple form using Actionscript 3 that will collect data from a form, then pass that data to an asp file. I have attached the following code to the submit button,but this is not working.I'm not sure if I have to add anything else and I don't understand why this is not working. I'm trying to load all the variable info into one variable called email form.
submit_btn.onRelease = function() {
var emailform:text;
emailform.email_txt = email_txt.text;[code]......
View 1 Replies
Jan 20, 2010
I am wondering if it is possible to use random file access for reading and writing data to file in Actionscipt 3.0 similar to that what is in Visual Basic?
View 1 Replies
Aug 4, 2009
I have been trying to save data from a flash movie to an XML file and have failed to do so how is it possible? how can i for example save a text from a textbox / textarea to an XML file in an specific XML node by pressing a botton? although i am familiar with how to extract data saved in XML files and desplay it in a flash movie.
View 7 Replies
Oct 21, 2002
How can i write data to a text file like user's score, date & last frame visited etc... can the file to be written to an unix environment.
View 8 Replies
Jun 10, 2009
I want a user running a Flash game on his machine (not from a server) to be able to save some game data locally.From what I've read, there still isn't any way to do this, but I thought I'd throw it out there in case anyone knows a sneaky xml or php work around.
View 2 Replies
Jul 5, 2010
I want to write some data stored in a string variable into a text(txt) file.
View 4 Replies
Aug 22, 2007
form/php works locally not online posted this before but no luck. it just doesnt make any sense.. same swf and php. php is sitting on my server. when swf is tested locally it sends an email. when swf is uploaded next to php it doesnt. it is driving me CRAZY.
should also say, i have field validation within flash.. so once all fields are accurately filled the submit button loads the variables from the mc that contains the text fields and sends them to the php.. once that is done, it clears all text fields and the submit and reset buttons and loads an acknowledgement text. this happens locally. when online the submit button does nothing of the sort.
View 3 Replies
Jun 15, 2010
I am trying to convert data entered into a form into an xml file which needs to be uploaded.how you go about converting Strings to Files and circumventing the browsing process?
View 1 Replies
May 26, 2010
Our team working on flash/Asp.net shopping cart projects In our projects we need to get previous flash file data. After two or three form submission the first page flash file data are missing. How can we maintain the state of flash file data?
View 1 Replies
Sep 17, 2011
How to physical write data on xml file... without using php? or if php must involve how to add data without opening a new window.
below, this doesn't write on xml file but it append without saving it on actual xml file?
..if i want to add a childnode/replace text node and save it..what all things i have to do? or what are the basic requirements to add data on xml file. I know how to retrieve data from a file, now that i have created a form and wants to add data. [code]...
View 1 Replies
Mar 2, 2009
I'm working on an email form contained in a separate .as file coded in AS3 with a php file. Everything is working just fine when I test it through Flash, having my swf + my .as file locally and my php file online. As soon as I move all my files online, I submit the form, press my send button, see in the bottom screen of my browser than it seems to be a transfer, but nothing happen, no error message as written in my code...i'm just stuck. Here is parts of my codes.
[Code]...
View 3 Replies
Aug 15, 2010
I followed to tutorial to make the website and form but it just leaves you hanging at the end after ou made the form, i doesnt tell you how to make the .php file that sends the information to a email address. here is the Action Script 3.0 code for the form:
import flash.net.URLVariables;import flash.net.URLRequest;
InteractiveObject(theName.getChildAt(1)).tabIndex = 1;InteractiveObject(theEmail.getChildAt(1)).tabIndex =
[code]........
View 1 Replies
Jan 21, 2010
Can you tell me how to import form a single xml file, data to multiply text fields. if you can, tell me what is the AS code that imports the xml file in flash, than how to link the different txt fields to the difarent modules from the xml and what is the xml structure.
View 25 Replies
Jun 19, 2009
I have the following which produces a trace if the user does not type an email address when testing locally, but nothing when testing outside of Flash.
[Code]...
View 1 Replies
Feb 4, 2010
I am trying to write a class file using a .as file instead of writing code into the script tab of a .fla file.When I write stage.addChild(img); I get an error that stage is null. When I take out stage, and just write addChild(img); the code runs fine, but nothing appears on stage. Do I need to do something to set a stage active?
Is this because I don't have a Main class? My class is named after the file and I don't have a file named Main.Here is the code. As it is, it runs and I get the two trace outputs, but no graphic on my screen.
package { import flash.display.DisplayObject; import flash.display.Sprite; import flash.display.Loader; import flash.events.*; import flash.net.*; public class HelloWorldImage extends Sprite { private var background:DisplayObject, foreground:DisplayObject; private var url:String = "hw_jpg.jpg"; private var loader:Loader = new Loader( ); public function
[code].....
View 7 Replies
Jun 11, 2010
I have successfully written my XML from flash to the server using php. But now I need to have it write to a Windows server using either asp or asp.net. Below is my code for PHP.Have searched allot of places and found how to write text files and lines inside text files.But I use a URL variable to write my XML file name out with xml data I created in Flash as3.For simplicty I am using localhost... but really is set to my web domain.On the address line I pass: Example
PHP CODE
<?phpif (isset($GLOBALS["HTTP_RAW_POST_DATA"])){ $data = $GLOBALS["HTTP_RAW_POST_DATA"]; $myFileName = $_GET['ClientFile']; chmod($myFileName, 0777); $fp = fopen($myFileName,
[code].....
View 3 Replies
Aug 26, 2009
I am trying to write one function to save all data but i am not sure how to change the name of each data value without writing them out one by one.[code]
View 3 Replies
Dec 15, 2010
How to store data locally using Flex 3 in web applications. Without using backend or using shared object.
I came to know that there is something called Data Management in Flex 3. And it is not for AIR application.
View 2 Replies
Jul 8, 2011
How i can save data localy in my drive using as2
View 3 Replies
Jan 16, 2008
I have an offline presentation for a client that needs to have a form submitted data saved local on the machine (kiosk) to be gathered later.I researched on google and found fscommand to write to a txt file but this no longer works and is sorta sloppy.
View 5 Replies
May 18, 2007
I am creating e-learning material that will be accessedonline by students. Is there anyway that Flash can write to adatabase to tell us how long the student was logged in for and how
long there were on a page?
View 1 Replies
Apr 14, 2010
I've just been approached my current project needs to run from a CD and write data (bookmarking) to the hard drive. Been told the file will still launch from a html document and not AIR. Orginally had it built in AIR, no problem writing data. I remembered what I thought was a SharedObject but that does not sound right for writing out the data. Which is an xml file I am building from the student login.
Since I can't use AIR is there another function someone knows for writing a file to a location on the hard drive? Time is pressing on this one. I have to have an answer by morning.
View 13 Replies
Jun 6, 2008
This is an area of Flash I haven't experimented in, so I don't know where to start. Is it possible to run an SWF, and have Flash export variables externally, as the SWF is running? So for example, export an Array to XML? It doesn't need to be PHP, and stored serverside etc, just written locally on the computer would be fine.
View 4 Replies
Jul 23, 2011
I do understand the differance between ssas and as3. Not all, but all most everything I see written in SSAS can be writen into a external AS3 file. This leads me to quite a few questions I'm hoping you kind people can shed some light on for me.
1) What is the advantage of writing a SSAS file over an external AS3 file?
2) Can I write an .asc file in AS3 or do I have to use AS1? Please understand I'm using tuts from fmsguru.com and the books "Learning Flash Media Server" (pdf) and "Programming Flash Communication Server". I'm not a javascript programmer so nothing I do in AS1 seems to make any sence while everything I do in AS3 does. It may not seem like it to you people that are programmers, but to those of us that aren't, AS1 and AS3 are miles apart.
3) kind of off topic, but a security question. I'm not a "hacker" and don't like the jerks that are. My question is on external AS / SSAS files and swf files. When my fla is compiled into a swf does my external AS files remain external? I assume they do, but then what is the threat of the swf being decompiled? In most projects I would do I could care less if somebody had access to my fla as long as they don't have my actionscript files.
I don't know. Maybe on questions one and two I'm getting confused becasue I'm using out dated material. Again I assume that even though fms was built off of the javascript engine it should be able to read and execute my AS3 file. Other wise what was the point of the evolution of actionscript into a fully functional programming language?
View 1 Replies
Aug 1, 2006
So I have an html file with a swf in the center which loads pictures and text via XML. It works fine on my own computer but on the actual site it doesn't load the pictures or text it, in any browser.
View 1 Replies
Apr 3, 2012
I'm trying to debug a swf in Flash Professional CS5.5, by running the debug-> Debug Movie -> In Flash Professional. When I do I get teh Adobe Flash Player Security window. It says you are trying to connect to and the I.P. address of the server (e.g. 203.22.35.101). I've opened the settings and added that I.P. under Advanced->Trusted Location Settings... that doesn't help. btw: If I run -> Control -> Test Movie -> In Flash Professional it works fine, but then I can't debug.
View 1 Replies
Feb 1, 2010
I am making app that works as stand alone, do some calculations and sting formating. Also it need to save data localy, and be able to reload it when needed. I have read that Shared Objects do that but also have limitation. For example the data can be deleted without user doing it. I need the data to somehow persistend and been able to delete only by the user of the app. As extra exporting data for other user will be usefull, but is not requared.
View 1 Replies
Feb 28, 2003
Is it possible to save scores in a text file or xml file locally? Im not creating an online application but rather an application for personal use! I don't want to use cookies since they can be cleared by mistake! It would be really good if it was possible to save the score to an external file!
View 2 Replies