Flash Professional CS5的代码提示不显示的终极解决办法
来源:互联网 发布:单片机的作用是什么 编辑:程序博客网 时间:2024/05/16 11:34
Flash CS5终于加入了对自定义类的代码提示,这是一个大好事,但是最近笔者被一个新问题所困扰,因为在项目中用到了papervision3d、stardust、等一堆的东东,杯具就此产生了~代码提示出不来了,右下角一个黄色的警告标志,说是在classpath下找到太多文件,所以不能显示代码提示了,后来google了半天,也不得而果,最后用英文终于搜到这么个有用的,大概意思就是Flash默认支持的自定义类的条数是800个,可以通过修改注册表来更改这个值。
经测试问题成功解决,特来分享下:
原文地址:http://blog.theflashblog.com/?p=2002
Increasing The Code Hint Cache Size In Flash CS5
Update: my instructions for Mac got truncated but it is fixed now. Thanks to Kevin Suttle for pointing it out.
You may have read my earlier post about needing to not have too many files in your ActionScript source path in Flash CS5. After a certain number of files is reached, Flash will basically abort. This is to prevent Flash from indexing your entire hard drive if you happen to save your file in the top level of your disk (i.e c:/). Now the limit is actually 800 files by default, but as hardcore Flashers know, sometimes your global AS directory can be much larger. Well luckily there is a way to change this limit.
WARNING: do not change this if you are uncomfortable with editing your registry. Also do not change this and then complain that Flash is running slow when you save your FLA into your root directory of your hard drive.
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 as either hex or decimal: 1000
- Click OK and restart Flash
Mac:
- Open /Users/<username>/Library/Preferences/Flash CS5 Preferences in Text Edit
- Under the <settings> section add the following: <project_file_cap>1000</project_file_cap>
- Save the file and restart Flash
What should you set it at? Well if you are good about saving your FLA files into their own folders, then it doesn’t really matter. I would try 5000 and see if that works. You can always change it back. Adobe is working on an official TechNote about this too.
- Flash Professional CS5的代码提示不显示的终极解决办法
- 在很多论坛上看到了有人抱怨Flash CS5中,代码提示(Code hint)有时不显示的问题,这个问题可能有很多原因,我整理了几个解决办法,有可能可以帮助到你~
- 创建您的第一个 Flash Professional CS5 文档
- flash cs5 书写代码的好习惯
- Flash Professional / 处理 Flash 文档 XFL(XML格式描述的CS5 FLA)
- 远程桌面时提示凭证不工作问题的终极解决办法
- 远程桌面时提示凭证不工作问题的终极解决办法
- Xcode方法提示不显示的解决办法
- ubuntu pdf乱码+不显示中文的终极解决办法
- 对flash cs5的展望
- Flash cs5 新增的功能
- MyEclipse 代码提示不显示的修复
- Eclipse 代码提示不显示的问题
- eclipse不显示代码提示的解决方案
- eclipse不显示代码提示的解决方案
- eclipse不显示代码提示的解决方案
- 创建第一个Flash Professional CS5程序
- Flash Professional CS5.5 新特性
- 设计模式之于C++
- android中事件的处理以及应该注意的问题
- CSS选择器
- 成员函数的指针(C++)
- 解决开机后无法上网
- Flash Professional CS5的代码提示不显示的终极解决办法
- J2EE的部分jar的作用
- 7-ZIP 命令行
- C++中的const关键字
- HDU 1081 To The Max
- DataTable中的Select()方法以及对DataTable的探索与发现
- apache ftp server配置
- XML教程
- HDFS的缺点及改进策略