0 Replies Latest reply on Sep 28, 2006 4:46 PM by nated

    Image Issue

    nated
      I'm developing an app which prints rectangles (black or white).

      the syntax is:

      graphics.lineStyle(1,0,0);
      graphics.beginFill(0x000000);
      graphics.drawRect(0,0,5,10);
      graphics.endFill();

      I repeat this across the page. No matter how wide my image gets, it always displays double the size. The boxes display properly but then it takes the width of lines generated and adds it on to the end. It actually displays the extra space in the last color (beginFill() function). So say the last box I put on the page is red, and it makes my dynamic boxes displayed to a width of 150, the actual output would display as 300px wide. However, since the last box is red, pixels 151 - 300 are all red. I don't know why it does this or how to stop it. Any help would be appreciated!