Flash DailyNotes on ActionScript, Adobe AIR and Animate

Tutorials5 min read

Five timeline habits that keep Animate files tidy

A timeline is a shared workspace, even when you are the only person using it. These habits make a file readable six months later.

1. Name every layer

"Layer 14" tells nobody anything. Name layers after what they hold: hero-body, shadow, hit-area.

2. Group with folders

Put related layers in a folder and collapse it. A character with twelve layers becomes one line you can lock, hide or move as a unit.

3. Use frame labels, not frame numbers

Scripts that say gotoAndPlay("walk") survive edits. Scripts that say gotoAndPlay(47) break the first time someone inserts a frame.

4. Set registration points on purpose

Decide where a symbol rotates and scales from before you animate it. A door should pivot at the hinge, a wheel at its centre.

5. Keep code in one place

Scatter frame scripts across a hundred keyframes and nobody can find the bug. Prefer a single code layer, or better, a document class that owns the behaviour while the timeline owns only the drawing.

Bonus: save a short "read me" text layer on the first frame with the file's purpose, frame rate and the date of the last major change.

More in Tutorials