PDA

View Full Version : problem creating a custom component based on another custom component


oertime66
10-26-2006, 09:56 AM
Hi,
Im using flex builder 2 with action script 3.0.
I have created a custom mxml component named MvPortlet.
When i'm trying to create a new mxml component based on MvPortlet i receive the following error:

"Multiple sets of visual children have been specified for this component (base component definition and derived component definition)".

However,when i create a new actionscript class, extend MvPortlet and add some visual components the error is not generated.

Any ideas????

thanks,

Joseph G

Tink
10-26-2006, 10:09 AM
http://www.tink.ws/blog/extending-your-own-mxml-components/
http://weblogs.macromedia.com/pent/archives/2006/03/component_templ.cfm

oertime66
10-26-2006, 01:16 PM
Thanks a million!!!
It works!!

I was starting to give up hope.

:D