> I then tried to re-attach another behavior to this same sprite. I
> received  
> this message.
> 
Hi Genevieve--

I noticed something in your e-mail a couple of days ago. You had this:

> on getPropertyDescriptionList
> if the currentMarker = 0 then exit
> 
> return\
> [\
>  #pMarker:\
> [\
> #comment: "Destination marker"\
> #format: #marker, \
> #default: --what do I put here?
> ]\
]

> end getPropertyDescriptionList

So, a couple of comments.

- did you declare pMarker as a property? You would need this line,
probably at the top of the behavior:
property pMarker

- I don't think there is a property "the currentMarker", so that will
keep your behavior from attaching. marker(0) will return the frame
number of the current frame if it's marked, otherwise the frame number
of the closest prior marker.

- The default would be the name or number of a marker in your score.

Does this help?

Cordially,

Kerry Thompson

[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