0 Replies Latest reply on May 25, 2007 7:31 PM by sanandresano

    dynamically generated width of a canvas

    sanandresano
      I have a remoteobject that return words of certain lenght from a database. this remote object populates a tilelist that is being rendered by a canvas Itemrenderer.
      I need to change the width property dynamically as the length of the word changes of the canvas property cause it is taking too much space in the tilelist. in the item renderer i have a data.lenght that returns the lenght ot the word in digits.
      the width property accepts a number which is the pixels of the canvas, how can i change it dynamically as the lenght of my words change with this information, or do I need to go another route
      PLEASE HELP THANKS!!!!
      GB