[osflash] [OT]Bugs of flash player 9 when rendering filtered and scrollRected object?

iiley iiley.chen at gmail.com
Tue Mar 6 03:39:26 EST 2007


Oh~~~~No, seems no one care about this big killer issue,
sadly......................... This issue killed my big design of my
frameworks, i'v send this to adobe too, no one replie either ......

...

2007/3/5, iiley <iiley.chen at gmail.com>:
>
> Hi list,
>
> Sorry about this off topic post, i'v post this to adobe flex support
> forum, but no one replies, I think maybe some one else here have focused
> this problem before, so maybe there's suggestions of this problem:
>
> When you use both filters and scrollRect properties for a Sprite, here's a
> test:
>
> package{
>
> import flash.display.*;
> import flash.events.*;
> import flash.filters.*;
> import flash.geom.Rectangle;
> import flash.text.*;
>
> public class TestProj extends Sprite
> {
> private var container:Sprite;
> private var cursor:Sprite;
> private var text:TextField;
>
> public function TestProj(){
> container = new Sprite();
> var sprite:Sprite = new Sprite();
> sprite.graphics.beginFill(0xff0000);
> sprite.graphics.drawRect(0, 0, 200, 100);
> sprite.graphics.endFill();
> sprite.x = sprite.y = 100;
> sprite.scrollRect = new Rectangle(0, 0, 200, 100);
> sprite.filters = [new GlowFilter(0x0000FF, 1, 10, 10, 4)];
> container.addChild(sprite);
> addChild(container);
>
> stage.addEventListener(MouseEvent.MOUSE_DOWN, __mouseDown);
>
> cursor = new Sprite();
> cursor.graphics.beginFill(0xffff00);
> cursor.graphics.drawCircle(0, 0, 20);
> cursor.graphics.endFill();
> addChild(cursor);
> cursor.startDrag(true);
>
> text = new TextField();
> text.text = "click the stage to invisible the rect container, " +
> "but you can see it is still visible, \nthen move the circle over it...!";
> text.autoSize = TextFieldAutoSize.LEFT ;
> text.y = 300;
> addChild(text);
> }
>
> private function __mouseDown(e:MouseEvent):void{
> container.visible = false;
> e.updateAfterEvent();
> }
> }
> }
>
> From the code, you can see, if you click the stage, the red rect should be
> invisible, but it does not, then move the cursor(yellow circle) over it, see
> what happens.
>
> There is the movies to show you: http://www.rgenerat.org/iileyblog/?p=62
>
> Is this really a flash player bug? and is there a way to avoid this or
> solve this? Thanks very much for helps.
>
> --
> iiley
> AsWing http://www.aswing.org
> Personal http://www.iiley.com
>



-- 
iiley
AsWing http://www.aswing.org
Personal http://www.iiley.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/osflash_osflash.org/attachments/20070306/4415538c/attachment-0001.htm


More information about the osflash mailing list