Heres a simple solution...
Animate your boat sprite across the stage using Lingo (sprite(x).locH =
sprite(x).locH + 5). Do this on every exitFrame. Then, when the user clicks
on it, let it start moving downward instead of sideways (change the locV
now instead of the locH)
However, this wont let you roll the boat as it moves across the waves. If
you want that, then try a slightly different method like so...
Tween your boat sprite across the stage. On mouseUp, store the location of
the boat in a variable, and send the playback head to another frame. On
this frame set the loc of your boat sprite to what you have stored in the
variable and let your boat member simply animate downwards using Lingo.
You might like to try a different way to show the waves in the background
though. Video in Director is just fine...as long as nothing moves over it.
You'll need to turn DTS off to have your tweened sprite display over the
video sprite and that will produce a performance hit. Instead, if you can
get away with a few bitmaps in a film loop, I'd suggest that you do that.
Pranav Negandhi
New Media Applications.
Learnet India Limited, Mumbai.
Phone: 91-22-859 8042 Ext: 410
<snip>
thanks to the people that responded to my email. I've now decided to do the
whole thing in Director 7 since it involves video. So... for the next
problem :) ... I want to play a looped video while playing animations over
the top of it. For example, it is set at the beach (the video part is the
looped beach scene to get the 'waves' effect), and I want an animation of a
boat sailing across the water. When the user clicks on the boat, it plays
another animation of it sinking in the exact same location as where the
user
has just clicked. is this possible? I had some problems with putting a
tweened sprite over a video, but i'm mostly concerned with the boat
animation as the entire project revolves around this concept,
<snip>
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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!]