Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(var i:int=0;i<totalLevels;i++)
- {
- if(i<LevelsCompleted.levels || i==0)
- {
- button[i].updateActiveButtonColors([0xff666666,0xff666666]);
- button[1].updateInactiveButtonColors([0xff0000ff, 0xff0000ff]);
- }
- else
- {
- button[i].updateActiveButtonColors([0xff666666, 0xff666666]);
- button[i].updateInactiveButtonColors([0xff666666, 0xff666666]);
- }
- }
Add Comment
Please, Sign In to add comment