Are you using modules?  It is a common problem.  Quick fix is to link IStroke 
in the main app.  If you google you'll see past threads on this topic.

In a script block just do:

Import mx.graphics.IStroke; IStroke;

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: [email protected] [mailto:[email protected]] On Behalf 
Of [email protected]
Sent: Wednesday, September 02, 2009 10:58 PM
To: [email protected]
Subject: [flexcoders] cannot convert mx.graphics::str...@205c5d61 to 
mx.graphics.IStroke



Any ideas why this would start occurring? Only thing that has changed
is I've updated from 3.1 to 3.2.

I've tried a clean and rebuild, to no avail.

Main Thread (Suspended: TypeError: Error #1034: Type Coercion failed:
cannot convert mx.graphics::str...@205c5d61 to mx.graphics.IStroke.)
mx.charts::AxisRenderer/measure
mx.core::UIComponent/measureSizes
mx.core::UIComponent/validateSize
mx.managers::LayoutManager/validateSize
mx.managers::LayoutManager/doPhasedInstantiation
Function/http://adobe.com/AS3/2006/builtin::apply [no source]
mx.core::UIComponent/callLaterDispatcher2
mx.core::UIComponent/callLaterDispatcher

----------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Reply via email to