6 Replies Latest reply on May 18, 2007 4:32 AM by Greg Dove

    actionscript shorthand?

    cre8ive1974 Level 1
      Is there a more efficient way of writing these? Since I am declaring all their values to 0 is there a way to write this more efficiently?

      _global.rbloption = 0;
      _global.yeloption = 0;
      _global.g35option = 0;
      _global.r53option = 0;
      _global.w08option = 0;



      the same for this as well....

      myMC1._visible = false;
      myMC2._visible = false;
      myMC3._visible = false;
      myMC4._visible = false;
      myMC5._visible = false;
      myMC6._visible = false;
      myMC7._visible = false;
      myMC8._visible = false;
      myMC9._visible = false;