Setting text in the Actions panel in Flash using JSFL

by Peter deHaan on December 5, 2008

in JSFL

The following example shows how you can use JSFL to set the text in the Actions panel using the fl.actionsPanel.setText() method.

Full code after the jump.

// JSFL
var dateStamp = "// " + new Date();
fl.actionsPanel.setText(dateStamp);

Running this command will overwrite any existing code that may have existed in the Flash document’s Actions panel and replace it with the current date-time-stamp.

{ 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:

Next post: