On 1/25/14, 10:38 PM, Roger Eller wrote:
I know that "do" is a bad idea sometimes, but in this case, my swipe code is in the background image, and that's where the swipe direction is determined, then it clicks at the loc of myButton (to show the button is being pressed).The only problem is that it hesitates for about a second before playing the transition effect. What would be a more optimal way? I like the effects, but the lag is killing the experience! *global* gDirection *on* mouseUp *if* gDirection is not empty *then* *put* "visual effect push" && gDirection && "very fast" intotShowEffectCommand *do* tShowEffectCommand *end* *if* *go* card "card_three" *put* empty into gDirection *end* mouseUp
You can avoid "do" this way: lock screen for visual effect go next unlock screen with visual effect "push" && gDirection && "very fast" -- Jacqueline Landman Gay | [email protected] HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
