将 amfphp 与 Flash CS3 和 AS2 结合使用

发布于 2024-07-10 13:52:19 字数 379 浏览 4 评论 0原文

所有,

我已经开始尝试 amfphp 了。 我已经阅读了一些很棒的教程(特别是 gotoandlearn.com 上的 Lee Brimlow 的教程)。

只要您使用 AS3,它就可以很好地工作,因为 AS3 包含内置的 NetConnection 类。

然而,我希望在一堆现有的 AS2 项目上使用 amfphp。

问题是AS2似乎没有NetConnection类,但Adobe的远程组件仅适用于Flash 8,不适用于CS3。

谷歌搜索出现了一堆建议,要求我将文件从 Flash 8 安装复制到 CS3,但我没有 Flash 8。

我被卡住了吗? 有办法解决这个问题吗?

非常感谢您的任何建议或指导。

All,

I've starting experimenting with amfphp. I've gone through a few great tutorials (particularly those by Lee Brimlow at gotoandlearn.com).

As long as you're using AS3, it works great, since AS3 includes the built-in NetConnection class.

However, I'm looking to use amfphp on a bunch of existing AS2 projects.

The problem is that AS2 doesn't seem to have a NetConnection class, but Adobe's remoting components only work for Flash 8, not CS3.

A google search turned up a bunch of suggestions that I copy files from my Flash 8 installation to CS3, but I don't have Flash 8.

Am I stuck? Is there a way to work around this?

Many thanks in advance for any advice or guidance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

﹏半生如梦愿梦如真 2024-07-17 13:52:19

您可以找到适用于 MAC 的 flash 8 的 as2 远程组件Adobe 网站上的 PC。 它可能没有安装在 Flash CS3 的正确文件夹中,但是 mx.remoting 类与其他 as2 mx 包位于同一文件夹中,NetConnection 调试器位于 WindowSWF 文件夹中,swc 本身位于公共库中。

我在办公室上课,而不是在家里上课,所以我不是100%准确。

我记得 amfphp 网站 上有一些关于 as2 的方便视频教程。

You can find the as2 Remoting Components for flash 8 for the MAC and PC on the Adobe website. It might not install in the right folder for Flash CS3, but there are the mx.remoting classes that go in the same folder with your other as2 mx packages the NetConnection Debugger that goes in the WindowSWF folder and the swc themselves that go in Common Libraries.

I have the classes at the office, not home, where I am now, so I'm not 100% accurate.

I remember there were some handy video tutorials on as2 on the amfphp website.

红焚 2024-07-17 13:52:19

我自己不做任何as2编程,但是这篇文章 http://drupal.org/node /258605#comment-852450 看起来它可以下载您需要的课程。

您还可以尝试通过加载单独的 as3 swf 并通过 LocalConnection http://www.kirupa.com/forum/showthread.php?p=1964550#post1964550 但我猜这几乎消除了 amfphp 的所有好处。

I don't do any as2 programming myself, but this posting http://drupal.org/node/258605#comment-852450 looks like it has a download for the classes you need.

You could also try to combine as2 and as3 by loading a separate as3 swf and communicating via the LocalConnection http://www.kirupa.com/forum/showthread.php?p=1964550#post1964550 but I'd guess that removes almost all the benefits of amfphp.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文