1 Reply Latest reply on Oct 16, 2006 6:59 AM by Nickels55

    lines of code

    arcticsunshine
      Hi guys, i need your help! i am suppose to comment a good couple of lines of code. I was hoping you kids could help me OR could anyone tell me which site i can go to to figure this out.
      It's for a puzzle. Help me please!! PLEASE...
      _root.edges._visible = false;
      _root.pattern._visible = false;
      _root.image._visible = false;
      _root.piecenumbers._visible = false;
      _root.scramblebutton._visible = false;
      _root.areYouSure._visible = false;
      _root.congrats._visible = false;
      dialog = true;
        • 1. Re: lines of code
          Nickels55 Level 2
          If you mean what I think you mean then this is what you do to put comments in AS that do not run with the code:
          _root.edges._visible = false; //Hides the root edges
          _root.pattern._visible = false; //Pattern is invisible
          _root.image._visible = false; //Makes Image invisible
          ....

          So use "//" to make a comment. It is like <!-- --> in html.