Hi Peter, maybe you can send him this:

First, let's look at the source for the ANIM style:

        print mold system/view/vid/vid-styles/anim

Now search that source for "words:", that's the WORDS facet,
which defines the ANIM style's custom dialect within the LAYOUT
dialect.

By the way, you can copy the above source to the clipboard:

        write clipboard:// mold system/view/vid/vid-styles/anim

and paste it into your favourite editor for easy viewing.

Let's see some examples using the ANIM style sub-dialect:

        view layout [anim frames [%path/to/image1.png %path/to/image2.png]]

        view layout [anim rate 4 frames [%path/to/image1.png 
%path/to/image2.png]]

        view layout [anim frames [%image1.png %image2.png %image3.png] rate 10]

As you can see, the FRAMES and RATE sub-dialect words can be
specified in any order.

If, in the ANIM style source, you also look at the INIT facet,
you can see how it processes the FRAMES facet, and in the FEEL
facet, you can see how, when time events are received, the 
face/image is updated.
Actually, it uses FIRST, which causes an error when the block
is empty. For this reason, it is difficult to get the ANIM
style to work initially, with simple code such as:

        view layout [anim]

This is an aspect of styles which I will be watching out for
in Rebol3; I would like all styles to run without error when
they are specified only by name.

Regards,

Anton.

> A new Rebol user, Ken Singleton, is trying to find out about the vid 
> anim style at Rebol Talk. He can't find any documentation, nor could I.
> 
> Please could somebody help him, either by responding to him at Rebol 
> Talk or replying to this message and I'll transfer it to Rebol Talk.
> 
> Regards
> 
> Peter

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to