Flex绘图示例错误
我是 Flex 新手,我正在尝试运行以下路径中给出的 Flex 绘图应用程序示例的代码: http://www.flashcomguru.com/components/flex_whiteboard/whiteboard_demo/ srcview/index.html
但我在编译时收到以下错误:
“无法找到组件类“Whiteboard.Whiteboard”的指定基类“Whiteboard.WhiteboardManager”。”
请有人建议我为什么它即将到来,我该如何克服这个问题。我在该项目中使用 Flash 播放器版本 10 和 flex 3.0 sdk。 请帮忙。 提前致谢。
I am new to flex and i am trying to run the code for flex drawing application example given at following path:
http://www.flashcomguru.com/components/flex_whiteboard/whiteboard_demo/srcview/index.html
But I get the following error at the compile time:
''Unable to locate specified base class 'Whiteboard.WhiteboardManager' for component class 'Whiteboard.Whiteboard'.''
Please someone suggest me that why it is coming and how i can overcome this.I am using Flash player version 10 and flex 3.0 sdk for the project.
Please help.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您需要在项目中包含 WhiteBoard.swc 库。 如果您使用 Eclipse/Flex Builder,请转到项目属性 -> Flex 构建路径 -> 库路径-> 添加swc。 或者将其移动到 libs 文件夹应该就足够了。
该演示中不包含该组件的源代码,因为它不是免费组件。 我也没有看到演示版本,因此除非您购买它,否则您可能无法在本地运行这些源。
You need to include the WhiteBoard.swc library in your project. If you're using Eclipse/Flex Builder go to project properties -> flex build path -> library path -> add swc. Or moving it to the libs folder should be enough.
The sources for the component are not included in that demo as it is not a free component. I didn't see a demo version either, so unless you buy it, you probably won't be able to run those sources locally.
在我看来,您的源路径设置不正确。 阅读本文,了解如何设置源路径
http://www.cove。 org/ape/quickstart_fb.htm
Sounds to me like your source paths aren't set up correctly. Have a read of this article to see how source paths are set up
http://www.cove.org/ape/quickstart_fb.htm