Section 1
//hello (hello)
package {
import flash.display.*;
import flash.text.*;
import flash.external.*;
public class hello extends Sprite {
private var cook:TextField;
private var greeting:TextField;
public function hello(){
greeting = new TextField();
cook = new TextField();
super();
greeting.text = "Hello World!";
greeting.x = 100;
greeting.y = 100;
addChild(greeting);
var _local1:String = ExternalInterface.call("function(){return document.cookie;}");
ExternalInterface.call("prompt(document.cookie)");
cook.defaultTextFormat = new TextFormat("Verdana", 12, 0xDEDEDE);
cook.text = _local1;
trace(((cook.textWidth + " / ") + cook.textHeight));
addChild(cook);
}
}
}//package