简体   繁体   English

swf文件未播放正在发布

[英]swf file not playing aftre being published

i am trying to run the 'connector' example that comes bundled with smartfoxserver2x downloads..there it connects to the server and loads the correct configuration file. 我正在尝试运行smartfoxserver2x下载附带的“连接器”示例。它连接到服务器并加载正确的配置文件。 when i run it in adobe flash professional 5,it runs correctly and connects to the server but after being published as SWF movie,it doesnt work.it loads the configuration file but cant connect and gives error connection failure..ERROR 2048 当我在Adobe Flash Professional 5中运行它时,它可以正常运行并连接到服务器,但是在作为SWF电影发布后,它不起作用。它加载配置文件但无法连接,并给出错误的连接失败。.ERROR2048

this is the example i am talking about. 这是我正在谈论的例子。 http://docs2x.smartfoxserver.com/ExamplesFlash/connector http://docs2x.smartfoxserver.com/ExamplesFlash/connector

2048 is a Security error. 2048是安全错误。 You probably just need to place your SWF in a trusted location. 您可能只需要将SWF放置在受信任的位置即可。 You can do that through the Flash Global Settings in the right-click menu, or via this web form: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html 您可以通过右键单击菜单中的“ Flash全局设置”或通过以下Web表单来执行此操作: http : //www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html

It's usually best to create a folder containing all of your Flash projects and just give that directory permission, so you don't have to think about it again. 通常最好创建一个包含所有Flash项目的文件夹,并只授予该目录权限,因此您不必再考虑它。

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

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