The compiler should generate the allowDomain method in global_embed_eu_mx_core_FlexModuleFactory.as. Add "-keep" to your command line options and look that the generated code in the generated directory. In FB the generated directory is in the bin-debug folder. Is global_embed_eu_mx_core_FlexModuleFactory.as in the generated code or does it code from a swc? What version of the SDK was the SWC built with (catalog.xml has a flex element that will tell you)? You may need to recompile the swc with the current version of the sdk you are using.
What version of Flash Builder and the SDK are you using?
Thanks for ur co-operation
Currently i am using sdk3.0
I believe the allowDomain method was added in Flex 3.4.0. It seems like you are using an SDK with a version of 3.4.0 or greater but using SWCs compiled with a version less than 3.4.0.
There are two things I would try.
1. Compiling your application with SDK version 3.3.0 or older.
2. Keep your current SDK and recompile any SWCs that were compiled with an older SDK, if possible.