salve, io ho un problema simile, nel senso che ho un mc (contenente un'immagine piuttosto grande) che devo rendere trascinabile.
ho usato questo codice:
Il problema è che, una volta rilasciato il mouse (on Release), non riesco più a ri-trascinare il clipcodice:_root.fuori = true; clip.onPress = function() { if (area.hitTest(_root._xmouse, _root._ymouse, true)) { if( _root.fuori == true){ this.startDrag(true); } } else { _root.fuori = true; } }; clip.onRelease = function() { if (area.hitTest(_root._xmouse, _root._ymouse, true)) { this.stopDrag(); _root.fuori = false; } else { _root.fuori = true; } };
help ?!

Rispondi quotando