在 Flash 中跟踪用户历史记录的最佳(最简单)方法或框架

发布于 2024-09-10 00:34:25 字数 132 浏览 4 评论 0原文

我使用过 SWFAddress,但它似乎充满了怪癖,并且并未在所有浏览器中完全实现。 我不一定需要深层链接,而我只需要在用户浏览 Flash 应用程序时跟踪用户历史记录(用户停留在应用程序中)。

有什么建议、设计模式建议、代码示例吗?

I've used SWFAddress, but it seems full of quirks, and not fully implemented in all browsers.
I don't necessarilly need deep linking, rather I simply need to track a users history as he she travels thru a flash application (user stays in application).

Any suggestions, desgin pattern recommendations, code examples?

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

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

发布评论

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

评论(1

猫卆 2024-09-17 00:34:25

我有类似的东西,我使用数组/向量来跟踪它们的路径。

我为 Flash 文件的每个部分分配了一个代码(例如“Section-1”或“Section-name”),然后将其添加到数组中。

var playerPath = new Array();

// when they get to the new section

playerPath.push("Section-name");

当他们后退一步时,我只删除最后一个项目。

playerPath.pop();

I had something similar and I used an array/vector to trace their path.

Each section of my flash file I assigned a code (say, "Section-1" or "Section-name") and I would add it to the array.

var playerPath = new Array();

// when they get to the new section

playerPath.push("Section-name");

When they go back a step I just remove the last item.

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