That's the shared code problem.  You can declare a variable of type
ButtonBar in the main app or implement the shared code solution
described on my blog.
 
http://blogs.adobe.com/aharui/2007/03/modules.html

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Flexing...
Sent: Tuesday, April 17, 2007 12:23 PM
To: [email protected]
Subject: [flexcoders] SuperTabNavigator - Type Coercion failed:



When I try to load a Module as a child in SuperTabNavigator. I get
following error. Any clues on how it can be resolved.






TypeError: Error #1034: Type Coercion failed: cannot convert
mx.controls::[EMAIL PROTECTED] to mx.controls.ButtonBar.
at
mx.skins.halo::ButtonBarButtonSkin/mx.skins.halo:ButtonBarButtonSkin::up
dateDisplayList()
at mx.skins::ProgrammaticSkin/validateDisplayList()
at mx.managers::LayoutManager/::validateDisplayList()
at mx.managers::LayoutManager/::doPhasedInstantiation()
at Function/http://adobe.com/AS3/2006/builtin::apply(
<http://adobe.com/AS3/2006/builtin::apply(> )
at mx.core::UICompone! nt/::callLaterDispatcher2()
at mx.core::UIComponent/::callLaterDispatcher()


 

Reply via email to