I did not find what I want elsewhere, or at least not enough to adapt
I am trying to create a project that shows radio stations with a logo, a listen button, etc.
The data source is an xml file with child tags, for example, "name", "image" and "listen" for each parent, "station". I access this data through the main application using createComplete = "radioService.send ()" Then I can use it in the main application through dataProvider = "{radioService.lastResult.stations.station}
However, I want to use the results to populate the variables in the user component as in the components themselves
hardcoded examples
mx: Image source = "Images / BBC5.gif" id = "bbc5Logo" "/">
mx: LinkButton id = "bbc5Listen" click = "bbc5Listen_clickHandler (event)" / ">
and in the click handler
protected function bbc5Listen_clickHandler (event: MouseEvent): void {
var url: String = "http://www.bbc.co.uk/iplayer/console/bbc_radio_five_live"; Request var: URLRequest = new URLRequest (url);
} Any help greatly appreciated
source
share