I have a question about MXML and ActionScript and how they communicate with each other. I'm working with the State tage to change views. I have a Class called SpacePorter; it has 4 buttons that dispatchEvents( MyButton.BUTTON_CLICKED). Space Porter is instantiated into my Home Class. Home class is than created using mxml in my root Application. Now, I want to be able with AS3 or MXML to subscribe to that Broadcast so my State can change, depending on the button that was clicked. I can't quite wrap my head around this with my lack of MXML and ActionScript relations - especially with the CDATA tags. I tried getting the button object through AS, by doing: homeView.button, but it seems as though i can't get to the properties of an mxml (instantiated object) from a AS script inside the script tag.
I hope this makes some sense, if need be I can explain some more. Could really use the help on this. This is great real world attempt of me using Flex. Anthony C. -- _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

