The problem is that I intent to compile the project, as it is, with the mxmlc command of Flex 4 SDK and I do not obtain a SWF file because of compilation errors.
Like you say, an error message about the style appear (sorry, I have only the french version of this message) when I intent to compile each program for Flex 3.