简体   繁体   English

问题:网站和 Flash 加载旧版本的 SWF 客户端

[英]problem:Website and Flash loading an older version of my SWF client

I have a swf game client that's being hosted on my website.我有一个 swf 游戏客户端,它托管在我的网站上。 Users mostly use flash projector to connect directly by opening the swf's url.用户大多使用 flash 投影仪直接打开 swf 的 url 进行连接。 My problem is that, when I upload a newer version of this swf client on my website, the users still manage to load the older client, that is no longer there.我的问题是,当我在我的网站上上传这个 swf 客户端的更新版本时,用户仍然设法加载旧客户端,它不再存在。 older and newer clients had the same name, but I want to keep it that way.新老客户有相同的名字,但我想保持这种方式。 I would appreciate any suggestions :=)我将不胜感激任何建议:=)

Like Organis's comment, here is one way to work out.就像 Organis 的评论一样,这是一种锻炼方法。

Your game will start from index.swf, and index.swf did't contain any game logic,its only job is to get the version number from index.html(use loaderInfo.parameters) and load the main game swf use the version num你的游戏将从 index.swf 开始,而 index.swf 不包含任何游戏逻辑,它唯一的工作是从 index.html 中获取版本号(使用 loaderInfo.parameters)并加载主游戏 swf 使用版本号

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM