> I am newbie and I am trying to make a rectangle by only
> using Actioinscript, also flash.geom.Rectangle.
> My code looks as follow:
> import flash.geom.Rectangle;
> var window:Rectangle = new Rectangle(0, 0, 100, 40);
Aha. Well, that creates an instance of the Rectangle class.
This is a
Rectangle object, but not a visual object, such as a movie
clip, button, or
> But I don't see any rectangle. I think I am missing
> here. What can it be?
You're missing the Drawing API. Check out the MovieClip
contains the Drawing API among its members. Start with
in the ActionScript 2.0 Language Reference and you'll find
the path you're