ActionScript Graphing 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: "The _keyData object and the addKey method use coordinates and sizes that were obtained in a drawing program (such as Adobe Photoshop)."

A block of code is set as follows:

private function addKey(x:Number, z:Number, usage:Number):Mesh
    {
      var keyGeometry:CubeGeometry = new CubeGeometry(54,usage,54);
      var key:Mesh = new Mesh(keyGeometry, _material);

      key.x = -1 * (x + 27 - 512);
      key.y = usage / 2 + 3;
      key.z = z + 27 - 256;

      addChild(key);

      return key;
    }

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: "In FlashDevelop, right-click on greensock.swc and choose Add To Library."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.