Groups | Blog | Home
all groups > macromedia mobile and devices flashlite > january 2005 >

macromedia mobile and devices flashlite : Checking values


Topi77
1/24/2005 7:24:40 PM
Hi,

this example works fine in Mx but not in FlasLite 1.1. Why?

on (release, keyPress "7") {
_root.name = "mike";
if (_root.name == "not") {
trace("no");
}
else {
trace("yes");
}
}

This return always trace("no"); . I don't get it? Can anyone help me or have
same problem?

-T-
byte_sm
1/24/2005 8:16:19 PM

i seem you can't use release event...
and the comparison between string is <name eq "not">, not <name=="not">
try!

Topi77
1/25/2005 8:04:35 AM
Hi,

this : <name eq "not"> works fine, thanks ;)

AddThis Social Bookmark Button