How to change publish settings in flash dynamically by writing code. Is it possible? And how it can be done?