point burst. An mc that appears in games when you click and +100 appears
Maybe the title is not self explanatory but in most iphone games eg you click the correct example and you see a +100 points mc appear and rise and alpha out. I did this with a png done in photoshop BUT not all goes well - it doesn't work.
public class ClickMain extends Sprite
{
private var pb100:Pb100 = new Pb100();
private function addPoints ():void
{
this.pointsI = this.pointsI + 10;
this.score.score_txt.text = String(this.pointsI);
pb100.x = currentBubble.x;
pb100.y = currentBubble.y;
trace(currentBubble.x);
addChild(pb100);
}
It seens perfct but I can't see it work. The funny thing is that the custom currentBubble - with a dot after you see the code hints but a dot after pb100 - you see no code hints. Well not normal.