{"id":1772,"date":"2010-12-10T13:16:18","date_gmt":"2010-12-10T12:16:18","guid":{"rendered":"http:\/\/www.nivas.hr\/blog\/?p=1772"},"modified":"2010-12-10T13:16:18","modified_gmt":"2010-12-10T12:16:18","slug":"fixing-code-hinting-in-flash-cs5","status":"publish","type":"post","link":"https:\/\/www.nivas.hr\/blog\/2010\/12\/10\/fixing-code-hinting-in-flash-cs5\/","title":{"rendered":"Fixing code hinting in Flash CS5"},"content":{"rendered":"<p>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: &#8220;Unable to build code hint cache. Please save the associated FLA into a different folder. There are too many files on the classpath.&#8221;<\/p>\n<p>The error is self explanatory, however changing setting required a bit of googling. :)<\/p>\n<p><strong>Windows:<\/strong><\/p>\n<ol>\n<li>Open Regedit and navigate to: HKEY_CURRENT_USER > Software > Adobe > Flash 11 > Settings<\/li>\n<li>Right+click and choose: \u2018New\u2026 > DWORD Value\u2019<\/li>\n<li>Rename the key: Project File Cap<\/li>\n<li>Select the key and choose: \u2018Modify\u2019<\/li>\n<li>Edit the value (I&#8217;ve put: 5000)<\/li>\n<li>Click OK and restart Flash<\/li>\n<\/ol>\n<p><strong>Mac:<\/strong><\/p>\n<ol>\n<li>Open \/Users\/<username>\/Library\/Preferences\/Flash CS5 Preferences in Text Edit<\/li>\n<li>Under the <settings> section add the following: <project_file_cap>5000<\/project_file_cap><\/li>\n<li>Save the file and restart Flash<\/li>\n<\/ol>\n<p>If you wish to reset your code-hint cache, do this:<\/p>\n<ol>\n<li>Quit Flash.<\/li>\n<li>Delete the following folder:\n<p>Win Vista\/Win7: &#8220;C:\\Users\\{username}\\AppData\\Local\\Adobe\\Flash CS5\\language\\Configuration\\CodeModel&#8221;<br \/>\nWin XP: &#8220;C:\\Documents and Settings\\{username}\\Local Settings\\Application Data\\Adobe\\Flash CS5\\language\\Configuration\\CodeModel&#8221;<br \/>\nMac: &#8220;\/Users\/{username}\/Library\/Application Support\/Adobe\/Flash CS5\/language\/Configuration\/CodeModel&#8221;\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>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: &#8220;Unable to build&#8230;<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/posts\/1772"}],"collection":[{"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/comments?post=1772"}],"version-history":[{"count":8,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/posts\/1772\/revisions"}],"predecessor-version":[{"id":1791,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/posts\/1772\/revisions\/1791"}],"wp:attachment":[{"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/media?parent=1772"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/categories?post=1772"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/tags?post=1772"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}