I have an AIR app, which keeps its settings stored on the disk.
Now, when the application starts, i need to read these values from the disk file and populate the variables in my ModelLocator. My doubt is where to put this code during the App Lifecycle. I have it currently on applicationComplete. Since i am not making any updates to the UI in this code, can i move this initialization code to the ‘initialize’ event and thereby speed up the startup time?
yes you can move it in initialize i suggest create wrapper class,
for these properties
by doing this validation and other stuff like change in attribute names could be easy,
you only needs to change wrapper class and rest of application will remains same
hopes that helps