在 Flex Builder 中为多个应用程序使用 1 个 html 模板的巧妙方法?

发布于 2024-08-18 15:31:41 字数 234 浏览 3 评论 0原文

Flex Builder 的 html 模板部分目前仅限于 1 个模板。当您只有 1 个应用程序时,这种方法效果很好,但我在一个项目中有多个应用程序,每个应用程序都采用不同的 flashParams。

我想知道是否有人想到了一种巧妙的方法,使用 1 个模板供多个应用程序使用。到目前为止,我唯一能想到的就是将每个应用程序的嵌入代码放置在 html 模板中,并默认隐藏它,并启用链接。

还有其他想法吗?

谢谢

The html-template portion of Flex Builder is currently only limited to 1 template. This works fine when you only have 1 application, but I have several applications in one project, each of which takes different flashParams.

I was wondering if anyone thought of a clever way of using 1 template to be used by multiple apps. So far, the only thing I can think of is to just place the embed code for each app in the html-template, and have it hidden by default, with links to enable.

Any other ideas?

Thanks

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

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

发布评论

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

评论(1

只想待在家 2024-08-25 15:31:41

我最终只是做了我在原来的帖子中提到的事情。我只是将每个应用程序的嵌入代码放置在 html 模板中,并将它们全部设置为默认隐藏。为了启用它,我只需在每个应用程序的页面标题处添加 JavaScript 链接即可。

I ended up just doing what I mentioned in my original post. I simply placed embed code for each app in the html-template, and set them all to hidden by default. To enable one, I simply have javascript links at the header of the page for each app.

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