解决FLASHCS5代码提示无效的方法_…

1. 关于代码提示的快捷键,默认是Ctrl+Spacebar,但是在大部分中文用户的机器上,这是切换输入法的快捷键,这会导致代码提示的快捷键不起作用,所以建议在Edit->Keyboard shortcut中,为代码提示指定另外一个快捷键,例如Ctrl+Alt+Spacebar。

2. 试一试把你的fla文件拷贝到一个空文件夹中再重启Flash看看,因为如果你的fla文件所在目录有太多文件,比如在桌面上或是我的文档中,代码提示的cache可能会创建失败。

3. 如果你在动作面板右下角看到了一个警告的图标,说明Flash在你的项目classpath找到太多的文件了,有可能也会导致对你的自定义类的代码提示失效。建议在ActionScript设置中,classpath指定到具体的文件夹路径,最好不要是一个包含太多子路径的高层文件夹。

4. 试着重设一下你的代码提示cache。 先退出Flash,然后删除以下文件夹:

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

我用的是FLASH CS5.5 绿色版,对于我以上4种方法都不适用,我用第5种方法解决了问题

1、进入注册表,找到 HKEY_CURRENT_USER > Software > Adobe > Flash 11 > Settings选项
2、如果找到 Project File Cap选项直接修改,如果没有就新建
3、修改 Project File Cap选项中的16进制或10进制的值为1000,我只是将16进制的值改为1000
4、确定并重启FLASH,这样代码提示就出来了

原文:
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.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值