Dynamic Arrays in FMS

Ok, I have a problem, a not so big problem, but a problem. :confused:

I have this array that is dynamic for FMS.
ActionScript Code:
[FONT=Courier New][LEFT][COLOR=#000000][[/COLOR]Client.[COLOR=#0000FF]name[/COLOR] + [COLOR=#FF0000]“Idea”[/COLOR][COLOR=#000000]][/COLOR] = [COLOR=#000000]new[/COLOR] [COLOR=#0000FF]Array[/COLOR]COLOR=#000000[/COLOR];
[/LEFT]
[/FONT]

Except, for some reason, it won’t work unless i put a this infront of it so it becomes this:

ActionScript Code:
[FONT=Courier New][LEFT][COLOR=#0000FF]this[/COLOR][COLOR=#000000][[/COLOR]Client.[COLOR=#0000FF]name[/COLOR] + [COLOR=#FF0000]"Idea"[/COLOR][COLOR=#000000]][/COLOR] = [COLOR=#000000]**new**[/COLOR] [COLOR=#0000FF]Array[/COLOR][COLOR=#000000]([/COLOR]idea1,idea2,idea3[COLOR=#000000])[/COLOR];

[/LEFT]
[/FONT]

It works fine for everything, except I have a separate function that needs to update the first string, eg:

ActionScript Code:
[FONT=Courier New][LEFT][COLOR=#000000][[/COLOR]username + [COLOR=#FF0000]"Idea"[/COLOR][COLOR=#000000]][/COLOR][COLOR=#000000][[/COLOR][COLOR=#000080]0[/COLOR][COLOR=#000000]][/COLOR] = newIdea;

[/LEFT]
[/FONT]

but as you can imagine, it gives me errors if I don’t put the this infront of it:

ActionScript Code:
[FONT=Courier New][LEFT][COLOR=#0000FF]this[/COLOR][COLOR=#000000][[/COLOR]username + [COLOR=#FF0000]"Idea"[/COLOR][COLOR=#000000]][/COLOR][COLOR=#000000][[/COLOR][COLOR=#000080]0[/COLOR][COLOR=#000000]][/COLOR] = newIdea;

[/LEFT]
[/FONT]

But, then it doesn’t update. Why? I’m not so sure, but probably because the array level is different (one is in the root, and one is in function), and I have tried using _parent, _global, and _root to access it, but anything with _ in it gives me not defined errors.

Does anyone have an idea what I could do. :yoshi: