开发者

flash editor slows down more code I write

I have flash cs4 and when I am typing code in the editor. It appears that the more code I add to my .as document, the more sluggish it gets. When typing, it appears to be a delay for when my text actually appears on screen. does anyone know what this could be.

My com开发者_运维百科puter is not even a year old.


The best advice I could offer would be to move away from using CS4 ide for coding. Take a look at FlashDevelop. It is a free, small download. It will allow you to organize your code better, provide code hinting and much more. You will never look back.

EDIT: There is also FDT which I think is the best but it cost $$$


My guess is that it is simply a badly implemented editor.


(In response to Allan's answer) You can also use FlashDevelop as an external editor only, and still use Flash CS4 to publish and run it all. That way you would gain the benefit of a speedy ActionScript editor, and not lose your existing setup.

But maybe it would be a good idea to try and make your scripts a little smaller? Separate them into smaller classes...


It is a known issue in the original Flash CS4 shipment. Adobe has release the update to fix the issue in their official site.

As Allan stated, FlashDevelop can save your time alot by using its code-completion feature. The time you can save is probably more than if you can write code in the original AS editor with no lag.

In response for numerical25: I'm not sure if these can help, never tried though, but it might worth to try.

  • Go to property window, edit profile > actionscript settings > uncheck the "Automatically declare stage instances". Basically it tell the compiler to not give your controller instance a name automatically during compile-time. But you need to declare a name manually in your class

  • or you might want to try using [embed] tag :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