Ask a Question related to Macromedia Director Lingo, Design and Development.
-
Mike McC #1
Saving multiple text fields to a txt file and then loading them back
Hi
I am trying to create a movie where the user can edit the text within
the movie and save what they have entered. I know i need to use the
get/set pref command, or use file IO, the problem i have is handling
the text from the fields,
I can get the text from the fields,using
myList = [member(23).text, member(24).text, member(25).text]
myString = myList.string
put myString
this gives me the text from text members 23,24,25. what i don't
understand is how to retrieve the text from the string and put it back
into the text fields
any help would be gratefully appreciated
Thanks
Mike McC Guest
-
Loading Multiple Text files
Hi! I've got several archived text files - 040107.txt, 040207.txt, 040307.txt, for example - and I want to be able to build a dynamic link which... -
Adobe CS2 looses live text fields in PDF files when saved back out
We have a customer that provides us with PDF files that contain text fields. We need to add graphics in AICS2 and then save the PDF file back out.... -
Saving multiple pictures in a single file
When saving three or four Illustrator files as PDF is there a way to save them as separate pages in a single file instead of separate files. Could... -
multiple text fields
As frame5 is entered, multiple text fields are supposed to be created. I have 3 createTextFields. Each one works, if it's the only one I didin't... -
Saving Text In Txt File
I am using Flash 5. I am creating a simple game and i want to add a score list at the end of the program. So i need to save the score in a file like... -
Mike McC #2
Re: Saving multiple text fields to a txt file and then loading them back
Cheers Sludge, your a star!!
sludge <aaa@aaa.com> wrote in message news:<250920031028274639%aaa@aaa.com>...> use the setat, getat and appendat commands...
>
> e.g.
>
> myList = [member(23).text, member(24).text, member(25).text]
> myString1 = getat(myList,1)
> myString2 = getat(myList,2)
> myString3 = getat(myList,3)
> myString = myString1 & myString2 & myString3
> put "myString= " & myString & RETURN
> put "myString1= " & myString1 & RETURN
> put "myString2= " & myString2 & RETURN
> put "myString3= " & myString3 & RETURN
>
> member(23).text = myString1
>
> etc.
>
>
> ade
>
> In article <1b5a11a8.0309240337.379410f1@posting.google.com >, Mike McC
> <mike@literacymatters.com> wrote:
>> > Hi
> >
> > I am trying to create a movie where the user can edit the text within
> > the movie and save what they have entered. I know i need to use the
> > get/set pref command, or use file IO, the problem i have is handling
> > the text from the fields,
> > I can get the text from the fields,using
> >
> > myList = [member(23).text, member(24).text, member(25).text]
> > myString = myList.string
> > put myString
> >
> > this gives me the text from text members 23,24,25. what i don't
> > understand is how to retrieve the text from the string and put it back
> > into the text fields
> >
> > any help would be gratefully appreciated
> >
> > ThanksMike McC Guest



Reply With Quote

