00:00
00:00
Newgrounds Background Image Theme

Someone gifted Ramen-Noodiles supporter status!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

help me 2006-07-28 00:05:03


it's been a while since i've done anythign using actionscript...

i forgot...what kind of code would you use to check to see if something exists and it returns a true/false answer...like...checking to see if a saved game exist. if it doesn't it would return -1 or somethign and if it did exist it would return a 1

i might be just talking nonsense...it's been a whle for me...and i'm not quite sure anymore if i know what i'm talking about.

Response to help me 2006-07-28 00:10:58


You just check like, for save and load..


if(savegame.data.variable){
return true;
}

Simple..

Response to help me 2006-07-28 00:13:54


thanks...i feel like an idiot now...haha..no offensive..i needed that though...so thank you very much