Is it possicle to use scrollRect without the flash.geom.Rectangle class?
I know the scrollrect can be used like this:
import flash.geom.Rectangle;
myMC.scrollRect = new Rectangle(10,10,100,100);
I need to make a flash which doesn’t extends outside the stage (bacause loading it from another flash will expose anything outside the stage area). Using a mask is an option, but scrollRect seems very interesting because it would be easier and give greater performance.
But I can not import the flash.geom.Rectangle class (and it seems overkill to import a class just to set x,y,width and height)
How can I use scrollRect without the flash.geom.Rectangle class?