Flint Particle System Forum - Error on flex Sat, 25 Dec 2010 19:33:44 +0000 http://flintparticles.org/forum/ Lussumo Vanilla 1.1.10 & Feed Publisher Error on flex http://flintparticles.org/forum/comments.php?DiscussionID=173&Focus=681#Comment_681 http://flintparticles.org/forum/comments.php?DiscussionID=173&Focus=681#Comment_681 Fri, 13 Feb 2009 19:44:31 +0000 Rogier21
I downloaded 2.01, and imported this in a new Flex 3 project.

I add the code from the Examples, and there are no errors. But when I run the app:

TypeError: Error #1034: Type Coercion failed: cannot convert org.flintparticles.twoD.renderers::DisplayObjectRenderer@5e1e3a1 to mx.core.IUIComponent.
at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::addingChild()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\Container.as:3251]
at mx.core::Container/addChildAt()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\Container.as:2200]
at mx.core::Container/addChild()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\Container.as:2140]
at Countdown/init()[C:\Users\Rogier\Documents\Flex Builder 3\Countdown\src\Countdown.mxml:42]
at Countdown/___Countdown_Application1_creationComplete()[C:\Users\Rogier\Documents\Flex Builder 3\Countdown\src\Countdown.mxml:2]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:9051]
at mx.core::UIComponent/set initialized()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:1167]
at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:698]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8460]
at mx.core::UIComponent/callLaterDispatcher()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8403]

Not sure what this means, and how I can solve this?

Thanks! ]]>
Error on flex http://flintparticles.org/forum/comments.php?DiscussionID=173&Focus=686#Comment_686 http://flintparticles.org/forum/comments.php?DiscussionID=173&Focus=686#Comment_686 Sat, 14 Feb 2009 15:49:40 +0000 Richard here.

I'm currently developing a Flex friendly version of Flint, to be part of the 2.1 release. It's in the flex branch of the svn repository. ]]>
Error on flex http://flintparticles.org/forum/comments.php?DiscussionID=173&Focus=688#Comment_688 http://flintparticles.org/forum/comments.php?DiscussionID=173&Focus=688#Comment_688 Sun, 15 Feb 2009 11:34:43 +0000 Rogier21
I wasn't aware of this 'limitation'. Looking forward to 2.1 stable! ]]>