This content has been marked as final. Show 3 replies
I've almost finished but for the first time after released, it is not going to its original position.
The main problem is on(release) event of the button in the second frame is not executed.
Things I've done are:
1. I removed the on(release) event of the button in the first frame completely as it is not necessary.
2. I named the button in the first frame as 'first_btn' and attached the following code in the first frame of the pipette3's timeline.
3. I copied the first_btn and pasted in the next frame and made its _alpha to zero (This is because to execute its on(release)
4. I commented these two lines in the on(press) event of the button in the second frame.
this.ox = this._x;
this.oy = this._y;
Actually, I don't know how to upload a file to the site. So, I elaborated. Make sense?
Hmm you've kinda lost me there MurMeeKeer.
I understand up to point 2, but am wondering why you're setting the 2nd "first_btn" to alpha=0
To upload to this forum do you have any webspace available? If so, upload your file to there and then you can then post a link to it from here.
I made first_btn._alpha to zero in the second frame because we don't need the first button to visible there and at the same time we want its on(release) event.
sorry....I don't have any webspace available.