在游戏内容加载之前加载 Flash 预加载器
因为我是 javascript 和 flash 的新手。我有一个小要求。就像我目前正在开发一个游戏网站一样,每当我打开游戏时,都需要先打开 Flash 预加载器,并在加载 Flash 预加载器时隐藏游戏文件。一旦闪存预加载器完成加载,就需要立即显示游戏内容。我听说可以使用 javascript、ajax 来完成。但怎么办呢?谁能建议我。如需参考,请参阅以下网站: http://www.gamegape.com/ en-2095-elemental-battles.html
as i am new to javascript with flash. i have a small requirement. like i am currently working on a games website in which whenever i open the game a flash preloader needs to open first and hide the game file while the flash preloader loads. once the flash preloader completes its loading then immediately the game content need to display. i heard it can be done using javascript,ajax. but how to do it? can anyone suggest me. for reference please see the below site: http://www.gamegape.com/en-2095-elemental-battles.html
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用ExternalInterface类在Flash和Flash之间进行通信。 JavaScript。
http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/< /a>
You can use the ExternalInterface class to communicate between Flash & Javascript.
http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/