Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Load array of variables from file
From: Nuno Esculcas
Date: Tue, 4 Jul 2000 18:00:11 +0100


----- Original Message -----
From: "Nuno Esculcas" <njmendesatstudent [dot] dei [dot] uc [dot] pt>
To: <flasheratchinwag [dot] com>
Sent: Tuesday, July 04, 2000 17:11
Subject: FLASH: Load array of variables from file


> "almil" <almilathaha [dot] bigsky [dot] net> wrote in message
> 8jraor$ja3$1atmisc [dot] macromedia [dot] com">news:8jraor$ja3$1atmisc [dot] macromedia [dot] com...
> > Your text file should have this format
> > name=Nuno&name2=Susana&pass1=etc....etc.....
> > then load variables into location as you stated...
> > Then you will have to have textfields with the variable names name name2
> > pass1..etc....etc..
> > Good luck..
>
>
> Ok now i now how to load variables one by one, but i want to load the
> variables into a array like this:
>
> name&1=Nuno&name&2=Susana&...
>
> only this do not work, because de & is the delimiter of the variables, how
i
> can solve this problem????
>

This is done simply by doing this:

name1=Nuno&name2=Susana&...

Then in flash we do this

Set Variable: "count" = 1
Set Variable: "name" = "name"

Set Variable: "text" = Eval(name & count)

And we get the first name "Nuno"


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: sync sound, Tony Indelicato
  FLASH: Load variables from file, Nuno Esculcas
  FLASH: Load array of variables from file, Nuno Esculcas

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]