CS4 – Enabling warnings for missing type delarations

Turns out it’s the same procedure as doing it for CS3:

  1. With notepad, edit C:\Program Files\Adobe\Adobe Flash CS4\en\Configuration\ActionScript 3.0\EnabledWarnings.xml
  2. Search for the line:     <warning id=”1008″ enabled=”false” label=”kWarning_NoTypeDecl”>Missing type declaration.</warning>
  3. Change “false” to “true”. 
  4. Save the file and restart Flash