Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Terminating Data In Txt File



I want to know if there is any way to terminate the data line in a text input file. Say the data in the file is mydata=this_is_my_data. When I use loadVariables()to read the data from the file, FlashMX places a bunch of extra spaces after the data. Is there a simple way to terminate the data line so that the extra characters are not read.(Currently I add a dummy field at the end but it is inconvenient for the user to have to do this everytime and it looks confusing.) TIA



Tek-Tips > Adobe(Macromedia): Flash Forum
Posted on: 18 Feb 04 3:04


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Fla File Terminating Flash8 Program
Hi, Rescently I am encountring a problem and that is when I added some new graphic files(128Kb gif) to my application, and made a mc of that it compiled well .
when I closed all the program FLASH8 and tried reloading this fla file it terminated my application FLASH8 program ,
moreover when I tried selecting this loaded file (in a new project ) into the library the mere click of a button terminated my application can anyone help me wnow whats going on?

Thanks
Raka

Terminating A Function
I have a function that I have created that makes rain fall. It looks all spiffy and the like, but I am having a serious issue that I really need help with.

My issue is that I need to clear the function after 15 seconds in time.

My first idea was to put the function into a MC, and then use a getTimer to just make the main timeline move to an empty keyframe 15 seconds later. This worked in stopping the rain, but the function to create the rain drops still runs (because of the onEnterFrame code), and shows the rain drops forming but not falling on the top of my movie.

I think the best solution would be to terminate the function completely after the 15 seconds are done, but I do not know how to do that.

Any ideas would be GREATLY appreciated, thanks!

here is my code for my rain function:



Quote:




var swidth = 100;
var sheight = 370;
_root.createEmptyMovieClip("DropClip", 15999);
for (var i = 0; i<200; i++) {
createdrop(random(sheight));
}
function createdrop(y) {
var clip = "drop"+Math.random();
_root.DropClip.attachMovie("Drop", clip, random(15999));
_root.DropClip[clip]._x = -100+random(700);
if (y != null) {
_root.DropClip[clip]._y = y;
}
_root.DropClip[clip]._alpha = random(100);
_root.DropClip[clip].speed = random(10)+10;
_root.DropClip[clip].direction = (random(2) == 1) ? 1 : -1;
_root.DropClip[clip].onEnterFrame = fall;
}
function fall() {
if (this._y<sheight && ((this._x>0 && this.direction == -1) || (this._x<swidth && this.direction == 1))) {
this._y += 1+this.speed;
this._x += this.direction+this.direction(random(1));
} else {
delete this.onEnterFrame;
this.removeMovieClip();
}
}

Terminating ActionScript
What line of coding would terminate all action script in that frame?

Terminating A Function
Is it possible to terminate a function? I have an onPress function that is using a for loop to issue an onPress for a group of mc's on the stage. I also have a single button off to the side that is supposed to send the timeline to a specific frame. Problem is that the button sends the timeline to the right frame, but the timeline immediately jumps right back to the frame it was on before. I was thinking that maybe it is because the function is still running and I need to terminate it. Not really sure, haven't run into this before. Thanks.

Chris

Terminating Script Before Deleting Movieclip
Hey all,

I have a movieclip that has an onEnterFrame event. This event has several checks that determine whether it should destroy the movieclip. it goes something like:


Code:
if (out of range)
unregister onenterframe listener and
remove movieclip from stage

if(intersecting with something else)
unregister onenterframe listener and
remove movieclip from stage

if(blah1)
unregister onenterframe listener and
remove movieclip from stage
If the first case is met, the script will unregister the onenterframe event and remove the movieclip... but since the current onenterframe event has 2 more checks that haven't finished executing, it throws errors.
Now i can't just consolidate and create an if(out of range && intersecting with something else && blah1) statement due to more complexities in the code, so I'd like to find a way to absolutely terminate a script before i unregister and destroy everything associated with a moveclip containing said script so as not to throw errors. is there a way to do this?

Thanks much for ANY help!

Jay.

[mx2004] Non-terminating MP3 Dl's With MediaPlayback Component
Hi

Whenever an MP3 is initiated to stream (well, progressively download really) with the mediaPlayback component, it will contue to dl to the cache until done or the browser is refreshed. The occurs even when the component has been unloaded from an empty movieclip.

