View Full Version : Checking a varaible if it's empty or set?
I know in PHP there is a function to see if a varaible is empty or is set ( empty() and isset() ) I was wondering if there was a simular function in Flash?
Thanks.
cancerinform
06-27-2005, 03:09 PM
null and undefined :)
Billystyx
06-27-2005, 03:17 PM
do you mean...
if(var1){
trace(var1);
}else{
trace("var 1=undefined");
}
basically, if you just want to check if it has a value yet, then the above will do it.
billystyx
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.