Skip Menu |

This queue is for tickets about the SWF-Builder CPAN distribution.

Report information
The Basics
Id: 25515
Status: resolved
Priority: 0/
Queue: SWF-Builder

People
Owner: Nobody in particular
Requestors: ryo [...] shiftmode.net
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: (no value)



Subject: $char->place(above => $another_i) causes an error
SWF-Builder-0.15: SWF::Builder::Character::Displayable::place() seems to cause an error whenever parameter list includes "above => $another_i". It seems a simple typing error. It would be: --- SWF-Builder-0.15/lib/SWF/Builder/Character.pm.orig 2005-06-12 01:18:41.000000000 +0900 +++ SWF-Builder-0.15/lib/SWF/Builder/Character.pm 2007-03-16 17:09:49.000000000 +0900 @@ -141,7 +141,7 @@ my $refitem = _search_sibling($parent, $param{below}) or croak "Can't place the item below what on the different movieclip"; $depth = SWF::Builder::Depth->new($disp_i, $refitem->{_depth}{_lower}); } elsif (exists $param{above}) { - my $refitem = _search_sibling($parent, $param{below}) or croak "Can't place the item above what on the different movieclip"; + my $refitem = _search_sibling($parent, $param{above}) or croak "Can't place the item above what on the different movieclip"; $depth = SWF::Builder::Depth->new($disp_i, $refitem->{_depth}); } else { $depth = SWF::Builder::Depth->new($disp_i, $parent->{_depth_list}{_lower}); Mac OS X (10.4.9) % uname -a Darwin pulsar.local 8.9.1 Darwin Kernel Version 8.9.1: Thu Feb 22 20:55:00 PST 2007; root:xnu-792.18.15~1/RELEASE_I386 i386 i386 MacBook2,1 Darwin % perl -v This is perl, v5.8.6 built for darwin-thread-multi-2level (with 3 registered patches, see perl -V for more detail) ... -- YOSHITAKE Ryo
Thank you Yoshitake. I'm sorry I made such a bonehead mistake. I uploaded ver.0.16 to CPAN.