Add a new object as type InfoWindow as follows:
[INDENT]var callout:InfoWindow = new InfoWindow(map);[/INDENT]
Then set the properties of the InfoWindow. In the following example the header of the InfoWindow is "Test" and the content is a TextArea that has the text "This is my test"
[INDENT]callout.label = "Test";
var calloutText:TextArea = new TextArea();
calloutText.editable = false;
calloutText.text = "This is my test";
callout.content = calloutText;[/INDENT]
Now make your new InfoWindow visible and place it where the user clicked:
[INDENT]callout.setVisible(true,false);
var position:MapPoint = event.graphic.geometry as MapPoint;
callout.show(position);[/INDENT]
Now add it to the map:
[INDENT]map.addChild(callout);[/INDENT]