如何将多个资源加载到resourceModuleURLs

发布于 2024-12-10 19:03:24 字数 980 浏览 0 评论 0原文

我使用Flex3.0(SDK 3.2)。

我有一个问题 Flex(resourceModuleURLs)。

我现在正在 HTML 包装器中使用 flashVars 属性加载资源,如下所示。

AC_FL_RunContent(
    "src", "ResourceModuleApp",
    "flashVars", "resourceModuleURLs=es_ES_ResourceModule.swf&localeChain=es_ES",
    "width", "500",
    "height", "500",
    "align", "middle",
    "id", "ResourceModuleApp",
    "name", "ResourceModuleApp",
    "allowScriptAccess","sameDomain",
    "type", "application/x-shockwave-flash",
    "pluginspage", "http://www.adobe.com/go/getflashplayer"
);

※参考 http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7f3c.html

虽然现在只有es_ES_ResourceModule.swf,但我想指定两个,es_ES_ResourceModule.swf和es_ES_ResourceModule2.swf。

请告诉我应该怎么写。


谢谢你!

我尝试“将其设置为运行时共享库​​”。 然而,这个案子并没有能够侦破。

为什么「设置为运行时共享库​​」是必要的呢?

I use Flex3.0(SDK 3.2).

I have a question Flex(resourceModuleURLs).

I am making loading of the resource using flashVars properties in the HTML wrapper as follows now.

AC_FL_RunContent(
    "src", "ResourceModuleApp",
    "flashVars", "resourceModuleURLs=es_ES_ResourceModule.swf&localeChain=es_ES",
    "width", "500",
    "height", "500",
    "align", "middle",
    "id", "ResourceModuleApp",
    "name", "ResourceModuleApp",
    "allowScriptAccess","sameDomain",
    "type", "application/x-shockwave-flash",
    "pluginspage", "http://www.adobe.com/go/getflashplayer"
);

※Reference
http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7f3c.html

Although it is only es_ES_ResourceModule.swf now, I would like to specify two, es_ES_ResourceModule.swf and es_ES_ResourceModule2.swf.

Please let me know how it should write.


Thank you!

I try 「set it as a runtime shared library」.
However, this case was not able to be solved.

Why 「set it as a runtime shared library」Is it necessary to do?

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

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

发布评论

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

评论(1

原来是傀儡 2024-12-17 19:03:24

首先,您应该尝试使用 SWFObject 而不是原始的 Flex3 包装器(这已在Flex 4 使用 swfobject)。

从这里,您一次只能加载一个资源模块。我不明白为什么你需要不止一个,因为它们是特定于语言的。如果你想在其中加载其他东西,你需要将其设置为需要加载的运行时共享库​​。

First, you should try to use SWFObject and not the original Flex3 wrapper (this has been fixed in Flex 4 to use swfobject).

From here, you can only load one resource module at a time. I don't see why you would ever need to have more than one as they are language specific. If you want to load something else in there, you need to set it as a runtime shared library that needs to be loaded.

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