4 Replies Latest reply on Jan 18, 2007 4:36 AM by MotionMaker

    setRGB(0x"Color from a node in xml")

    oaj_flash_777 Level 1
      I have a map that is going to show a color for each Dep DID. I use setRGB(0x"Color") method but I am having a hard time figuring out how to populate each of the movieclips(different cities and places) with the color that matches the Dep DID.
      I have this xml:
      <?xml version="1.0" encoding="utf-8"?>
      <Dep DID="1" Value="0.56" Color="FF0000">
      <Dep DID="11" Value="0.74" Color="00CC33">
      <Dep DID="1901" Value="0.74" Color="00CC33">
      <Dep DID="1902" Value="0.74" Color="00CC33">
      <Dep DID="21" Value="0.95" Color="FFCC00">
      <Dep DID="4"Value="0.95" Color="FFCC00">

      Can anyone help me please.