
上QQ阅读APP看书,第一时间看更新
Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text are shown as follows: "We can start this off by opening up our main.as
file and then, shift our focus to the onNodeLoad
function."
A block of code will be set as follows:
// Called when Drupal returns with our node. function onNodeLoad( node:Object ) { // Print out the node title. title.text = node.title; }
When we wish to draw your attention to a particular part of a code block, the relevant lines or items will be shown in bold:
// Declare our variables
var baseURL:String = "http://localhost/drupal6";
var gateway:String = baseURL + "/services/amfphp"
var sessionId:String = "";
var nodeId:Number = 5;
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in our text like this: "clicking the Next button moves you to the next screen".