Hi Joe

There is no built in function or command to detect the filmloop end. Apply
the following behavior to filmloop sprite but you need to know how many
frames the film length.

-- filmloop behavior
property pFrame
property pLength

on beginSprite me
  pFrame = 0
end

on exitFrame me
  pFrame = pFrame + 1
  if pFrame >= pLength then
    alert "Filmloop ended, what you want to do"
  end if
end

on getpropertyDescriptionList me
  pdList = [:]
  pdList.addProp(#pLength,[#comment:"How many frames the filmloop length
is?", #format:#integer, #default:5])
  return pdList
end


----------------------------------------------------------
Ramesh CT
Phoenix Global Solutions (I) Pvt Ltd
http://www.lingoman.net/
----------------------------------------------------------



[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