使用 [frame] 元数据标签的 AS3 Mobile 预加载器:如何?
我正在尝试基于 [frame] 元数据/编译器标签创建一个 AS3 纯预加载器, 与 Glutnix 具有完全相同的问题发布在此处。我还在开发一个 AS3 移动 项目。
我不想在该主题中重新提出相同的问题,因为那里发布的解决方案对我不起作用。所以我想我会再问一次,更具体地针对我自己的情况。
所以我遇到了相同的编译器错误:
1046:类型未找到或不是编译时常量:[spark.skins] :: IHighlightBitmapCaptureClient。
此外,35个CSS选择器警告,例如以下内容:
无法解析 CSS 选择器“ActionBar”中的命名空间限定类型“ActionBar”
我已经尝试了前面提到的 stackoverflow 帖子中发布的解决方案,即包括4.5 SDK 中的 /libs 和 /locale 文件夹,但这导致了一批新的(更大的)错误:
无法解析语言环境“en_US”的资源包“集合”。
以下资源包出现同样的错误:
组件、核心、效果、布局、皮肤、样式。
另外,还有 210 个(!)类似警告:
无法解析 CSS 选择器“ActionBar”中的命名空间限定类型“ActionBar”
实际上,关于这个问题,我有两个问题:
1)这里到底发生了什么?我是否强制引用 4.5 SDK,以便它无法找到某些内容或其他内容?
2)有人有同样的问题吗?如果是这样,您是如何解决或解决这个问题的?您没有使用[frame]预加载器而是使用另一种预加载方式吗?
感谢您对这个问题的贡献!
Michael
我使用的是 Mac OSX Snow Leopard,运行 FB 4.5 标准(非 php 版本)
I'm trying to create an AS3 pure preloader based on the [frame] metadata/compiler tag,
having exactly the same problem as Glutnix has posted here. I'm also working on an AS3 Mobile Project.
I didn't want to re-ask the same question in that topic, since the solution posted there did not work for me. So i thought i'd ask it again, more specific to my own situation.
So i'm running into the same compiler error:
1046: Type was not found or was not a compile-time constant:[spark.skins]::IHighlightBitmapCaptureClient.
Also, 35 CSS-selector warnings like the following:
Cannot resolve namespace qualified type 'ActionBar' in CSS selector 'ActionBar'
I've tried the solution posted in the earlier-mentioned stackoverflow post, namely including the /libs and /locale folder from the 4.5 SDK, but that resulted in a new (larger) batch of errors:
Unable to resolve resource bundle "collections" for locale "en_US".
and the same errors for the following resource bundles:
components, core, effects, layouts, skins, styles.
Also, 210 (!) warnings of the like:
Cannot resolve namespace qualified type 'ActionBar' in CSS selector 'ActionBar'
I have 2 questions, actually, about this problem:
1) what is actually going on here? am i force-referencing the 4.5 SDK so that it cannot find certain stuff or something?
2) Does anyone have the same problem? and if so, how did you solve- or work-around this? have you not used the [frame] preloader but another way of preloading?
Thanks for any contributions to this problem!
Michael
I'm on Mac OSX Snow Leopard, running FB 4.5 standard (non php-edition)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,看来我不久前问过这个问题,忘了添加答案:
我不记得为什么我想要一个移动应用程序的预加载器,因为他们不需要预加载器,因为该应用程序当然是在移动设备上设备(已下载并安装)。
所以答案是:不需要
Okay, it seems i asked this question a while ago and forgot to add the answer:
I don't remember why i wanted a preloader for a mobile app to begin with because they don't need preloaders as the app is ofcourse on the mobile device (downloaded & installed).
so the answer is: It's not needed