AnimationEngine pending messages

John Dixon dixonja at hotmail.co.uk
Fri May 24 13:10:09 EDT 2013


Scott...

like

on cancelThisMsg tMsg
   put the pendingmessages into tPendingMsgs
   IF tMsg is in tPendingMsgs then
      repeat for each line x in tPendingMsgs
         if tMsg is in x then cancel item 1 of x
      end repeat
   end if
end cancelThisMsg

from the notes in the dictionary..:-)

> Subject: Re: AnimationEngine pending messages
> From: scott at tactilemedia.com
> Date: Fri, 24 May 2013 10:05:49 -0700
> To: use-livecode at lists.runrev.com
> 
> May not make a difference, but have you already tried:
> 
> repeat for each line x in the pendingMessages
> 
> I'm asking only because I haven't seen message canceling done by putting the messages in a variable first.
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX Design
> 
> On May 24, 2013, at 8:34 AM, Thomas McGrath III <mcgrath3 at mac.com> wrote:
> 
> > 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
> > 
> > 
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> > 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
 		 	   		  


More information about the use-livecode mailing list