Re: [flexcoders] cannot convert mx.graphics::str...@205c5d61 to mx.graphics.IStroke

2009-09-04 Thread Guy Morton

Yes, thanks. I did find the answer shortly after posting here.

On 03/09/2009, at 4:51 PM, Alex Harui wrote:



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.

Blog: http://blogs.adobe.com/aharui



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]  
On Behalf Of g...@alchemy.com.au

Sent: Wednesday, September 02, 2009 10:58 PM
To: flexcoders@yahoogroups.com
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.








RE: [flexcoders] cannot convert mx.graphics::str...@205c5d61 to mx.graphics.IStroke

2009-09-02 Thread Alex Harui
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: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of g...@alchemy.com.au
Sent: Wednesday, September 02, 2009 10:58 PM
To: flexcoders@yahoogroups.com
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.



[flexcoders] cannot convert mx.graphics::str...@205c5d61 to mx.graphics.IStroke

2009-09-02 Thread guy
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.