gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-commit] /srv/bzr/gnash/trunk r10076: Extend BitmapData tests.


From: Benjamin Wolsey
Subject: Re: [Gnash-commit] /srv/bzr/gnash/trunk r10076: Extend BitmapData tests.
Date: Fri, 24 Oct 2008 18:44:37 +0200

> > +    add_actions(mo, "bmp3 = new BitmapData(100, 100, false);"
> > +            "rect3 = new Rectangle(20, 20, 90, 90);"
> > +            "bmp3.fillRect(rect3, 0x0000ff);"
> > +            "_root.createEmptyMovieClip('original', 40);"
> > +            "ch = original.attachBitmap(bmp3, getNextHighestDepth());"
> > +            "ch._name = 'duplicate';"
> > +            "newch = _root.createEmptyMovieClip('original', "
> > +                    "getNextHighestDepth());"
> > +            "note('11. You should see a large blue square only. "
> > +            "Click to proceed.');"
> > +            "stop();"
> > +            );
> This should mean that the BitmapData is really attached to a
> ProxyChar,
> which also rebinds, right ?

Hold on! "ch = original.attachBitmap(bmp3, getNextHighestDepth());" is
invalid, as attachBitmap returns void. The assignment to ch should have
been on the line above, and that gives exactly the opposite test result.

bwy

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


reply via email to

[Prev in Thread] Current Thread [Next in Thread]