Friday, October 2, 2009

Flex 3.4 Illegal override of FlexModuleFactory

An important note for those switching from Flex 3.2 to Flex 3.4


If you have css styles which were compiled (likely in FlexBuilder), you must re-compile them with the Flex 3.4 SDK to get rid of this error.

Line Causing Error

StyleManager.loadStyleDeclarations("yourexternalstyles.swf");

Exact Error Message

VerifyError: Error #1053: Illegal override of FlexModuleFactory in mx.core.FlexModuleFactory.

at global$init()

3 comments:

Anonymous said...

Saved my life. Thanks :D

LiveWeddingBroadcast.TV said...

Dude, just had to say thanks for the post. Spent an two hours troubleshooting this error while loading a Flex swf into a Flash CS4 swf. Updated my SDK to Flex 3.5 and kept getting this error.

Finally copied over the compiled css swf and viola, works like a charm!

cssmiles said...

Thanks for the post