本文介绍了FlashDevelop - 为什么代码完成不适用于mx.controls的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 今天是我第一次使用Flex和FlashDevelop。在我的ActionScript文件中,我有这一行。 pre $ import $ flash.display.SimpleButton; FlashDevelop意识到这一点,代码完成工作正常。 但是,当我有这条线。 import mx.controls.Button; 然后代码完成不起作用。 解决方案对于我来说,完全没有什么特别的工作。但也许你的项目的属性得到了borked。执行此操作: 打开项目属性 转到编译选项选项卡 在高级 - >内置库中添加以下 Library \AS3\frameworks\Flex3 Today's my first day with Flex and FlashDevelop. In my ActionScript file, I have this line.import flash.display.SimpleButton;FlashDevelop is aware about this and Code-completion works fine.But, when I have this line.import mx.controls.Button;Then code-completion doesn't work. 解决方案 Works perfectly well for me w/o doing anything special. But maybe your project's properties got borked. Do this:Open Project PropertiesGo to Compiler Options tabIn Advanced -> Intrinsic Libraries add the followingLibrary\AS3\frameworks\Flex3 这篇关于FlashDevelop - 为什么代码完成不适用于mx.controls的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
09-22 17:15