I used to create flex 3 applications using canvas as main components.
In this moment I am creating flex 4 applications but components (now based on s:Group) are not referenced inside actionscript the same way.
Many times I used the following syntax to capture the web service result and putting the values in an array defined in the child component.
cmpBaseDataTabTaxa.arrTaxa=new ArrayCollection(event.result as Array);
Now it gets an error 1119 because arrTaxa cannot be referenced inside a static class in flex 4, while in 3 it worked correctly. Even in:
arrTaxa=new ArrayCollection(event.result as Array); parentApplication.cmpBaseDataTabTaxa.dgTaxa.dataProvider=arrTaxa;
arrTaxa is setted correctly but parentApplication.cpmBaseDataTaxa is null.
Thanks for your help
Just visited them before posting this message without being able to solve the problem. Any other suggestions?