import arctic.Arctic; import arctic.ArcticView; import arctic.ArcticBlock; import arctic.Scrollbar; class ArcticTest { static public function main() { new ArcticTest(flash.Lib.current); } public function new(parent : ArcticMovieClip) { // To make a screen, first build the data structure representing the contents var availableWidth = 320 - Arctic.scrollbarWidth; var helloWorld = LineStack([ ConstrainWidth(availableWidth,availableWidth, Arctic.makeText('Ohio Piccalilli 1 quart green tomatoes, chopped 2 red bell peppers, chopped 2 green bell peppers, chopped 2 large onions, chopped 1 small head of cabbage, shredded 1 cup cucumber, peeled, seeded, chopped 1⁄2 cup Kosher or sea salt 3 cups cider vinegar 2 cups brown sugar 1 stick cinnamon 1 teaspoon ground cloves 1 teaspoon allspice 1 teaspoon mustard seeds Combine vegetables with salt and let stand overnight. Drain, pressing out the juice in colander. Place in a large pot and add remaining ingredients. Bring to a boil, and cook until the syrup thickens. Seal in eight pint-size canning jars and place in a cool, dark place for three weeks or longer to ripen.', 12, "#000000", '_sans', false, true))]); // Then construct the arctic view object on the given movieclip arcticView = new ArcticView( helloWorld, parent ); // And finally display var root = arcticView.display(true); } public function remove() { // Clear out the screen arcticView.destroy(); } public var arcticView : ArcticView; }