Saving the contents of the Flash Actions panel to an external file using JSFL

by Peter deHaan on November 27, 2008

in JSFL

The following example shows how you can use JSFL to export the contents of the Flash Actions panel to an external file using the fl.outputPanel.trace(), fl.actionsPanel.getText(), and fl.outputPanel.save() methods.

Full code after the jump.

// JSFL
fl.outputPanel.clear();
fl.outputPanel.trace(fl.actionsPanel.getText());
fl.outputPanel.save("file:///C:/temp/actionsPanel.as");

{ 0 comments… add one now }

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

Previous post: Using embedded fonts with the CheckBox control in Flash with ActionScript 3.0

Next post: Displaying messages in Flash using JSFL