I am using MovieClips for buttons , I am putting on normal bitmap to the first frame and I am putting the TouchesBegin's bitmap to the second frame. I just change the frame of the MovieClip when user clicks to the button. But i am not sure this way is better than removing and readding bitmap from stage. Which one is better?
Mert
Comments
Well, I usually use Button class, which adds/removes sprites. And since it's just a click, I don't really think it will be an issue, unless you have hundreds of buttons which needs to be clicked as fast as possible, and even then I don't know if there will be much of a difference in performance (since I assume MovieClip does the same only on lower level).
So basically it's a matter of taste how you like to handle it
Likes: ar2rsawseen
#MakeABetterGame! "Never give up, Never NEVER give up!" - Winston Churchill
#MakeABetterGame! "Never give up, Never NEVER give up!" - Winston Churchill
#MakeABetterGame! "Never give up, Never NEVER give up!" - Winston Churchill