& there's some other gotchas -

The GPDL only seem to run twice if there are already behaviors 
attached to that sprite. (if sprite().scriptList already exists).

Also when editing the script, pressing the recompile button causes 
that behavior to fire and since the currentSprite = 0, so you 
probably want to only run your checking code when sprite(the 
currentSprite) <> 0.

hth

-Buzz

At 8:49 PM -0700 7/30/01, Buzz Kettles wrote:
>after the GPDL props are returned to the score, they get put in the 
>sprite's scriptList.
>(sprite(1).scriptlist)
>
>one could call a movie script to fiddle with them.
>
>hth
>
>-Buzz
>
>At 8:50 AM -0700 7/30/01, Morgan Bonar wrote:
>>I like your ideas, but unfortunately, I do need to have access to the
>>properties for the action to function properly.
>>I tired "isOKToAttach", but again I don't have the props. set yet...
>>Is there some place after the list is returned (so that we have access to
>>the props.) that an action can be called??
>>
>>-----Original Message-----
>>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
>>LePhuronn
>>Sent: Friday, July 27, 2001 7:27 PM
>>To: [EMAIL PROTECTED]
>>Subject: Re: <lingo-l> action called on attaching behavior to sprite
>>
>>I actually used this feature in one of my uni projects not so long ago - an
>>interactive tutorial system then talks between Director in authroing mode
>>and MIAWs.
>>
>>The only way I could get the routines I wanted to run ONCE was to call them
>>from the "isOKToAttach" handler, although this may cause some erratic
>>behaviour if you're cropping images through Lingo - it was fine for me to
>>send messages around, but actual sprite manipulation might mess things up.
>>
>>Give it a try though...
>>
>>Thinking about it, are you wanting to set any properties for the crop or
>>not? If it's fully automated then I think the "RunPropertyDialog" handler
>>only runs the once and runs before "GetPropertyDescriptionList" if it
>>exists.
>>
>>LePhuronn
>>
>>
>>[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!]
>>
>>
>>[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!]
>
>
>[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!]


[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!]

Reply via email to