Reflex
03-28-2003, 02:54 AM
When testing for a numerical equality you use this:
if (_root.iamaclip.iamavariable == 4) {
_root.iamanotherclip._visible = false;
}
But what about letters ?. Should this work in the same way:
if (_root.iamaclip.iamavariable == hello) {
_root.iamanotherclip._visible = false;
}
or should it be this:
if (_root.iamaclip.iamavariable == "hello") {
_root.iamanotherclip._visible = false;
}
or something else all together ?.
Thanks,
Stephen.
if (_root.iamaclip.iamavariable == 4) {
_root.iamanotherclip._visible = false;
}
But what about letters ?. Should this work in the same way:
if (_root.iamaclip.iamavariable == hello) {
_root.iamanotherclip._visible = false;
}
or should it be this:
if (_root.iamaclip.iamavariable == "hello") {
_root.iamanotherclip._visible = false;
}
or something else all together ?.
Thanks,
Stephen.