app_generators/pureapp/templates/mainapp.mxml in fabricator-0.0.1 vs app_generators/pureapp/templates/mainapp.mxml in fabricator-0.0.5
- old
+ new
@@ -8,9 +8,14 @@
import <%=base_package%>.shell.controller.<%= startup_command_name %>;
override public function getStartupCommand():Class {
return <%= startup_command_name %>;
}
+
+ override public function getClassByName(path:String):Class {
+ return getDefinitionByName(path) as Class;
+ }
+
]]>
</mx:Script>
<mx:Zoom id="zoom" />
<mx:Fade id="fade" />
\ No newline at end of file