I feel like I'm missing something really simple... I've been reading about optimizing your model. I'm attempting to stop calling: Table someTable = Table("TableName"); as apparently if you're doing this a lot, it slows the model down. I want, instead, to have a global variable that points to the table, so I set up this global variable:
Name: somePointer, Type: Tree Node, Value: MODEL:/Tools/GlobalTables/TableName
Now in Flexscript, I want to do something like:
double sum = someTable[1][3] + someTable[4][3];
But I'm having trouble with just creating "someTable". I've tried:
Table someTable = somePointer; // Didn't work
Table someTable = somePointer.as(Table); // Didn't work
Not sure what else to try....