This is my first post.
if (condition) {
trace("called");
p[1].visible = false;
j[1].visible = false;
}
With the code above "called" was printed in console but the both objects (buttons) still visible. Then when I try to put the set visibility (p[1].visible = false;
and j[1].visible = false;
) out from condition, it's work well.
How can I do set visibility with some condition?
Aucun commentaire:
Enregistrer un commentaire