Chapter 11 - Adding Behavior to XML Frames
Table of Contents
Adding Behavior to XML Frames - 155
- Understanding Events and Scripts - 155
- Frame Scripts - 155
- Game Events - 156
- Responding to Frame Events with Scripts - 156
<OnEnter>
and <OnLeave>
- 156
<OnLoad>
- 157
<OnEvent>
- 157
<OnClick>
- 158
<OnUpdate>
- 159
- Available Frame Scripts - 160
- Altering Frames with Frame Methods - 161
- Common Methods - 162
- Type-Specific Functions - 162
- Creating and Using Templates - 163
- Why Are Templates Useful? - 163
- Creating New XML Templates - 163
- Using XML Templates - 164
- Using Default UI Widget Templates - 165
- Summary - 166