Flash投影仪和Flash swf之间的区别
发布 Flash 项目时,Flash 投影仪是否只是将 swf 文件和插件包装成可执行文件(win 为 .exe,mac 为 .app)?目标是该项目不在浏览器中运行,因此不依赖于浏览器/插件?
在可以运行的动作脚本方面是否存在更多差异?可以包含通常从外部加载的文件(视频等)...
谢谢!
When publishing a flash project, is a flash projector simply the swf file and plugin wrapped into an executable (.exe for win, .app for mac)? with the goal being that the project doesn't run in a browser and is therefore not browser/plugin dependent?
Are there more differences in terms of what actionscript can be run? can files that are usually loaded externally be included (videos etc)...
thanks heaps!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你主要明白了。据我所知,独立播放器+你的swf = flash 项目。
我认为的一个区别是沙盒安全性。 Projector 版本的行为应与您的 swf 在 IDE 中的行为方式相同,这意味着不应用某些安全限制,因此您可以轻松测试您的 swf,而无需始终将结果上传到服务器上。
我想还有其他的,但我脑子里没有其他的想法。期待看到其他答案:)
You got the idea mainly. The standalone player+your swf = flash projects as far as I know.
One difference I can think is Sandbox Security. The Projector version should behave the way your swf behaves in the IDE, which means some security restrictions aren't applied so you can easily test your swf without uploading the result on the server all the time.
I guess there are others as well, but nothing else comes from the top of my head. Looking forward to see other answers :)
正如乔治所说,你基本上已经有了想法。投影仪是与可执行播放器封装在一起的 SWF 副本,以便可以在任何地方播放。
为了扩展 George 的答案,投影仪与 SWF 具有以下区别:
关于仅在投影仪中可用的 fscommand 功能,过去还存在一些其他差异,但我认为它们不适用于现代播放器。
As George said, you basically have the idea. A projector is a copy of your SWF wrapped together with an executable player, so that it can be played anywhere.
To expand on George's answer, projectors have the following differences from SWFs:
There used to be a couple of other differences, regarding fscommand features that were only available in projectors, but I don't think any of them apply to modern players.