Hi all,
I want to asign variables to my objects based on the order in which they are created. I have tried using their z-index and have written the code shown below but it's not working. I have created the text boxes to test it and at the moment the orangeshape always comes up as shape2. I don't know why this is happening.
<img src="https://dl.dropbox.com/u/101200636/code-screenshot.jpg" border="0" />
The "orangeshape" is a member of the "mainshapes" family. I have set a boolean family instance variable of 'shape1' and shape2' to false to begin with. Please can anyone tell me where I am going wrong?
Thank you for reading this and for any help you can give.