It is a bit vague as a question. Posting your exact project capx can help.
Anyway here is an abstract answer.
If you need to set a random value in an array, just use the condition "For each element" of the array object and set array.curX and likely array.curY to int(random(VALUEMIN, VALUE MAX)) where VALUEMIN is the minimal and VALUEMAX the maximum value possible for an orb/frame.
If this considers recolors of the same orb as frames of the same animation, you only need to display the sprite and set its frame to the value in the array. As the values in the array have been randomized, creating a sprite instance for each column/row will give you a fully randomized grid.