thread: Geek Humour
View Single Post
  #2  
08-31-2009, 11:08 AM
joshkrz's Avatar
joshkrz
Outlaw Cutter
 
: May 2009
: UK | West Yorkshire | Leeds
: 1,062
Blog Entries: 6
Rep Power: 17
joshkrz  (572)joshkrz  (572)joshkrz  (572)joshkrz  (572)joshkrz  (572)joshkrz  (572)

onClipEvent(enterTeenageYears){
stress = true;
money = false;

if (stress == true){
if (money == true){
_life.smoking.gotoAndPlay(Cigarettes);}
else{
_life.smoking.gotoAndPlay(Roll-ups) || _life.smoking.stop();
}
else
{
_life.smoking.stop() || _life.smoking.gotoAndPlay(less);
}
}

That's my way with smoking, in ActionScript 2.
Reply With Quote