<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
var stage = acgraph.create("container");
var rectangle = stage.rect(25, 10, 120, 120);
// Sets radial gradient fill.
rectangle.fill(["black", "white"], 0.5, 0.5, null, 0.9, 0.3, 0.81);