At 9:57 AM -0500 1/7/03, you wrote:
Hi. I'm currently trying to use Lingo to recreate this interactive piece that I found on the internet a while ago -

http://www.bbc.co.uk/arts/digital/yourwork/a_anthony.shtml

Anyway, I'm wondering if anyone could help me with creating this, any example code or files would be greatly appreciated (and I'll be forever in your debt!). So far, my attempts have been fairly unsuccessful.

The main problems I've had so far are trying to keep the animation of one square playing (until the end of its animation cycle - around 2 seconds) when the mouse cursor is removed from the area of said square.

In my particular piece, i'm using 48 separate photographs instead of just one design of a square. I'm also trying to include a sound which will be bound to each square, and like the animation, will continue playing even when the mouse cursor is removed from the square's area.

Like the example pasted, I want to user to be able to use their mouse to highlight a number of squares which will trigger their shrinking and growing animation, as well as their individual sound.

Basically, i'm trying to make a fancy version of the example, with photographs and sound ;-)

Anyway, hope someone can help, if you need any more information, I'll be happy to supply it. Thanks!

- Josh Barton
What this seems to be doing is triggering copies of a time-based animation (it's duration never varies) whenever the mouse moves & is not held down.

Since this is a Flash animation, I'd bet it reuses one movie clip as many times as necessary.

The slowdown appears as more pixels need to be updated. As the animation objects get smaller, or less of them are visible, the performance seems to pick up again.

This is a Flash animation, but I'd bet it could be done in Director using Imaging Lingo. I'd try to duplicate the existing behavior using a gradient bitmap within Director (using Imaging Lingo) & then worry about inserting actual images & adding sounds. I'd alo expect that jamming whole images into the rects & playing sounds would cause additional slowdown.

So

1. make a behavior to track the mouse & extract trigger timings
2. make an animation that looks like the Flash film clip shown & try to play those when those triggers occur
3. try to substitute your images into the animations you've created
4. trigger sounds too

sorry I can't be more helpful w/o actually trying it

-Buzz
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]


Reply via email to