hello everyone,
i’m at the very first try with AS3 and Flash and seriously need help.
What i’m trying to do is creating an array of objects, little squares that are positioned in a grid with coordinates and when i click on the coordinates i need to select only the elements which fit with the value.
So, what i’m trying to do now is to pass a value to each element of the array
but it doesn’t work:
var quiqua:Array = [rosa, blu, viola, giallo];
//these are instances of the same object and are on the stage
var saturaz = uint;
quiqua[0].saturaz:40;
quiqua[1].saturaz:50;
quiqua[2].saturaz:20;
quiqua[3].saturaz:20;
Flash returns this: "1078: Label must be a simple identifier.