PureMVC Architects Lounge

Announcements and General Discussion => Fabrication => Topic started by: marks416 on February 20, 2009, 09:05:00



Title: Question for the Demo code?
Post by: marks416 on February 20, 2009, 09:05:00
Hi,

I takes look the demo code at  AddChildDemo that have the following URL

http://code.google.com/p/fabrication/source/browse/examples/resolver_add_child/src/main/flex/AddChildDemo.mxml.

I need add name space "xmlns:fab="org.puremvc.as3.multicore.utilities.fabrication.components.*"  for <fab:states>, but I can not find the states class in package "org.puremvc.as3.multicore.utilities.fabrication.components"

Please give a help for this.I check API and I have not get answer.

Thanks

Mark




Title: Re: Question for the Demo code?
Post by: Darshan Sawardekar on February 21, 2009, 08:12:41
Use fab:states when the flex compiler complains about mx:states. This is generally when the parent of the mxml document is an IFabrication. For other flex mxml components mx:states will work fine.

peace,
darshan