Thanks, Tony.

I would bet my last buck that's what I want.  Except now I seem to be
getting a

<Script error: Operator expected   [#comment: "Move Horizontal",>
on the

addProp list, #pOrigMoveX,�
  [#comment: "Move Horizontal",
  #format: #integer,  #default: 1]

,and can't test it.  I had this before when messing with the script and
finally reopened the movie.  I guess it wasn't just me.

At least now I have a smile with my headache.

Back to the message window I guess....

Steve Rachels

----- Original Message ----- 
From: "Tony Bray" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Steve Rachels" <[EMAIL PROTECTED]>
Sent: Tuesday, October 07, 2003 2:24 PM
Subject: Re: <lingo-l> ball and paddle problem


>
> On Wednesday, Oct 8, 2003, at 05:01 Pacific/Auckland, "Steve Rachels"
> wrote:
> >
> >
> > No, the ball shoots...  but after it's in the air it will follow the
> > left
> > and right movement of the mouse.
> "What I'm after is I want the ball to come from the paddle, no matter
> where
> the paddle is when I click the left mouse button, but not until."
>
> In the Ball Behavior (page 190) add a new property -- pActive
> In the "reset me" handler (page 192) add the line
>     pActive = False
> In the "ON exitframe me"  handler add an if statement:
>       ON exitFrame me
>        if pActive = true then
> Rest of existing script
>        End if
>     END exitframe
> Add a new "ON mouseUp me" handler
>       ON mouseUp me
>        pActive = TRUE
>    END mouseUp
>
> Is this what you want?
>
> Regards
> Tony Bray
>
> "Next to being shot at and missed, nothing is ever quite as satisfying
> as getting a tax refund"


[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