AnimationEngine pending messages

Thomas McGrath III mcgrath3 at mac.com
Fri May 24 11:34:15 EDT 2013


I am having trouble canceling the pending messages that are built up with use of AE in my mobile app. I have a series of AE commands on card open but want to stop them all when moving to a new card. Even in the IDE with the pending messages/message box open I can only delete one line of the pending messages and then a new message keeps coming after a bit. Is there a way to absolutely stop ALL of them that I am missing?

I am trying this in my openCard handler but they still seem to stack up.
   put the pendingmessages into tPendingMsgs
     repeat for each line x in tPendingMsgs
          cancel item 1 of x
     end repeat

Thanks

Tom

-- Tom McGrath III
http://lazyriver.on-rev.com
mcgrath3 at mac.com





More information about the use-livecode mailing list