micheal
12-05-2001, 09:05 AM
I am very new to Flash and am having trouble understanding Library items and movie clip instances.
What I have done is created 4 different movie clips that represent 4 different checkboxes (and they work!!). I am using them all on a frame to act as a way for the user to answer one of 4 questions. I have set a seperate variable within each checkbox that will tell me at the end of the quiz which button they pressed.
The above all works fine on this frame, however I have lots of other questions that need to be answered that are on different frames so I though that I could drag an instance of the checkbox movieclips from the library and then edit the variable name (i.e change it to qu2) so that the same checkboxes could be used time and again with slight editing (isn't this the OO philosophy??).
The problem that occurs is when I edit the variable name it changes it for every instance of the checkbox throughout the movie!!! - which is pretty much useless.
Does anyone know what I am doing wrong??
What I have done is created 4 different movie clips that represent 4 different checkboxes (and they work!!). I am using them all on a frame to act as a way for the user to answer one of 4 questions. I have set a seperate variable within each checkbox that will tell me at the end of the quiz which button they pressed.
The above all works fine on this frame, however I have lots of other questions that need to be answered that are on different frames so I though that I could drag an instance of the checkbox movieclips from the library and then edit the variable name (i.e change it to qu2) so that the same checkboxes could be used time and again with slight editing (isn't this the OO philosophy??).
The problem that occurs is when I edit the variable name it changes it for every instance of the checkbox throughout the movie!!! - which is pretty much useless.
Does anyone know what I am doing wrong??