_global.var[i] versus _global.var

Hello!

I simply can’t understand this… :hair:


//works perfectly
_global.src = film.attributes.src;
trace(_global.src);

//returns undefined
_global.src* = film.attributes.src;
trace(_global.src*);

This is inside a function + a for-loop, so I really need the _global-stuff together with an array…

Thanks for any input!
Robin