Flex3 Flex接口方法createAutomationIDPartWithRequiredProperties错误
我目前正在创建一个扩展Flex3中UIComponent的类,但是当flash builder尝试编译时,会显示一些错误 1044:接口方法CreateAutomationDPartWithRequiredProperties位于命名空间mx中。自动化:IAutomationObject未由类组件实现:ArtWorkImage 1044:接口方法在命名空间mx中获得automationEnabled。automation:IAutomationObject未由类com.seniol.display:TransformTool实现 我看到UIComponent实现了这个接口,但是我以前从来没有遇到过这个错误,我假设UIComponent应该在默认情况下实现这个接口,所以它应该是其他的东西,我已经尝试重新创建项目或清理它,但没有结果,有人能告诉我如何解决这个问题吗,谢谢你的帮助Flex3 Flex接口方法createAutomationIDPartWithRequiredProperties错误,flex3,flexbuilder,flash-builder,Flex3,Flexbuilder,Flash Builder,我目前正在创建一个扩展Flex3中UIComponent的类,但是当flash builder尝试编译时,会显示一些错误 1044:接口方法CreateAutomationDPartWithRequiredProperties位于命名空间mx中。自动化:IAutomationObject未由类组件实现:ArtWorkImage 1044:接口方法在命名空间mx中获得automationEnabled。automation:IAutomationObject未由类com.seniol.displa
哦,顺便说一句,我以前在flex builder中有过这个项目,导出为FXP,导入到Flash builder中,谢谢 所有UI对象都使用自动化委托来处理自动化接口的实现。每个UIComponent都有一个在自动化框架中注册的特定自动化委托。当根据对象的类名创建对象时,自动化框架将这些自动化委托实现注入到对象中 例如:
- UIComponent
import mx.automation.* Automation.registerDelegateClass(com.foo.bar.ArtWorkImage, mx.automation.delelegates.core.UIComponentAutomationImpl);