Flasher Archive

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


Subject: Re: FLASH: array trouble
From: Helen Triolo
Date: Wed, 20 Dec 2000 14:42:02 GMT

Not quite clear here. Yes, a loop is a good idea for putting things in
an array, and an array is a good idea if you have 900 things with
similar names! But do you want the array to contain both variable names
and strings? Can't you just put the strings into the array and
reference them from the array directly? Also, what's the content of
your text file? Hard to answer (from my point of view, anyway) without
knowing more.

(PS What's "De mensen, de oplossingen"?)

Regards,
Helen
-----------------------------------------------------
i-Technica http://i-technica.com 301.424.6037
developer resources: http://i-technica.com/whitestuff

Ruben Mafura wrote:
>
> >From a novice in Flash, a question concerning arrays.
>
> Can anybody help me out with directly filling an array with values from an
> external txt?
>
> 1) a 'loadvariable' to place the variables with their values inside a
> movieclip
> 2) create an array
> 2) I've got about 900 values to place in the array so i thought a loop would
> be smart thing to use. Point is that i can't get the loop to work. The name
> of the variable from which i want to place the value in the array needs to
> be comprised from 2 parts:
>
> a part that doesn't change and a number that increases (up to 899).
>
> e.g. "SoundPress" + 899 to form variable-name 'SoundPress899'
> which contains a value
> "SoundPress" + 899 will form a string and not a name of a variable. That's
> where my problem resides.
>
> I hope i've explained my problem in clear way and i hope evne more that
> someone can help me out.
>
> Regards.
> RuupY
>
> Pecoma ICT-groep * De mensen, de oplossingen * http://www.pecoma.nl

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save 200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: array trouble, Ruben Mafura

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