I wouldn't do repeat loops when recording either, if you don't mind a 
constructive criticsm. If only I could spell that.

Rather, I'd have a property like 'newValue' that would be void when the 
behavior is inited.

Then on mousedown - well, I'm not sure what you're using to get your 
value, so let's assume it's the mouseH for now - and there's a property 
called 'recording' (I'm more the 'pRecording' type) that becomes true when 
mousedown, false when mouse up

So

on enterframe me
   if recording then
        if newValue<>the mouseH then    
          newValue = the mouseH
        -- add your edit info to your edl
        end if
   end if
end

that way no repeat loops, and you're only adding edit info as it's being 
changed, rather than Joe Schmoe mousing down on something and not moving 
it. You wouldn't want to record that.

[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