API Commands

Dave Patton <[email protected]> 11 Oct 2003 17:31:24 -0700
Newsgroups gmane.comp.java.jgenerator.devel
Message-ID <[email protected]>
Is there any documentation or examples on how to use the commands.  I
tried to use the TickerCommand class but when I run my test class I get
an IVException: Error reading from the datasource '' in command
TickerCommand.  What datasource, I never said anything about a data
source.  The code I use is:

file = FlashFile.newFlashFile();
StandardContext context = new StandardContext();
Script script = new Script(1);
script.setMain();
file.setMainScript(script);
TickerCommand ticker = new TickerCommand();
ticker.doCommand(file, context, script, 1)

... Then I generate the SWF.

None of the classes in the command package are documented, so if there
is something else I am supposed to add to the context, I have no way of
knowing what it is?  And anyone answering, please dont say "feel free to
document them." Because documenting someone else code is an exercise in
futility.

Thanks



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php