mxml with Spring Action Script
We are creating an application that contains a lot of tiles or custom flex components. We are trying to use spring action script to add dependancy injection in UI side. So, is it possible to implement dependancy injection with these tiles or flex component(.mxml files) or this is possible only with .as files because we want to control addition or removal of these component with the help of xml files.
Actual advantage of stage component wiring
Thanks, for your reply.
I have gone through the document and I am little bit confused about the actual use of the stage component wiring. As far as I have studied from the document, I feels that stage wiring is basically used to provide the dependancy injection in mxml file i.e. if any mxml file is using some of the .as object, then we can provide the objects of those .as files to the .mxml file by using the spring action script architecture. So, my confusions are:
1) is my above concept about stage wiring is right or wrong?
2) is stage wiring is mainly used to provide only dependancies to the corresponding mxml file or we can use it as a provider of mxml in a scenario like when we try to add two or more mxml files on other one mxml file to make a composite component because if its true, then we can remove any mxml at run time from the composite component by just removing the corresponding mxml configuration from the application-context.xml file.
Please send me your reply as soon as possible.