Hi all,
I just stumbled into a problem where I couldn’t get Crux setter injection to
work.
In the end it turned out that in Crux the java-style setter is used for crux in
contrast to the action-script style
So:
[Inject]
public function set
mainApplicationModel(mainApplicationModel:MainApplicationModel):void {
Didn’t work, but:
[Inject]
public function
setMainApplicationModel(mainApplicationModel:MainApplicationModel):void {
Worked … I think it probably shouldn’t be too complicated to support both
styles?
If I should shut up and stop posting stuff like this … tell me … I’m currently
sort of doing everything with an “observer-mode” keeping track of things that
confused me, dead ends and such.
Chris