0 Replies Latest reply on Jul 30, 2007 12:21 PM by webvalue

    A bug in Y value?

    webvalue Level 1
      Hi,

      In the follwoing trace code, I got correct values for the first three lines, e.g., Height, width, and x values. But Y is always 0 for all controls I tried. And obviously they are at different vertical positions. So this is a bug of Flex or something else?

      Thanks.

      trace("Height: " + this[page.@id][Form.@id][Error.ObjID].height);
      trace("Width: " + this[page.@id][Form.@id][Error.ObjID].width);
      trace("X: " + this[page.@id][Form.@id][Error.ObjID].x);
      trace("Y: " + this[page.@id][Form.@id][Error.ObjID].y);