| 1 | #!/usr/bin/perl -w | ||
| 2 | use strict; | ||
| 3 | use Text::JavE; | ||
| 4 | |||
| 5 | my $j2 = new Text::JavE; | ||
| 6 | while (my $file=shift @ARGV) { | ||
| 7 | $j2->open_jmov($file); | ||
| 8 | for (@{$j2->{frames}}) { | ||
| 9 | system "cls"; | ||
| 10 | $_->display; | ||
| 11 | my $time = $_->{msec}; | ||
| 12 | select (undef, undef, undef, $time/1000); | ||
| 13 | } | ||
| 14 | } | ||
| 15 |