0 Replies Latest reply on Feb 7, 2007 4:29 AM by jryan76

    Change object depending on data

      I've just picked up Flex and I have a Flex application that pulls data from a PHP page. The data is simply a customer name and a status.

      I'd like to have an object displayed in Flex to reflect the customer (simply a circle for the time being). When the status of that customer changes I need the circle to change colour. What would be the best way of achieving this?

      If the circle is an embedded Flash object in Flex that changes from green to red how can I manipulate this in Flex? Would using ActionScript in Flex achieve this? Would Flex simply run the embedded Flash movie that changes a circle from green to red when the PHP data changes?

      Thanks in advance.