In the past Flex development on Emacs was not as it should be because of a missing Relax NG Schema, which is needed for nxml-mode to work properly. To improve the situation I developed a MXML Schema generator based on the XSD generator of Ali Mansuroglu. Now Emacs knows your Schema and can help you typing and validating MXML files.