Fixing code hinting in Flash CS5
Some time ago code hinting in Flash just stopped working for me. Pretty anoying if you get used to that feature and you are working on a large project with many classes. In AS code editor, in right bottom corner, I noticed small triangle with an exclamation mark. Hovered it displayed tooltip: “Unable to build code hint cache. Please save the associated FLA into a different folder. There are too many files on the classpath.”
The error is self explanatory, however changing setting required a bit of googling. :)
Windows:
- Open Regedit and navigate to: HKEY_CURRENT_USER > Software > Adobe > Flash 11 > Settings
- Right+click and choose: ‘New… > DWORD Value’
- Rename the key: Project File Cap
- Select the key and choose: ‘Modify’
- Edit the value (I’ve put: 5000)
- Click OK and restart Flash
Mac:
- Open /Users/
/Library/Preferences/Flash CS5 Preferences in Text Edit - Under the
section add the following: 5000 - Save the file and restart Flash
If you wish to reset your code-hint cache, do this:
- Quit Flash.
- Delete the following folder:
Win Vista/Win7: “C:\Users\{username}\AppData\Local\Adobe\Flash CS5\language\Configuration\CodeModel”
Win XP: “C:\Documents and Settings\{username}\Local Settings\Application Data\Adobe\Flash CS5\language\Configuration\CodeModel”
Mac: “/Users/{username}/Library/Application Support/Adobe/Flash CS5/language/Configuration/CodeModel”
4 thoughts on “Fixing code hinting in Flash CS5”
December 27, 2010 at 12:47
Didnt work! I still have the same problem!
Any suggestions?!
January 4, 2011 at 13:58
huh, how many files do you have in your classpath? try increasing value to higher than 5000, and don’t forget to restart Flash.
August 29, 2011 at 01:20
Worked like a charm. Thanx
February 3, 2012 at 17:08
Worked perfect, thanx!!!