Game Development Reference
In-Depth Information
Screen management
As with other samples based on Pulse, we will subclass the minimum required
classes from PulseUI to implement the game screen. The subclasses are as follows:
Class Skin
The Skin class is subclassed from the Skinner class in PulseUI to provide the UI
elements for the game. Here is the full listing:
package jjf.ui
{
import mx.core.BitmapAsset;
import pulseui.Skinner;
public class Skin extends Skinner
{
[Embed(source="jjf\\rsrc\\Outline.png")]
private static var OutlineClass:Class;
[Embed(source="jjf\\rsrc\\ui.png")]
private static var UIClass:Class;
[Embed(source="jjf\\rsrc\\frame.png")]
private static var FrameClass:Class;
public function Skin() {
super();
}
protected override function load():void {
 
Search WWH ::




Custom Search