Hi again,
I've been hard at work on my Rubik's Cube program (capx here: dl.dropbox.com/u/64045180/Rubiks/rubiks.capx), and now that i've got the cube all constructed and rotating/flipping, i've run into another snag.
Basically, i'm trying to add color to the squares. Each cube square is a text box object. Right now, they're numbered for debugging purposes. I'd rather not just have the text say "Green" or "Red" or whatever, so i was thinking of using a sprite object.
The question i have is this: is there a way to search all the text boxes on the current layout for a value? I was thinking that i could perform that search, then somehow pin the colored sprite objects to text boxes containing certain numbers. For example, the number "1" would have a red sprite attached to it- and that sprite would position itself on top of whatever textbox had the "1" in it.
Anyone know of any way to do this? Also, am I thinking about this completely wrong? Is there an easier way to do it? I thought of using arrays, but i'm not sure how that would work exactly