i have an desktop air application. I would like what is the best moment for creation the dock and the system tray: when the WindowedApplication dispatch CreationComplete event or when ?
I don't think there are any initialization dependencies for the underlying AIR dock or system tray icon objects. Flex may have its own depenencies, but the docs don't list any. CreationComplete should be safe. Otherwise, you can create them whenever your application is ready to respond to any menu events that these objects might dispatch.