On 3/23/06, Tony Pujals <[EMAIL PROTECTED]> wrote:

> A.mxml
>
> <?xml version="1.0" encoding="utf-8"?>
>
> <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml";>
>
> </mx:Canvas>
>

>
> B.mxml
>
> <A xmlns:mx="http://www.adobe.com/2006/mxml";>
>
>                 <mx:Button label="Hello"
> click="mx.controls.Alert.show('Hello')" />
>
> </A>
>


> Test.mxml
>
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";>
>
>                 <B />
>
> </mx:Application>
>


\> Error: Multiple sets of visual children have been specified for this
> component (base component definition and derived component definition)
[snip]

Do you happen to have children defined inside the B instance in Test.mxml?

 <B>
  <Button label="..." />
 </B>

That's not allowed: you can add children there only if B is empty.

Manish


--
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