Another (slightly silly) way to show animations on Linux

Richmond Mathewson richmondmathewson at gmail.com
Fri Jul 17 05:32:06 EDT 2009


Horribly wasteful in terms of file size, but guarantees no dependency on
external components.

This will allow you to show a SILENT "film sequence":

1.  Export your movie file to images (say 25 per second).

2. Import them into a hidden card in your stack [think BLOATWARE].

3. On the card where you want to present the film/animation;

    set up a button that has the exact dimensions of the images

    set the Button title to HIDDEN.

4.  Pop a script like this into your button:

on mouseUp
  put 1003 into FRAMEK
  repeat for 356 times
    add 1 to FRAMEK
    set the icon of btn "Button" to FRAMEK
    wait 2 ticks
  end repeat
end mouseUp

I am not uploading my example stack anywhere, because with
356 frames of 256 Grayscale PNGs it weighs in at 11.5 MB.

---------------------------------------------------------------------------------

The only POSSIBLE advantages of this method are the lack of
dependence on external stuff such as MPlayer, and that it
guarantees that the images look how they should, rather
than the way a lot of image "go funny" when made into an
animated GIF.



More information about the use-livecode mailing list