Thanks Shaleen...
i had extended it from Sprite before so now i changed it to extends
from UIComponent
And it worked :) :)
thanx a lot for your answer..


On Jan 10, 4:39 pm, Shaleen Jain <[email protected]> wrote:
> 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 Jainhttp://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to