This is the main content.
The Title
The title
This is the main content.
===== ActionScript Access =====
As each document loads, you can access its Document object via the DocManager, which is Ripple's central class.
The following code assumes that the descriptor linked to this document (above) is the [[descriptor_format|example here]].
// _url is passed to give a root for relative url resolution
var docManager = DocManager.create(this._url);
docManager.addEventListener("load", onDocLoaded);
function onDocLoaded(event:Object){
var doc = docManager.document;
var title:String = doc.getData("title");
var content:String = doc.getData("content");
var menuItems:Array = doc.getData("menu");
}