This content has been marked as final. Show 5 replies
is the code you posted related to your question?
im searching for a solution to simulate angular movement for such a long time and this is the only workaround i could find.
Am i on the wrong trail?
that code causes changes to the _rotation property of bar, but other than that it has nothing to do with the issue you posed.
in what manner do you want the _rotation property of your dragged movieclip to change as it's being dragged? do you want it to change randomly or is there some method/effect that you want to apply to the _rotation?
Im looking for a kind of effect like this.
I still implemented the "throwing around" and "bouncing of the wall" of my clip but i can't figure out how the rotation of the cards has to be done.
I thought the code snippet i found would lead in the right direction.
Would be nice if you point me in the right direction. =)
movieclips will rotate about their registration point when you set their _rotation property.
in the example you cited, the movieclips rotate about the mouse's position. if that's what you want you should search this forum for another thread where the poster cited the same website asking for help.
i supplied that poster with code to "change" the registration point so they could create the same effect as displayed on that site.