Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package
- {
- import flash.display.MovieClip;
- import flash.events.Event;
- import flash.events.MouseEvent;
- /**
- * ...
- * @author Matt
- */
- public class EmptyTile extends TileBase
- {
- public function EmptyTile()
- {
- trace("Empty Tile created!");
- this.addEventListener( Event.ADDED, onCreated );
- }
- private function onCreated(e:Event):void
- {
- this.buttonMode = false;
- this.addEventListener(MouseEvent.ROLL_OVER, thisMouseOver, false, 0, true );
- this.addEventListener(MouseEvent.ROLL_OUT, thisMouseOut, false, 0, true );
- }
- private function thisMouseOut(e:MouseEvent):void
- {
- }
- private function thisMouseOver(e:MouseEvent):void
- {
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement