Start and stop an animation

4 views
Skip to first unread message

Shadow Raider

unread,
Jan 21, 2009, 10:17:06 AM1/21/09
to REBOL
Hi all,
I just discovered the "anim" function: it's great!!!
It works with any image file type!
For example:
Rebol[]
view layout [
anim rate 10 frames [ %./bay.jpg %./rebologo2.gif]
]

My question is: how can create a button to activate or pause the
animation?

Thank you all
Max

Gregg

unread,
Jan 21, 2009, 4:05:52 PM1/21/09
to REBOL
You can see the source for the style by doing:

probe get-style 'anim

I would guess you can pause it by setting the rate to none and doing a
'show on the face. If that doesn't work, ask on the ML as not many
people watch here.
Reply all
Reply to author
Forward
0 new messages