heres the problem. i have two buttons, one is placed over the other. how do i click one without clicking the one below.
thanks.
btw: sorry the crappy english
Develop games in your browser. Powerful, performant & highly capable.
If you need them to overlap. you should hide one, while showing the other, and then switch them after pressing it.
thanks for the replay, but unfortunately the two buttons are clones, so i can?t put ?hide this objet? because it will hide both of them.
You can make it one button, and simply give it 2 frames of animation. One for the "Up" state and one for the "Down" state.
then use on pressed goto frame 2
on released goto frame 1
This is a bit overkill for the job, but shows how to use instance variables to ID your instances and use the UID to pick the one you want to manipulate.
InstanceToUIDMapping.capx
There are other ways of running a different overlapping? <img src="smileys/smiley1.gif" border="0" align="middle" />
i already fix the deal, but thanks a lot for all the help :D