Flash CS3 Professional.
document.as3ExportFrame
Property; an integer that specifies in which frame to export ActionScript 3.0 classes. By default, classes are exported in Frame 1.
The following example changes the frame in which classes are exported from 1 (the default) to 5.
var myDocument = fl.getDocumentDOM();
fl.outputPanel.trace("'Export classes in frame:' value before modification is " + myDocument.as3ExportFrame);
myDocument.as3ExportFrame = 5;
fl.outputPanel.trace("'Export classes in frame:' value after modification is " + myDocument.as3ExportFrame);