Flasher Archive

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


Subject: Re: [flasher] RE: Help with vars
From: Patrick Mullady
Date: Sun, 04 Mar 2001 08:04:27 -0000

Got it!
To concatenate the vars I tried this and it worked.........

_root["thumbSet" + [var]] = newVar;

Thanx Andy!

----- Original Message -----
From: "AndyA" <meatandya [dot] demon [dot] nl>
To: "flasher from chinwag" <flasheratlists [dot] chinwag [dot] com>
Sent: Saturday, March 03, 2001 10:41 PM
Subject: [flasher] RE: Help with vars


> Hey Patrick,
>
> you need to construct and instance of the array object:
>
> _root.thumbSet = new Array (20)
>
> where 19 is the length of the array.
>
> you then set the values in the array using
>
> _root.thumbSet[0] = blah
> _root.thumbSet[1] = blah
>
> where the number in the sqare brackets is the position in the array (which
> starts at 0 and will work through to 19).
>
> Sorted!
>
> A
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> The Chinwag site carries a wealth of Flash resources.
> Find useful links, suggested reading and archives at:
>
> ** http://www.chinwag.com/flasher **
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> You are subscribed to flasher as: patatretropunk [dot] com
> To unsubscribe, email leave-flasher-485563Latlists [dot] chinwag [dot] com




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