I have try ported HAccordion(http://www.mossyblog.com/archives/
485.cfm) to flex 2
I have copied folder into Project \mx from Flex 2 SDK, and have some 
problems with mx components:

———————————

1020: Method marked override must override another method. 
Application.as HAccordion/mx/core

//before my correcting
/* line 540 */ override public function set label(value:String):void

//after my correcting
/* line 540 */ public function set label(value:String):void

———————————

1084: Syntax error: expecting leftbrace before colon. VBox.as 
HAccordion/mx/containers line 52 

//before my correcting

/* line 52 */ public class mx:Canvas extends Box

//after my correcting

/* line 52 */ public class VBox extends Box

———————————

The Project has compiled, but stopped at loading with Alert:

———————————
Error: Multiple sets of visual children have been specified for this 
component (component definition and component instance).
at mx.core::Container/initialize()
at mx.core::Application/initialize()
at HAccordion/initialize()
at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/
internal::childAdded()
at mx.core::Container/http://www.adobe.com/2006/flex/mx/
internal::childAdded()
at mx.core::Container/addChildAt()
at mx.core::Container/addChild()
at mx.core::Container/createComponentFromDescriptor()
at mx.core::Container/createComponentsFromDescriptors()
at mx.core::Container/mx.core:Container::createChildren()
at mx.core::UIComponent/initialize()
at mx.core::Container/initialize()
at mx.core::Application/initialize()
at HAccordion/initialize()
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/
internal::childAdded()
at mx.managers::SystemManager/::initializeTopLevelWindow()
at mx.managers::SystemManager/::frameEndHandler()
———————————






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to