Skip to content

Instantly share code, notes, and snippets.

@videlais
Last active December 25, 2015 11:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save videlais/6969041 to your computer and use it in GitHub Desktop.
Save videlais/6969041 to your computer and use it in GitHub Desktop.
ActionScript 3 Example 1 Code -- PlayState.as
package
{
/**
* ...
* @author Dan Cox
*/
import org.flixel.*;
public class PlayState extends FlxState
{
public function PlayState()
{
var background:FlxSprite;
background = new FlxSprite();
background.makeGraphic(100, 100);
add(background);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment