Using Flex code in Flash

Is there any way to produce code in Flex (using the Flex Framework) and then use the resulting AS classes in Flash?