Flash Pro CS6.
SpriteSheetExporter.stackDuplicateFrames
Property; A boolean value specifying whether the sprite sheet can stack duplicate symbol frames when adding them to the sprite sheet. The default is true.
var exporter = new SpriteSheetExporter;
exporter.stackDuplicateFrames = true;