Am I missing something?

      var h1:HBox = new HBox();
      h1.setStyle("backgroundColor",0xFF0000);
      trace("GetStyle of backgroundColor--> " +
h1.getStyle("backgroundColor"));

      .....trace output.......
      GetStyle of backgroundColor--> undefined

Isn't the getStyle suppose to return 0XFF0000?

Thanks!
Tino

Reply via email to