Genevieve Young <[EMAIL PROTECTED]> wrote:

> Property  pMarker
> 
> on getPropertyDescriptionList
> if Marker(0) then exit
> 
> return\
> [\
> #pMarker:\
> [\
> #comment: "Destination marker"\
> #format: #marker, \
> #default: "page1" \
> ]\
> ]
> 
> end getPropertyDescriptionList

Hi Genevieve,

If you are trying to create a behavior that jumps to a specific marker on
mouseUp, then it should look like this:

property pMarker


on getPropertyDescriptionList
  -- if Marker(0) then exit -- This will prevent your behavior from
  --                           working if you have any markers in your
  --                           movie

return \
[ \
 #pMarker: \
 [ \
  #comment: "Destination marker", \
  #format: #marker, \
  #default: "page1" \
 ]\
]
  -- Comma added after the #comment item
end getPropertyDescriptionList


on mouseUp
  go pMarker
end


You can use the Watcher window to watch how the value of given expressions
change over time.  Try typing the following expressions into the entry field
at the top of Watcher window:

  the frame
  marker(0)
  the markerList.getProp(marker(0))

Now move to different frames by clicking in the Score window (or by any
other navigation method).

Cheers,

James


[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