闪存开发 - 出版 [英] Flash Develop - Publishing

查看:87
本文介绍了闪存开发 - 出版的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Flash开发,我已经创建了一个ActionScript 3.0的项目。它开始和读取XML文件,其中包含的URL的图像。我已经离开了网址相对于同一文件夹中的SWF。好了,我出版,我有一个编译的SWF,这是bin文件夹里。如果我再复制这个文件夹,例如要通过发布文件夹,瑞士法郎不启动,我没有得到任何警告或任何东西,我从字面上复制和粘贴包含编译的swf的bin文件夹。我检查了SWF和它包含我创建的所有包。任何人有,为什么这不会起到任何的想法,当我抄bin文件夹中其他地方?

I am using Flash Develop, and I have created an ActionScript 3.0 project. It starts and read an xml file, which contain urls to images. I have left the urls relative to the same folder as the swf. OK, so I publish and I have a compiled SWF and this is inside the bin folder. If I then copy this folder, e.g. to by publish folder, the swf does not start, I get no warning or anything and I have literally copy and pasted the bin folder which contains the compiled swf. I have checked the swf and it contains all packages I have created. Anyone have any idea on why this would not play when I have copied the bin folder else where?

干杯,

安德鲁

推荐答案

您要告诉的Adobe Flash Player您的应用程序是可信的,也就是说,它可以访问本地文件。当您访问您的Flash程序与文件,该文件只需要://协议;一旦你把它上传到Web服务器时,它会工作的顺利开展。

You have to tell Adobe Flash Player that your application is trusted, i.e. it can access local files. That's only necessary when you access your flash program with the file:// protocol; once you upload it to a web server it will work smoothly.

要授予本地访问权限,以一个Flash程序,打开我的文档\应用数据\ Macromedia的\ Flash播放器\在#Security \ FlashPlayerTrust中\ 目录下,创建一个文本文件名为< MyFlashApp> .CFG ,并粘贴包含您的Flash程序到这个文件的目录路径。因此,这个文件应该cointain单行线,尾部的反斜杠不是必需的。 (我不知道这条道路的Unix的相对应的是。)

To grant local access rights to a flash program, open My Documents\Application Data\Macromedia\Flash Player\#Security\FlashPlayerTrust\ directory, create a text file called <MyFlashApp>.cfg, and paste the directory path containing your flash program into this file. Thus this file should cointain a single line, trailing backslash is not required. (I don't know what the Unix counterpart of this path is.)

的FlashDevelop自动为您创建的每一个闪光的项目可以实现这个要求。

FlashDevelop automatically does this for you for each flash project that you create.

这篇关于闪存开发 - 出版的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