randomNumber == timeline label
Hello everybody,
I'm having an other question.
I have a movieclip with a slotmachine roll changing it's dice dots. http://delah.nl/diceSlotMachineTest.swf
I labeled some keyframes with the amount of dots on it. When pressing start there is a random number created and after 2 seconds playing it has to stop on the label which is equal to the random number.
I hope there is a very simple line of code to fix that last part. Something like:
function stopRoll(event:TimerEvent):void{
if (randomNumber == roll_mc./*label?*/){
roll_mc.stop();
}
How can I make this happen?
Thanks in advance