mercredi 4 janvier 2017

Adobe/Apache Flex: Modify View in an ActionScript class

I have a WindowedApplication in Apache/Adobe Flex 4 which currently consists of one view (the view defined in the WindowedApplication MXML).

In that application I have an object which listens to data coming from a network. When data is available a method is called on that object and it shall update my view by changing the text of a label.

I do not have a reference to the view in the network listener object though. How can I get it?

Some other notes: The view does not know anything of the network listener object.

Aucun commentaire:

Enregistrer un commentaire