The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.36 / 5.00 33,851 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.09 / 5.00 12,195 ViewsConnecting to the game with the ship and the score, I figured out how to collect and get a score, but i need to know how to make it to when you roll over the coin or whatever it is, it disappears. can anyone help?
At 12/21/09 07:49 PM, Cristo wrote: by the way i am using the mouse.
on (rollOver) {
this._alpha = 0;
} ...
on(rollover){
_visible = false
// or
_alpha = 0
// or
unloadMovie(this)
}
Don't use either of their methods. For one, it's a really bad habit to code on Buttons/MovieClips, and the "unloadMovie();" command is very flawed. Use the following code (put it on a frame).
It's also a bad idea to simply "hide" the coin. Removing it is best, especially if it can only be collected once.
myButton.onRollOver = function(){
this.removeMovieClip();
} sorry to burst your bubble and all. but it does not work.
At 12/22/09 10:47 AM, Cristo wrote: sorry to burst your bubble and all. but it does not work.
Sorry to burst YOUR bubble, but yes it does work.
Name the instance your your button: myButton.