Yahoo Astra flash 组件错误 BaseScrollPane 未找到

发布于 2024-08-16 22:33:30 字数 357 浏览 7 评论 0原文

我正在尝试使用 Yahoo 的 Astra 库,但收到一条错误消息,指出未找到基类 BaseScrollPane。它似乎是从 fl.containers.BaseScrollPane 导入的,这让我相信它应该是基本 flash 10 库的一部分,因此应该可用,但它似乎丢失了。这是来自某个地方的单独包的一部分吗?

更新:无论如何,我在硬盘上的 Configuration/Component Source 文件夹中找到了实际的类文件,但将其添加到类路径(以及 Components 目录)中并没有什么好处。我最终通过将滚动窗格组件从“组件”窗口拖到舞台上然后将其删除来解决了该问题,但我不确定该操作到底改变了什么使其起作用,并且想知道以供将来参考。

I'm trying to use the Astra library from Yahoo but I'm getting an error saying the base class BaseScrollPane is not found. It appears to be imported from fl.containers.BaseScrollPane, which leads me to believe it should be a part of the base flash 10 library and therefore should be available, but it appears to be missing. Is this part of a separate package from somewhere?

Update: For what it's worth, I found the actual class files in the Configuration/Component Source folder on my hard drive, but adding that to the class path (as well as the Components directory) did no good. I ended up fixing the issue by dragging a scroll pane component to the stage from the Components window and then deleting it, but I'm not sure what exactly that action changed that made it work, and would like to know for future reference.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

叹梦 2024-08-23 22:33:30

“佛罗里达州”。软件包不是 Flash Player 的一部分。

因此,为了使用依赖于它们的组件,您需要确保所需的类已编译到您的 swf 中。

拖动 ScrollPane 是有效的,因为它将您需要的相同类一起带入您的 FLA 库中。

The "fl." packages are not part of the Flash Player.

So in order to use components that depend on them, you need to ensure that the required classes are compiled into your swf.

Dragging the ScrollPane worked because it brought along with it into your FLA's library the same classes that you needed.

泅人 2024-08-23 22:33:30

如果您使用的是 Astra 组件之一,则需要将其拖到库中(或拖到舞台上,如果您更愿意使用 ActionScript 创建它,则将其删除)。这些类被预编译成符号(就像其他 fl.* 组件一样,如 Button 或 List),并且外观也是库中必须存在的符号(除非您使用适当的 setStyle() 手动更改所有外观样式)来电)。

If you're using one of the Astra components you'll need to drag it into your library (or on stage, and then delete it if you'd rather created it with ActionScript). The classes are pre-compiled into a symbol (just like the other fl.* components, like Button or List) and the skins are also symbols that must be in the library (unless you manually change all skin styles using the appropriate setStyle() calls).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文