Note to self: can't load AS2 Swfs into Flex 2.01

After looking around for somewhere to put these notes, I’ve decided that here is the place. Anything computer-related is in a seperate category but alas, I can’t be bothered to create a new template yet.

Anyway, yet again Flex produced a ‘An internal build error has occurred. Please check the Error Log.’ message and yet again it took me ages to track down. The log error looked like this;

<br></br>
java.lang.ClassCastException<br></br>
at flex2.compiler.media.MovieTranscoder.extractDefineTag<br></br>

and I eventually realised that Flash was exporting AS2.0 swfs by default. The compiler had choked up when it tried to link the swf to the Flex movie. Friendly error message guys!