Show and Hide Gif

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
link76
Posts: 99
Joined: Fri Nov 04, 2011 1:52 pm

Show and Hide Gif

Post by link76 » Fri Aug 12, 2016 1:30 pm

I would like to show a gif image for 2 seconds and then hide it. But when I insert the break, the GIF animation stops, is there a solution?

Code: Select all

on mouseUp
  show image "loading"
  wait 2 seconds with messages
  hide image "loading"
end mouseUp
thank you

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Show and Hide Gif

Post by Klaus » Fri Aug 12, 2016 1:44 pm

Hi Link76,

just tested your script and it works as it should!? LC 8.02, Mac OS X 10.11.6
Make sure the "repeatcount" of that image is set to -1, which means continuous naimation.


Best

Klaus

Post Reply