This is an issue when folks browse alot of MP3s on the site, because even though it's inaudible, suddenly there are many files simultaneously dl'ing to their cache.

Cant find a stop stream type of command in the media class, which I think is the only class for the media components. If I were doing real streaming with the Comm Server for example, I could use stopStream.

I've basically given up on using the component to deliver MP3s, so any advice at all will be appreciated.

Thanks

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!

Is There Anyway To Read Data In From A Text File And Populate An Array With The Data?
hello,
i'm new to flash, and i'm trying to create a photo gallery. however, the photos may not always be the same, and i need to have a way to easily change the pictures without having to go back into flash to change the code everytime. i thought a good way to do this would be to read the names of the pictures in from a text file and then use those names to populate an array, similar to the tutorial on creating a photo gallery on kirupa.com. the problem is, i have no idea how to do this. anyone have any ideas?
thanks

Is There Anyway To Read Data In From A Text File And Populate An Array With The Data?
hello,
i'm new to flash, and i'm trying to create a photo gallery. however, the photos may not always be the same, and i need to have a way to easily change the pictures without having to go back into flash to change the code everytime. i thought a good way to do this would be to read the names of the pictures in from a text file and then use those names to populate an array, similar to the tutorial on creating a photo gallery on kirupa.com. the problem is, i have no idea how to do this. anyone have any ideas?
thanks

Saving Data And Loading Data From A .txt File...
Hi,
I know there's a way to do it but i just couldn't get the right tutorial around..
I have read through Shared Objects but i couldn't get it work...

I just have to save my data, maybe array into .txt file and later on
retrieve from the same .txt file...

Anyone here have an example or some source code so i can have reference on it?

Thanks for the help provided....

Regards,
Lacus

Data To Be Displayed From A Web Based File To A Flash File
Is it possible to grab the contents of a web based file and display it in a flash file.

The data might be in HTML table / or in an .asp page.
Also, the same table might have to be displayed in the flash file.

Plz do clarify on these points & do let me know how to do it.


- Sanjay

Getting Data From An ASP File
Hi All,

I want to my flash file to get data from an asp file. I am using Flash mx and iis server.


Following is the code, trying to get hrs, mins and sec from the server:

--------------
(All frames are in root)

Frame 2:
this.loadVariables("getServerTime.asp")


Frame 3:
//textField1 is a dynamic text field in frame3
//variables serverHrs, serverMins, serverSecs are coming from asp file
stop();
textField1.text = serverHrs+" "+serverMins+" "+serverSecs


Code in getServerTime.asp:

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%= "serverHrs=" & Hour(Now) & "&serverMins=" & Minute(Now) & "&serverSecs=" & Second(Now) %>

outpur from the asp file is:
serverHrs=10&serverMins=15&serverSecs=6

--------------

But nothing is getting displayed in the text field. Can anybody tell what's wrong with the above code?

Thanks in advance,
Kiran

Getting Data From An ASP File
Hi Baljit,

No i did'nt get the difference. I have used <%=...%> and you have used Response.write

Is that making the difference?

Kiran

Cant Get The Data From A .txt File?
Hi, Y when I try both methods to get data from a file MyTempVirus.txt, I cant get the same ans 26 ??

=================================================
x=1;
y=1;
TempVirusData2=V11; ====> 26
TempVirusData="V"+x+y; ====> V11

(My MyTempVirus.txt contain6: V11=26)
=================================================

Hope someone helps me this..
thanks alot.

Need To Out Data To A File
Hi,

I know that you can use a text file to introduce content into Flash but I want to design a Flash file that will output an assembled part number and a price. By this I mean that the user will make several choices within the Flash environment and from this both a part # and price will be generated. The elements within the Flash file would be static (non-changing). That's fairly straightforward. What I want to do is take that information and put it OUTSIDE Flash so I can introduce it into a shopping cart.

BTW, I am using Flash CS3 Pro

Thanks in advance,

Steve

Get Data From File
hey
simple question...
why does this not return anything, its as if it dosent even try to connect or never gets done loading

