The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.39 / 5.00 38,635 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.09 / 5.00 15,161 ViewsSo i made this test:
http://spamtheweb.com/ul/upload/051009/7 4121_AchievmentTest.php
what was supposed to happen is that when you press one button, an achievement thingy should pop up at the bottom left corner. When you press it quickly, the achievment thingys should appear on top of each other..
what happens is that when i press one button, the achievment text changes on all.. and when you press more than once quickly, the achievments ignore _y = 400 and appear at _y = 0...
var i:Number = 1;
var showingAc:Number = 0;
stop();
showAchievment = function (achievment) {
_root.attachMovie("AcMc",AcMc+_root.i,_root.i);
_root[AcMc+_root.i]._y = 400;
_root[AcMc+_root.i]._y -= 45*_root.showingAc;
_root[AcMc+_root.i].AcTxt = achievment;
_root.i++;
};
this.button.onPress = function() {
_root.showAchievment("Presser");
};
this.button2.onPress = function() {
_root.showAchievment("Presser2");
};
AcMc+_root.i should read "AcMc"+_root.i. The AcMc bit should be in quotation marks each time.
Doomsday-One, working on stuff better than preloaders. Marginally.