ActionScript 2.0 :: Create Text File In It?
Apr 13, 2011Can it's possible to create and write text file(.txt) using flash(Actionscript2.0) if yes then how?
View 3 RepliesCan it's possible to create and write text file(.txt) using flash(Actionscript2.0) if yes then how?
View 3 RepliesIs there a any way to create a txt file in as3 and save reports in that file?
View 1 RepliesIs there a any way to create a txt file in as3 and save reports in that file?
View 6 RepliesI have created a static text in my FLA file and for some reason when I convert it to a movieclip symbol, my setting of the text - such as the letter spacing - are no longer. It scrunches together and looks pixelated. Any knowledge as to why? It was not doing this a while ago but I don't see what I have changed!
View 6 RepliesI am developing flash exe. i want store some data in text file
1. How can i create new text file in my client machine at runtime
2. anyother options is there
I need to create a file that the user inputs text which looks easy enough, but I need to strictly define what they can put in.
It is a right/wrong answer so for example:
I would need them to enter the following sentence exactly: Hello my name is dog.
I am using CS3 / AS3 to create a kiosk app. As part of the kiosk I need to create an external file that I can append with visitor comments (2 text fields and 2 radio buttons). These would then be approved by a museum administrator and copied over to another text file that gets read into the kiosk and displayed. I'm not having any trouble reading in an external file, but I'm finding so many conflicting things about writing an external file with AS3.
View 3 RepliesI'm using Flex 4 for building the communication to Arduino. There are three (3) main values coming from it (X,Y,Z). Here the Flex's code
newText.text = magnetic.readUTFBytes(magnetic.bytesAvailable);
d = JSON.decode(newText.text);
MNx = d["x"];
MNy = d["y"];
MNz = d["z"];
Is there any example or codes (in Flex) that can I create and save these values as a TXT file (data.txt). These values as a structure should be like below.
[
{
"time":"1",
[Code]....
anyone have a fla file (flash document with swf file) to rename a notepad file (text file) / Create a notepad file (ex : Test.txt) in Drive C or D or place where we save the fla file. I don't care about inside the test.txt.... "abc" or no text...
View 1 RepliesThis code doesn't seem to be working.[code]...
View 3 Replieshow to create new text file in flash without using php.
View 6 RepliesI'm trying to create a flash app that has 2 things inside. An InputTextBox which is called txt_userinput and a Button called btn_submit.
Bascially, the user just need to type in some word in the InputTextBox and press btn_submit. The data will then be sent to a testing.TXT in my DESKTOP. My .FLA file is in MY DOCUMENTS while the testing.TXT is in my DESKTOP.
Question 1: Question is, how do I make the data from txt_userinput to be sent to the .TXT in my DESKTOP?
For example, the user typed "Hello, how are you?" in the InputTextBox. In the .TXT file, I want it to show "Hello, how are you?".
PS: testing.TXT file is already created in the desktop, just waiting for flash to write the data in and keeps on adding more data in the future in the following format.[code]...
I'm looking to create a slideshow that needs to automatically advance, with each slide having 2 pictures and a short text description, each which would be unique for each slide. The file name for the pictures and description are contained in this xml, currently my XML file has the tags in the format <pic1> location.jpg </pic1>, each grouped for the slide they both need to be on.
View 2 RepliesIs it possible to use actionscript 2 to create a pdf or word processor file containing only text?
View 1 RepliesI made a basic text editor that lets users insert predefined strings into the document with button clicks. What I need to do now is let the user define their own buttons and string values. For example I have a button that inserts "Hello" into the text. The user may want to create a button that adds "Goodbye".To accomplish this I figured I would create a .txt file called buttons.txt or something. i would readutfbytee, loop through it to create the buttons. problem is I know what I want to do but not sure where to start
View 2 RepliesSo i have an external text file organized like this:
/* $file: data.txt */
&title0=Sacrum
&detail0=Detail text for Sacrum
&title1=L5
[Code].....
There are 28 of these 'title' and 'detail' pairs. The 'title' text is to fill a dynamic text box and the 'detail' to fill another dynamic text box depending on which section the user is mousing over.
My issue is getting the text from the file stored into arrays. For my test loop I keep getting undefined as the stored value, and i know it has something to do with converting a string value to object..
var lv:LoadVars = new LoadVars();
lv.onLoad = handleDataLoad;
lv.load('data.txt');
function handleDataLoad (success:Boolean) {
[Code]....
Recently, I writed a programe about creating a text file and writing data into it in the server application folder. My code is as following:
[Code]...
Supplement: The text file named test.txt doesn't exist before create the fileObj, an instance of File Class.
I want to create a simple high score list of 10 high scores of a game. From reading the forums I seem to get the idea that flash cannot create a simple text file. I don't have php or asp but do have cgi capability. Does anyone know where I can find a simple cgi-script that will allow me to write the text the cgi receives to a simple text file: game.sco I want to be able to write a single long string to it so that I create a string of values and can load it back in using flash loadvariables. I can create the string in flash... but how do I write it to a text file using a cgi script? the text file would include this string...I already know how to read it and split it to parse it into arrays:
[Code]...
I am trying to create html links from a external xml file to be dynamically added to a text field (im using flash builder)the process i am having trouble is: -Loading an external swf which contains the textfield loading external xml which contains the cdata with links adding the cdata to the htmltext property of the textfield the link is showing correctly, the mouse turns into a hand... but when i click on the link it doesnt work. i have seen a few forum posts similar to this problem but all are using textfield control in flash builder but im trying to add the cdata into an externally loaded swf which holds the textfield.
View 2 RepliesI'm loading a external text file to flash and according to the number present in the text file i'm trying to do a IF - ELSE command. It's not working coz the value I load from the external file is string. How can i get this as intiger.
View 2 RepliesHow can I save data to a text file and also append a record to data in an existing text file? I've used Authowrware previously and it was quite easy to create a large string of data (a comma separated list) and export that to a text file (and create the text file if it didn't already exist). I could then easily append additional rows of data (records) to the text file. We want to build a questionnaire that will store the data locally on the computer in a text file. Each record may have a few hundred data points in a comma separated list.
View 8 RepliesIs it possible to create gradient text with text in a text field, without using a different object?
I have three text fields sitting right next to each other, to create a row. Some times the text is longer than the width of the text field, I don't want to widen the the text field to make it fit, I just want to fade the last 20 - 50 pixels of the text out.
Is this possible to do without using an object above it, such as a gradient?
How can Flash AS3.0 Read file text while text file still writing by C++ program ?
I have some code that I asked before + I modify some line but It can read only text file that completely writing.
import flash.events.Event;
import flash.net.URLLoader;
import flash.net.URLRequest;
[Code]....
Now My task is read real time file and send xArray and yArray to another function but I don't know how can I code it.
I'm found the site with the monkey on the the flash thing and all it shows is a name, email and something else and I used it and it works by including a txt file and displaying text from that file as putting down this information
name.text = this.name;
and I can't find the site anymore to get help.I want to know how to include a PHP script that shows this information like this
text=something I need&username=My Name&email=something@website.com
I want to show this stuff on the flash but every time I execute by using it as localhost/test.php, it will show a syntax error.
Having got into flash about a year ago, I have a fairly good understanding of as3, but I have never had any reason to learn as2. For an upcoming project, we were looking to use Scaleform GFx, with the UDK. (Unreal Development Kit) Trouble is, Scaleform only supports as2. From what I've been told, as3 is supposed to be better in just about every way, so I really don't want to learn a language that?s most likely on the way out, if I have any other options.
Is there any converters out there, that can convert script from as3 to as2? Or another workaround possibility, since flash communicates with the UDK by means of just calling a function, could I create an as2 file that could dynamically load an as3 file?
I asked this earlier but maybe I didn't give enough information. I am working on a website where video quality is very important and the client is delivering me the video already compressed. I then want to import it to flash CS3 and export it as .flv for progressive download with the media playback component. I have done all of this successfully in a sense that it all works but the video quality is not good enough, it's good but the client says it;s a bit grainy. I used the highest setting in Flash, on2 vp6 at 700kbs.
My question is what is the best file format (.mov etc) and what settings should the client use, so I can create the highest quality .flv export from their .mov file? Second question, I used an 8 second buffer but now the client is saying they don't want it to buffer at all. What are the other options besides progressive download, I have never delved into this before?
For some reason I am unable to create a FLV file from a MP4 file with high bitrate. I even created a custom setting and specified bitrate as 2500 but the output file is always around 775.
View 9 RepliesI'm in flash cs3 project. I need to create a pdf file from an image path included into an xml file or if easy also in a written path as the code below:[code]
View 0 RepliesIs it possible to just create a .AS file and define constants inside of that file? Without making a new class, just so that all my classes can access these constants? This is of course possible in PHP, but are the scopes handled differently in AS3?
View 3 RepliesI am still using flash MX. I'm pulling random text from a textfile (array.txt) into movieclip instance textbox.[code]All is good, but now my question is if I can have a text effect as well. For example having the random quotes typed out as they appear.
View 16 Replies