Optimizing Actionscript

Are there any actionscript optimizing programs out there for mac? Does anyone know if you use MX 2004 to export swf for Flash 6 Player if the swf runs better than if you used MX?