PDA

View Full Version : Forcing a Panel Open with JSFL


fgerantabee
03-26-2008, 05:33 PM
Hello all: i have written and packaged a JSFL command that automatically scripts a button instance in AS3. I find that my extension doesn't run properly if the Actions panel isn't already open.

Is there a way to open a panel in JSFL, either by a direct command or by executing an existing menu command (window>actions)?

Any help would be very appreciated.

====
Added
===

I want to mention that my JSFL works if the panel is not open, but only once the panel has been opened at least once (?????). If the Acitons panel is closed, it will still add actions to the selected keyframe, but will do nothing if I haven't opened and closed the panel at least once..very odd. For this reason, I'm still trying to figure out how to 'force' the panel open, either through some type of actionsPanel.open() command (which doesn't exist), or by forcing a menu command (Window > Actions).

Help!