Passing Parameters into a Flex Application Before Runtime
You can pass parameters into a Flex application before runtime using automation libraries.
Compile your application with the appropriate automation libraries.
Use the standard Flex mechanism for the parameter as you typically would.
Parent topic:
Passing Parameters into a Flex Application
Related tasks
Precompiling the Flex Application for Testing