Actionscript tip: Indent large blocks of code
Much of my scripting work these days takes place outside of the Flash Actions panel, but occasionally I’ll be working inside the actions panel and want format some of my code to make it more readable. I don’t like hitting the auto-format button because it gets rid of the line breaks (thus making it less readable).
So when I have to indent several lines of code, I select all the lines I want to indent and hit the TAB key. You can also decrease the indent by hitting SHIFT + TAB. This also works in external editors like SE|PY. It’s a little bit slower than auto-format, but it’s a lot faster than clicking and tabbing each line individually.











