This content has been marked as final. Show 3 replies
Will setting the "enabled" property to false do what you want?
question_mc.enabled = false;
I know this disables the "button-like" features of the movieclip but I'm not sure that it will disable the hittest feature.
Never mind, just tried it and it doesn't work. I think your best bet would be to move them off the visible stage until they are needed.
question_mc._visible = false;
question_mc._x = -1000; // Moves it off the stage.
Then when you want them to be active, place them back onto the stage:
question_mc._visible = true;
question_mc._x = 50;
You don't have to set the _visible property to false, I just do that so there is not a chance that the movieclip gets rendered onto the screen for a split second before it gets moved off. It avoids any chance of the information just flashing on the screen.
Thanks for the reply Tim
No this didn't work
It would only allow me to disable 'the answers being dragged'
Not the 'questions not to be hittest=true'
I think I'll just use an extra counter with an if statement