I have a Flash (no Flex) project. I've been referring to the
following link to get things set up and running and its all worked
great until I got to some views.
http://davespanton.posterous.com/swiz-in-actionscript-projects-including-flash
My main .FLA has a MovieClip on it that is defined as
com.clientname.projectname.view.MainView in my source code. MainView
never has its injections set or its postconstruct called. My config
script looks like:
var swizConfig:SwizConfig = new SwizConfig();
swizConfig.eventPackages = ['com.clientname.projectname.events.*'];
swizConfig.viewPackages = ['com.clientname.projectname.view.*'];
_swiz = new Swiz(this,swizConfig,null,[Beans]);
_swiz.loggingTargets = [new SwizTraceTarget()];
_swiz.init();
I tried the defining the viewPackages with and without the ".*" at the
end.... This apears to be the case with all of my views under the view
package. Is there something different about the configuration and
definition of views when used with a Flash project?
BTW - I've used SWIZ in several other Flex projects before and found
it to be a great tool - so I'm not a complete novice - only when it
comes to setting it up without Flex....
Thanks for any suggestions!
Lisa