Question
How to use jsfl to call the code in the swf expansion panel
Here is the function code in the swf panel
Example01.addEventListener(MouseEvent.CLICK, onBtnClick);
function onBtnClick(e:MouseEvent):void {
var jsfl:String = new String();
jsfl += "an.getDocumentDOM().getTimeline().convertToKeyframes();\nvar doc = fl.getDocumentDOM()\nvar c = doc.getTimeline().currentFrame;\nfl.getDocumentDOM().getTimeline().setSelectedFrames(c-0,c-0);\nan.getDocumentDOM().setElementProperty('loop', 'play once');\n;";
MMExecute(jsfl);
}