Open GoogleCodeExporter opened 8 years ago
自己找了解决方案,就是自己继续了view,自定义了一个基类v
iew,里面有个m_root,默认根容器,解决了预加载的问题。
还有一个view不能多次实例化。我的解决方案是把ViewLocator里��
�这个方法改了用;
之前;
public function addView(viewClass:Class, stageInstance:String = null):void {
//参数是Class+InstanceName
}
改后;
public function addView($view:IView):IView {
//参数是IView
}
Original comment by bux...@gmail.com
on 25 Jun 2013 at 11:17
Original issue reported on code.google.com by
bux...@gmail.com
on 15 Apr 2013 at 9:17