Flash to Flex ComponentEvent coercion error solved

Today I had an interesting problem embedding a swf file compiled in Flash Professional CS3 into Flash Builder 4. My SWF file contained a Flash TextArea component, which dispatches a ComponentEvent when scroll bars are activated. This event resulted in the following error in Flex: TypeError: Error #1034: Type Coercion failed: cannot convert fl.events::ComponentEvent@1b06b4c1 to […]

Read More