-
http://www.atriarch.com/worldofatria...rucibleV2.html
I'm doing a project just like this where I need to be able to drag in objects from the side, rotate, scale, and send to the trash. The objects will be dragged on from the sides, like in the site, and be able to save, and recall. Any resources or scripting for any pieces would be great!
Thanks for your help!
-
Very cool little site that!
Basically, they are simply using movieclip properties.
The properties:
_xscale
_yscale
_width
_height
_rotate
will do most of what you need. In addition, you'll need the movieclip.swapDepths() method for the depths part.
The scaling and rotation elements will have been done using the
_xmouse
_ymouse
properties to work out where the mouse cursor is relative to the movieclip and then on the basis of that, alter the values of the top list of properties.
If you look through the flas in the movies section here at flashkit you'll find a bunch in interfaces that are to do with making draggable, scalable windows. These all use the same basic idea. You'll need to apply the same basic thing for rotation and then you are pretty much there.
Hope to have helped at least a little... but you asked a big question.
Andy
-
Andy, thats exactly what I was looking for! Thanks!
Now, folks, my next question is the saving, and recalling...it sounds like a big task....any ideas?
Thanks Again!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|