Flasher Archive

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


Subject: FLASH: array trouble
From: Ruben Mafura
Date: Thu, 21 Dec 2000 15:51:38 GMT

ElloW,..


>And some days, I just shouldn't send any email at all, because my brain
>just goes too slow. ;-) The code in that last message is just dumping
>one array into another. You already have an array, once you've read the
>variables in. (doh!)

An ocasional slow moment has its charmes as well...However...trying to
access an array,
created with the 'loadVariables("mytext.txt","varclip")', returns nothing.

- i perform the 'LoadVar...' from within a button
- a dynamic textfiled with the same name as the variables in the txt-file
display the right values
- the araay-access-code for (i=0; i<16; i++) {
trace(_root.clip["vars"+i]);
}

....returns nothing
- a 'trace(typeof...)' results in a 'UNDEFINED'

You said that the array was automatically created with the
'LoadVariables'?....then i'm a bit at a loss,..what am i doing wrong?

ByTheWay...
The other option : deviding one long string with 'split' wordks like a
charme.
The string-length hasn't become a problem...yet.

I've spend too much time to abbandon the other option....do you / does
anybody have any suggestions??

Many thankz



RuupY


Pecoma ICT-groep * De mensen, de oplossingen * http://www.pecoma.nl

Is deze e-mail niet voor u bedoeld? Laat het ons even weten. Bij voorbaat dank.
Dit e-mailbericht is gecontroleerd op computervirussen met MIMEsweeper.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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


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