Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package
- {
- import flash.display.Sprite;
- [SWF(width="585", height="427", frameRate="24")]
- public class Main extends Sprite
- {
- public function Main()
- {
- var buddy:Puppy = new Puppy("Buddy");
- addChild(buddy);
- buddy.x = 25;
- buddy.description.text = "Hello World.";
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement