开发者

No code highlights in fx:Script of flash builder 4.5

开发者 https://www.devze.com 2023-03-16 10:01 出处:网络
It seems all codes inside fx:Script blocks are blac开发者_高级运维k with no highlights. That\'s pretty inconvenient. Can anyone please let me know how to turn it on? Thanks!First check that the active

It seems all codes inside fx:Script blocks are blac开发者_高级运维k with no highlights. That's pretty inconvenient. Can anyone please let me know how to turn it on? Thanks!


First check that the active perspective is "Flash". Then Window->Preferences. On the left side of the window expand Flash Builder->Editors->Syntax Coloring. On the right side you can set the colors for ActionsScript, CSS and MXML.

If after tinkering around you cannot fix the problem try to delete the "Adobe Flash Builder 4.5" folder located in the user's folder.

Hope this helps


Problem solved. I was using two different namespaces in Application and Module. It's "adobe.com/2006/mxml"; in mx:Application and "library://ns.adobe.com/flex/mx" in mx:Module. After the namespace in mx:Application was made consistent with the one from mx:Module, all syntax are highlighted correctly.

0

精彩评论

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