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? I am debugging my code but the invoke always failed, I am writing my callee like bel开发者_运维问答ow in my mcml file:
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.
Thanks.
Do you mean runtime introspection, or introspection while you're developing?
For runtime introspection, I've found as3-reflect very helpful.
For developing, though… I just use FlexBuilder's autocompletion. I'd be interested to learn about a better way, though.
精彩评论