Skip navigation
Currently Being Moderated

Stop autoformat for particular code

Mar 25, 2012 6:56 AM

Here is an array:

var grid:Array = new Array(1,1,1,0,1,1,

                                            1,0,0,1,0,1,

                                            1,1,1,1,1,0,

                                            1,0,1,0,0,0);

 

You can already see the problem. I doubt it, but is there a way to stop this being autoformatted into 1 line? I don't want to turn it off completelly though!

 
Replies
  • kglad
    72,220 posts
    Jul 21, 2002
    Currently Being Moderated
    Mar 25, 2012 7:36 AM   in reply to prodigalmaster

    you should only use autoformat on small sections of code.  so copy the section you want to autoformat, paste into another fla, autoformat then, after checking carefully that your code is ok, paste over the selected code.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points