Is it possible to change publish settings using AS3?

Is it possible to change the publish settings - specifically, the file path and name of the exported swf - using Actionscript? Or must they always be set in the Publish Settings dialogue box?

Nothing I’ve seen indicates it can be done, but I thought I’d make sure.