I am using as3 and try to drag the background within the screen. What am I doing wrong?
Here is my code:
bg.startDrag(false, new Rectangle(-bg.width + stage.stageWidth, stage.stageHeight, bg.width - stage.stageWidth, bg.height - stage.stageHeight));