Implementing the item panel
Item panel is a place where players organize their items. The following graph shows how we composite the item panel in Flash. The panel consists of a close button and 19 item slots. The
itemSlot1 represent both hands, and
itemSlot2 represent the riding. Players can arrange items within slots. They can put riding item in the riding slot. Riding item is a special item that players can ride on for faster movement. We are going to query items from server-side and display them in this panel according to the position.
Loading the item definition
Similar to the buildings in the previous chapter, we have a definition ...