sorry, squashed some bugs.
#----
=item $ant->movie $file, $contentype, %opts
Defines the annotation as a movie from $file with $contentype and
options %opts (-rect).
=cut
sub movie
{
my ($self,$file,$contentype,%opts)=@_;
$self->{Subtype}=PDFName('Movie');
$self->{A}=PDFBool(1);
$self->{Movie}=PDFDict();
$self->{Movie}->{F}=PDFDict();
$self->{' apipdf'}->new_obj($self->{Movie}->{F});
my $f=$self->{Movie}->{F};
$f->{Type}=PDFName('EmbeddedFile');
$f->{Subtype}=PDFName($contentype);
$f->{' streamfile'}=$file;
$self->rect(@{$opts{-rect}}) if(defined $opts{-rect});
return($self);
}
#----