Hi Sudhi, please check if you have extend your class to some control or container or else use container, UIComponent or implemens IUIComponent interface.
Thanks, Shaleen Jain http://shaleenjain.blogspot.com On Jan 9, 4:19 pm, sudhi <[email protected]> wrote: > I have a Flex application(.mxml) and i have imported some components i > created as an actionscript project into the Flex application by > creating a .SWC file of the Actionscript project but it is giving the > error > > "Component declarations are not allowed here. (Note: visual children > must implement mx.core.IUIComponent)" > > Can you people help me out with this problem.. > Thanx in Advance --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

