-
Mar 8th, 2010, 10:25 PM
#1
Stage autowiring - what am I doing wrong
I have not been able to get stage autowiring to work, please let me know what I am doing wrong.
Here are the steps that I have completed:
1. Added the compiler option (I am using a Mac so I tried both options with no success).
-keep-as3-metadata+=Autowired
2. Included the Autowiring processor in the application context:
<object id="autowiringStageProcessor" class="org.springextensions.actionscript.stage.Def aultAutowiringStageProcessor"/>
3. Added the [Autowired] metadata to a public property in my "LoginPanel".
4. Wired the controller object in the application context.
I successfully load both the XML and FlexXML application contexts.
I have tried adding the login panel to the application programmatically and through mxml to no avail.
Do you have any tips or tricks that I am missing?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules