Wednesday, May 23, 2012

[Action Script] Drag and Drop issue May,2012

Hi!
I ran into a little problem while creating this simple Drag and Drop game

ActionScript Code: stop();button.onPress = function(){    he.attachMovie("att", "att2", this.getNextHighestDepth());    he.att2.startDrag(true);    he.att2._xscale = 25;    he.att2._yscale = 25;}button.onRelease=button.onReleaseOutside=function(){he.att2.stopDrag(true);}he.att2.onPress = function(){    this.startDrag(true);}
How come i can't use this to drag the movieclip again, after releasing it?
Drag and Drop issue

Related Post



0 comments: