0 Replies Latest reply on Jan 16, 2008 2:56 PM by ehwhoknows

    Moving viewable area in a canvas

      Hi all,

      How does one go about moving the viewable area for a canvas? Bascially, I'd like to be able to programmatically move the viewport of the canvas as I wish. I may have a canvas of size 500 x 500 and I'd like to be able to see the area in a rectangle of say x=0, y=-100, width=500, height=500, so basically just the real top part of the canvas. I tried using scrollRect, but the problem is the canvas ends up getting cropped. Any help is appreciated.

      Thanks in advance.