简体   繁体   English

Flex SWF文件:如何检查暴露的方法?

[英]Flex swf file: how to inspect the method exposed?

In every language there are a lot of tool to inspect the interface exposed by the compiled file, then what is the best tool for Flex swf file? 在每种语言中,都有很多工具可以检查编译文件公开的界面,那么Flex SWF文件的最佳工具是什么? I am debugging my code but the invoke always failed, I am writing my callee like below in my mcml file: 我正在调试我的代码,但调用始终失败,我在mcml文件中编写了如下的被调用方:

public function playVideo():void
            {
                svid.play();
                return;
            }

And in another mcml I am using SWFLoader to load it and call it, but it always failed. 在另一个mcml中,我正在使用SWFLoader加载并调用它,但始终失败。

Thanks. 谢谢。

Do you mean runtime introspection, or introspection while you're developing? 您是指运行时自省,还是开发过程中的自省?

For runtime introspection, I've found as3-reflect very helpful. 对于运行时自省,我发现as3-reflect非常有用。

For developing, though… I just use FlexBuilder's autocompletion. 但是,对于开发……我只是使用FlexBuilder的自动完成功能。 I'd be interested to learn about a better way, though. 不过,我很想学习一种更好的方法。

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

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