animated btns

Ken Ray kray at sonsothunder.com
Mon Jul 15 18:17:01 EDT 2002


Steve,

Revolution supports animated GIFs; can't you make an animated GIF timed
appropriately and just play it in Rev?

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/

----- Original Message -----
From: "Steve Messimer" <steve at messimercomputing.com>
To: "use-revolution mailing list" <use-revolution at www.runrev.com>
Sent: Monday, July 15, 2002 5:21 PM
Subject: animated btns


> Hi,
>
> I am attempting to create an animated button.  Here's what I want to do
...
>
> on mouseUp
>   repeat 2
>     set the icon of me to "rl.1.gif"
>     wait 2
>     set the icon of me to "rl.2.gif"
>     wait 3
>     set the icon of me to "rl.3.gif"
>     wait 3
>     set the icon of me to "rl.4.gif"
>     wait 3
>     set the icon of me to "rl.5.gif"
>     wait 3
>     set the icon of me to "rl.6.gif"
>     wait 3
>     set the icon of me to "rl.7.gif"
>     wait 3
>     set the icon of me to "rl.8.gif"
>   end repeat
>   set the icon of me to "rl.1.gif"
>   --pop card
>
> end mouseUp
>
> the images are all saved to the stack as controls. This works fine.
However
> inorder to get the images into the image chooser I had to save them all as
> controls.  this left the images on a card.  When I deleted the images the
> images I thought were stored in the image chooser were deleted as well.
> What am I doing wrong here.  My expectation was that an image saved as a
> control was stored permanently in the image chooser.
>
> Thanks
>
> Steve
>
> Stephen R. Messimer
> Messimer Computing, Inc
> 208 1st Ave South
> Escanaba, MI 49829
> www.messimercomputing.com
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list