Here i am attatched zip file.It contains two files.one is breadcrumbcomp.mxml and second one is error screen.
Here my requirement is wen u click on home button,then move to same component(breadcrumbcomp.mxml).
This code will be in breadcrumbcomp.mxml.I have used states.That means i have switch to same component
(from breadcrumbcomponent.mxml).My problem is in design mode(see the screenshot).It should be working fine
in source mode and running that application,then it works.But in design mode i am getting that error.
You might want to consider using a ViewStack instead of states. States are good for smallish components, but in your case ViewStack would be better.
If this post answers your question or helps, please mark it as such.