ActionScript Code:
var loadVar1:LoadVars = new LoadVars();var recrvar:LoadVars = new LoadVars();loadVar1.sendAndLoad('http://xew.mine.nu/imagesite/listFolderData.php?random='+Math.round(Math.random()*99999999), recrvar, 'POST');recrvar.onLoad = function() {    trace("Recieved info -> "+recrvar);}

think ive done simethin glike that before and its worked just fine..

the script is on frame1 and frame2 has a gotoandplay(1)

thanks

Heeeeeeelp Trying To Use Data From A Txt File
Hi all,
I’ve got a serious problem that keeps me stuck in designing my homepage, most probably I’m writting something wrong somewhere, but I can’t find the mistake.

What I have is as follows (simplyfied, that means I have several items that work exactly the same as the example I’m posting):

Frame 2:

A button that when you press calls a function named “variables”:
on (release) {
_root.lang = "english";
_root.variables();
}

The function variables is stored in frame1 and goes like this:
function variables () {
trace ("variable lang is " + _root.lang);
if (_root.lang=="english") {
loadVariablesNum ("./english.txt", 0);
}
_root.mainpos();
}
The text file contains many variables, among them:
architecture=ARCHITECTURE
&archgx=129

As you can see this function calls another named “mainpos” which is also in frame 1:
function mainpos () {
setProperty ("_root.archg", _x, Number(eval(_root.archgx)));
gotoAndPlay ("start");
}
The 3rd frame is labeled “start” and I have a MovieClip in it (instance name “archg”) that contains a textfield whose variable is _root.architecture

The variable _root.architecture is properly loaded, but not _root.archgx. I’ve tried to set the _x property in several ways such as:

setProperty ("_root.archg", _x, Number(_root.archgx));
setProperty ("_root.archg", _x, (eval(_root.archgx)));
setProperty ("_root.archg", _x, _root.archgx);
_root.archg._x = _root.archgx;

But nothing seems to work. Maybe the problem is in the way I assigned the values of the variables in the txt file, I don’t know.
I would really appreciate any help on the matter. This is driving me crazy...

Thanks

Passing Data To A Swf-file
Hello,


Some questions....
is it possible to pass variables to an swf-file without using PHP?

Is something like this possible:
<PARAM NAME=movie VALUE="file.swf?variable=123456">

and if yes, how can I use this variables in my script?


HC

How Do Create A File Data.swf
Please help me ! How do create a file called data.swf for use in flash tracks ?

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

External Data File
hi | i've got a main movie which serves as a shell to load all my submovies (external .swf files). the submovies are called thru an empty movie clip that i gave an instance name of 'placeholder'. to load external movies i do: placeholder.loadMovie("mySubMovie.swf");

