The Javascript command is Javascript: in the front of a get URL. There should be no target. If you wanted to get real fancy (and I don't suggest this) you could have some real basic commands to issue from it and then the program would write some of the functions.

I would use the Sounds and actions interface with the renaming and frame sorting keys from the list frame interface on it. That would combine the two interfaces and provide a pretty good Frame tool sorting tool.

As for actionscripts I wouldn't do anything to fancy with it just a window to type the scripts (make it fairly large)then the program would just read the source and push the scripts and then that's it. I would imagine that it would be something realitivly easy to implement but then I could be wrong. I would keep it simple though becuase those who would use such a tool would be equally confused or comfortable by an interface (Macromedia has one such interface and the interface is more confusing then typing the code by hand) as typing code into a good sized text box.

I also would recomend that if you implement sprites give the users the tell target or set target action (they are the same command- Tell target is what they call it in Flash and set Target is how the command is refered to in the SDK's), It appears as if Swish 2 (From the alpha 5) allows sprites but does not allow tell target.