gotoFrame actions within sprites?
BurningSnowman <[email protected]> Sun, 5 Oct 2003 17:27:50 +0100
| Newsgroups | gmane.comp.web.ming.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'm a bit of a n00b with all this, but I'm trying to write a little game using Ming, and I'm a bit stuck. Basically, I want an object to appear to disappear when another object hits it. More specifically, I want the bricks to disappear when the moving ball hits them. Yep, it's one of those. I already have the ball rebounding off the bricks nicely (and the score increasing) but I can't figure out how to make th brick appear to vanish. I've already stopped it adding to the score or making the ball bounce more than once, so it's just a question of what's visible. I've tried turning it into a sprite with two frames, but I can't work out how to use actionscript to go to a frame within a sprite. Or is that completely the wrong way to go about it anyway? Any help greatly appreciated. BS