now, one of my submovies calls an external data file (it's a dynamic text field that loads text from a .txt file -- it loads the variable text which is specified in the .txt file). i use this code: loadVariablesNum("html.txt",0);

when i test the submovie apart from the main shell, it works fine. but when i test it within it, the text from the external .txt file doesn't load. why is this? is it because i'm specifying level '0', or am i just not using the correct path to find the variable?

thanks, matt.

SENDING DATA TO A .txt Or .csv File
Hi, I have been looking for a tutorial to enable me to set up a flash movie with say 10 buttons. Each one has a name and when you click it sends the name to a .txt file and builds up a list of the choosen buttons. Does anyone one of a php script that I can learn from?
Cheers
J

Load Data From File
Hello,

i am working on a new flash web site for a client and i really need some help on what i describe next:

1. I want to display information from several persons in my web site, i.e. name, phone, age, ocupation, address and city.

2. I want to load from a file and if possible save all data in a flash variable array. I think this is probably the way to store the data in my flash web site.

3. I was thinking in storing the data in a text or xml file.

4. I would like to have a small preloader that says what percentage of data is allready loaded.

Could someone help me out in this?

Thank You a Lot,
Miguel

How To Extract Data Into Swf File
Hi

Can someone tell me how can i extract data from <param> tag into a variable in my swf file?

Get Data From Document File
hi all ,really i am trying to get data from document file (word file) into flash , i am trying to use the same way i can get data from txt file but it didin't work, so how i can display the data (text, images,...) in the MSword file in the flash.

if you can give me all possible ways to do that.


thank you alot.

Saving Data To A File
i've been loading my variables (using LoadVars) from a .txt file and am now faced with the problem of saving the variables back to the .txt file (on the server). I have 2 questions:

1: when converting my arrays back to strings, I have just used the .join(",") command, is this correct or do I need to then define it as a string?

2: what is the easiest way of saving the file? I have a .php script that I could utilise but im not familiar with the language.

Saving Data To XML File
I can read data from an XML file and show the data in Flash but I don't know how to save the dave to an XML file.

Actually I have two input box in Flash called:

"Name" and "Email"

and I want if users fill their name and Email id and press on the Submit button, their name and email id save in an XML file.

Is their any tutorial for this.

Please let me know.

Thanks in Advance

File Contains No DATA? Ahhhelp
Wow this is upsetting me,
I've been working on this new movie and regularly sending it to my friend.
then suddenly it wont send on msn, so i try to email it to him and its all "This document contains no data" and... ive been working on it for weeks so im pretty sure it contains data. however, the swf plays on my computer... has anyone ever had this problem or knows what to do?
id appreciate it, thanks

Write Data On A Txt File (for Php Use)
hello everyone !
I'm having a very simple swf that contains only a menu with tags. these tags launch some pages with the php includes function.
basically what I want to do is the tag to be highlighted, so I used some Actionscript like gotoAndPlay()
It works fine except that each time a link is clicked and the pages show up, the swf is starting from the begining again, so the 1st tag is always highlighted.

So the idea I'm having is to write a simple data on a cookie file, each time a tag is clicked, to remember the frame that the swf should start reading from (with a load txt. function?)

Now my question is this : how do I write/change a var on a cookie file ?
could be as simple as myvar =1 for the first tag, if the 2nd tag is clicked myvar=2 etc.
also : how do I load a cookie in the swf in order to read the var ?
thanks very much !!

Writing Data To File On HDD
i need a tutorial on how to write data to a text file located on the computers hard drive (this flash peice is a stand alone display).

I am thinking i will use XML... since the content is database like. sections of this database need to be modifiable... then written back to the original text file.

thanks much for any help.

Accessing Data From File.....
Hi Friends,
I want to know that is it possible to access data from local Machine Path while my Swf is being run on Server. Let me try to explain plz ....
Suppose i m running my swf file from server (http://www.abc.com/myfile.swf)
and a .txt file or .xml file is placed on my local drive (C:/text.txt)..now i want to know here that is it possible to access data from this text.txt file while runing my swf file On the Server ???
If it is possible... can u plz send me some link for help ???

Thanx,
IFFY

How To Read Data From A .txt File?
The data is arranged in the following way:

Alex
M
16
1989

How can I read the data?
I want to assign "Alex" to a variable called name[1]
and "M'" to sex[1]
and "16" to age[1]
and "1989" to year[1]

Please help me
thx

I am using flash 5

Pls Help (how To Read Data From The Txt File)
The data is arranged in the following way:

Alex
M
16
1989

How can I read the data?
I want to assign "Alex" to a variable called name[1]
and "M'" to sex[1]
and "16" to age[1]
and "1989" to year[1]

Please help me
thx

I am using flash 5

Pls Help (how To Read Data From The Txt File)
The data is arranged in the following way:

Alex
M
16
1989

How can I read the data?
I want to assign "Alex" to a variable called name[1]
and "M'" to sex[1]
and "16" to age[1]
and "1989" to year[1]

Please help me
thx

I am using flash 5

Load Data From .txt File.
Ok, i know that billions of threads exist with this but it's wierd.

i'm using flash pro 8, and this loardVars thingie won't work. I have no idea why won't it work. Does flash 8 pro have some new features that don't let "old code" work, or am i too tired...

I think it's because of me and not flash, i'm too tired and this is driving me crazy.

So, i have a dynamic text field called "biro_txt" and an external .txt file called "test2.txt"... What i want to do is to load the .txt data into biro_txt... Sound simple but it won't show...

Thanks guys,
Biro

Retrieving Data From An XML File
I have a problem to view the “date” attribute in my flash project
Please help !!!




Code:

<?xml version="1.0"?>
<comments>
<item date='343434'>flash flash flash


<p> </p>
</item>
<item date='121212'>test test

<p> </p>
</item>
</comments>



ActionScript:

Code:

var theXML:XML = new XML();
theXML.ignoreWhite = true;
my_txt = "";

theXML.onLoad = function() {
var nodes:Array = theXML.firstChild.childNodes;
for(i=0; i<nodes.length; i++) {

my_txt3 = nodes[i].firstChild.attributes.date + "

"

my_txt4 = nodes[i].firstChild.nodeValue + "
";

my_txt4 = my_txt4.split("
").join("");
my_txt += my_txt3 + my_txt4;


}

my_txt2.text = my_txt;

}
theXML.load("con_flash4.php")

WRITE Data To Xml File
I want to write some data to an xml file in local drive and update it every now and then what code should I use.

Save Data To A File
Using flash to create a stand alone application, and we need to export data to a file. I looked into this previously and I thought there was some sort of 3rd party app, or maybe it could be "printed" to a text file? I can't remember.

Anyone?

Thanks in advance!
-Dave

Load Data From XML File
Hi guys,
I new to this forum and relatively new to flash too. I have a small question. Ina small flash file I have two buttons - back and forward. In an XML file i have some information stored - Quote and Author. When the user veiws my file, Flash should read the first record from the XML file and display it in the format Author - Quote. The user can navigate between the quotes using the Previous and Next buttons. How can I do this.
Thanks.

Retrieving Data From An XML File
I having some difficulties to retrieve a variable from an XML file

I have a problem to view the “date” attribute in my flash project
I am using this line in the acrionscript but I is not working

Code:
my_txt3 = nodes[i].firstChild.attributes.date + "

"
If you have any idea Please help
Thank You


XML:


Code:

<?xml version="1.0"?>
<comments>
<item date='343434'>flash flash flash


<p> </p>
</item>
<item date='121212'>test test

<p> </p>
</item>
</comments>



ActionScript:

Code:

var theXML:XML = new XML();
theXML.ignoreWhite = true;
my_txt = "";

theXML.onLoad = function() {
var nodes:Array = theXML.firstChild.childNodes;
for(i=0; i<nodes.length; i++) {

my_txt3 = nodes[i].firstChild.attributes.date + "

"

my_txt4 = nodes[i].firstChild.nodeValue + "
";

my_txt4 = my_txt4.split("
").join("");
my_txt += my_txt3 + my_txt4;


}

my_txt2.text = my_txt;

}
theXML.load("con_flash4.php")

Sending Data To PHP File
I have tried so many ways to send data to my php file. I need help creating an actionscript to send the username and password from my flash page to the authentication page (php).

Script (I placed it on "frame action" timeline). Is this the right place to add the action script below...

submit_btn.onRelease = function() {
//call php to verify the correct username and password
uname = uname.text;
pass = pass.text;
getURL("test.php", 'POST');
};

Extracting Data From A Txt File
I'm working on a project for a real estate agent and currently, he has a subdivision, for lack of a better term, up for sale.

What he wants is a map of all the parts of it, which I have done by tracing the blueprints in flash. Now comes the tricky part. For each slot, he wants there to be a rollover. On this rollover, he wants it to display somewhere else on the page, 3 pieces of data. 1. available (sold, open, etc), 2. price. 3. something else. Also, there should be a slight tint on the rollover. however, it would take forever to make 400+ buttons to fit each slot. the slots are already in movie clips though if that helps. The data that needs to be displayed hopefully should come from a Text document, or something easy for him to edit himself, no having flash 8 or anything. i'v heard you can probably do this with xml too, but a .txt file would be more pleasant. never the less, which ever is more doable, i will do.
If anyone could help me out on this, I would really appreciate it.

Thanks,
Gianni

Change Data In My XML File.
hi,
I created an XML file and I want to change the data in it from FLASH.
how can I do that.

this is my XML file and I want to change SNy from 78 to 210 for example.

<?xml version="1.0" encoding="UTF-8"?>
<Light>
<solider Sname="knight_1" SNx="189" SNy="78" />
<solider Sname="knight_2" SNx="189" SNy="118" />
<solider Sname="knight_3" SNx="189" SNy="158" />
<solider Sname="knight_4" SNx="189" SNy="198" />
<solider Sname="knight_5" SNx="189" SNy="238" />
<solider Sname="knight_6" SNx="189" SNy="278" />
<solider Sname="knight_7" SNx="189" SNy="318" />
<solider Sname="knight_8" SNx="189" SNy="358" />
<solider Sname="knight_9" SNx="189" SNy="398" />
</Light>

Loading Data From XML File
Hello all,

I have a flash file does the following:
- reads from an XML file
- parses the data into two arrays (one containing the paths to 3 images, the other array contains the paths to 3 different websites)
- rotates the display of the three images (when clicking on the first image, user will be directed to the corresponding website, etc.).

I noticed that my flash file was loading slowly. I tried lots of things to speed it up and realized that the reading of the XML file was actually slowing it down significantly. If I hard code all the values in the array, the flash file takes very little time to load, whereas with the XML file it lags.

I have pasted below this message the code I'm using to open/parse my xml file. Also, for your knowledge, my XML file is very small. It only contains three records (one for each item), each of which contains a couple of attributes.

I would really appreciate it if someone could take a look and share any best practices when using XML to populate data in a flash file.

Many thanks in advance!

---

xml_file = new XML();
xml_file.ignoreWhite=true;
xml_file.load('index.xml');
xml_file.onLoad = parse;

function parse(success) {
if (success) {

//root element of xml file:
root = xml_file.firstChild;

//sets total number of items to cycle through:
_global.numberItems = root.attributes.items;

// PARSE XML:
itemNode = root.firstChild;
i = 0;
while (itemNode != null) {
_global.imagesArray[i] = itemNode.attributes.image;
lv = new LoadVars();
lv.load(_global.imagesArray[i]);
_global.linksArray[i] = itemNode.attributes.link;
i++;
itemNode = itemNode.nextSibling;
}
}
}

Extracting Data From XML File
I've loaded my XML file via:

Code:
//Loading This File Specific Variables

myVariables_xml = new XML();
myVariables_xml.ignoreWhite = true;
myVariables_xml.load('moviedata.xml')

myVariables_xml.onLoad = function (success){
if (success){
processBook(myVariables_xml);
}
}
and then defined a variable like:

Code:
mtitle1 = myVariables_xml.firstChild.firstChild.firstChild.nodeValue;
Here's the opening of my xml file:


Code:
<?xml version="1.0" encoding="utf-8"?>
<movie_info>
<hosturl>hosturl</hosturl>
Ok, according to the tuts I've read, mtitle1 should equal "hosturl" However, it always pops up as undefined. Can someone tell me what I'm doing wrong?

Writing A Data File
Hi guys,

I've been Googling extensively on how it would be possible to get a Flash AS3 program to write data to an external file. So far, I have found out that this is directly impossible as Flash does not write specific variable to an external file (other than a cookie which is useless).

I have made a program that is going to be used for academic research purposes and it basically measure the reaction times of persons. It stores all the data to multiple arrays. What I basically want to to do is take the variables contained within these arrays and have the data stored somewhere. Ultimately, this program will be placed on the internet and each time a person runs it, they will input a username, and then go through the program. At the end of the program, I want it to take all the raw data and write it to a file (XML would be preferable since it formats automatically and is readable in Excel) that is saved on the server side.

I have absolutely no idea where to start. Some websites tell me I will need an SQL server or something, but I'm totally lost. Is there an easy way to go about doing this at minimal cost/effort? I had to self-learn Actionscript 3, and I'm a bit weary. I'm not too enthusiastic in having to learn another language.

I apologize if this has been asked before, but thank you anyways for reading.

Sending Data To .swf File
I need to use ActionScript to send data to a .swf file (such as text to be displayed, colours to use, and so on).

How can data be sent from the script to the .swf file?

Thank you.

How To Save Data To XML File?
Is there any body know how to save the XMLList object save to a .xml file locally?

Also, how could I modify the an existing .xml file locally?

Could anybody give me a sample?

Thanks

How To Save Data In A Xml File?
I want to save variable in a XML file I could load the
variable since a xml file but I could not change them

ActionScript Code:
// load xml, doc is the xml in flash, MyFile is the xml File
doc = new XML();
doc.load ("MyFile.xml");
Please help me!

Copyright © 2005-08 www.BigResource.com, All rights reserved