help with dragging objects?

how can i set drag to this object:
local button = display.newImage( “Start Game.png” )
the code i am using is this, but it doesn’t seem to work.

myAnim:setDrag{ drag=true, limitX=false, limitY=false, onPress=myPressFunction, onDrag=myDragFunction, onRelease=myReleaseFunction, bounds= { 10, 10, 200, 50 }

and in my code it looks like this all together:

local button = display.newImage( “Start Game.png” )
myAnim:setDrag{ drag=true, limitX=false, limitY=false, onPress=myPressFunction, onDrag=myDragFunction, onRelease=myReleaseFunction, bounds= { 10, 10, 200, 50 }

how should i set drag to this item? [import]uid: 19836 topic_id: 6313 reply_id: 306313[/import]