-
hi,
i want to make a script, that start an animation if i drag an objekt over another objekt. but i am not able to write this in the scripteditor. here is a nonworking mac samplefile:
http://www.pheno.de/livemotion.sit
who can help me?
greatings from germany
matthias
-
I am not too handy with this sort of thing, I do more server side stuff... But you would possibly use the getBounds() to test if each movie clip was in the others space.
In other words, say you have three objects, 1. Animation, 2. A Drag Object, 3. A Player Object. Now the Drag and Player Objects would be MC's or MCG's. When the Drag object and Player object intersect there getBounds(), it would play the animation.
This is about all I can offer as I have not even played with getBounds() at all, but I do hope this helps a little.
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
|