freddyk
09-18-2009, 03:28 AM
Hi
Is there a simple way to communicate with the root of a Flex 3 application? Something like the _root call used to be in past versions of ActionScript.
If you have one custom mxml class inside another custom class how can I call functions in the main application from the custom class that is called from within another custom class.
I have a scrolling list that is made up of item renderers that are a custom class. When the user clicks the items contained within the item renders I want to send data to the main application. If the class is directly under the main application I can use the mx:Metadata tag to create a custom event which works great. I just can't seem to get it to work if the custom event is sent from a custom component that is being used to render items in another custom component.
I have heard that maybe the 'bubbles' feature can help but I have not been able to figure out how to take advantage of it.
This has really been killing forward progress. Any links, threads, or tips would really be appreciated.
Thanks
Is there a simple way to communicate with the root of a Flex 3 application? Something like the _root call used to be in past versions of ActionScript.
If you have one custom mxml class inside another custom class how can I call functions in the main application from the custom class that is called from within another custom class.
I have a scrolling list that is made up of item renderers that are a custom class. When the user clicks the items contained within the item renders I want to send data to the main application. If the class is directly under the main application I can use the mx:Metadata tag to create a custom event which works great. I just can't seem to get it to work if the custom event is sent from a custom component that is being used to render items in another custom component.
I have heard that maybe the 'bubbles' feature can help but I have not been able to figure out how to take advantage of it.
This has really been killing forward progress. Any links, threads, or tips would really be appreciated.
Thanks