Flash Facebook Cookbook
上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: "Our user interface should include two Button components—login_btn and logout_btn."

A block of code is set as follows:

function tryRequest():void
{
var data:Object = new Object();
data.message = "Hello world!";
Facebook.postData("/me/feed", onPostStatusCallback, data);
}

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

<s:Button buttonMode="true"
click="requestThePermissions()"
enabled="false" height="32" id="request_btn"
label="Request Permissions" width="100%" />

Any command-line input or output is written as follows:

SELECT x FROM page WHERE page_id = 19292868552

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 the text like this: "We should update the user interface to initially disable the Request Permissions and Post status message buttons".

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.