Flash pick up & move objects

They have: 601 posts

Joined: Nov 2001

Hi

I've been searching the web for information and/or a tutorial but can't find nothing.

Does anyone know how to create an object in Flash that can be picked up and moved?

Thanks!

- wil

The Webmistress's picture

She has: 5,586 posts

Joined: Feb 2001

In the samples in Flash there is one called Eggplant which does just that, can you look at that & work out how it's done??

They have: 601 posts

Joined: Nov 2001

Ah. I didn't see that example. Thank you for the heads up.

I still don't quite understand how it is moved about. I mean there are no actions associated with that frame (no flash actionscript). And each item's properites are just simply marked as 'buttons'.

Hm, am I missing something here?

Thanks for your help...

- wil

The Webmistress's picture

She has: 5,586 posts

Joined: Feb 2001

This confused me at first but:
open sample
right click on an object, then select edit in new window
right click the object again, then select properties
select the actions tab & you'll see what makes it move

Hope this helps

Julia - if life was meant to be easy Michael Angelo would have painted the floor....

They have: 601 posts

Joined: Nov 2001

Thank you! That did help. I now see actionscript similar to:

on (press) {
    startDrag ("/Eyes2");
}
on (release) {
    stopDrag ();
}
'

Now I have to play around with exactly how this work and see what I come up with!

Thanks!

- wil

The Webmistress's picture

She has: 5,586 posts

Joined: Feb 2001

Let me know how you get on!

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.