-
-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
@kennylerma pls look at.the positon is 100px,but get 200px.
package
{
import flash.display.Sprite;
import flash.filters.BlurFilter;
import flash.filters.DropShadowFilter;
/**
* ...
* @author lizhi
*/
public class TestFilter extends Sprite
{
public function TestFilter()
{
SpriteFlexjs.debug = true;
var b:Sprite = new Sprite;
addChild(b);
b.x = 100;
var a:Sprite = new Sprite;
a.graphics.beginFill(0);
a.graphics.drawRect(0, 0, 100, 100);
b.addChild(a);
//a.cacheAsBitmap = true;
//a.x = 100;
a.filters = [new DropShadowFilter(2, 45, 0xff0000, 1, 2, 2, .3, 1,true)];
}
}
}
Metadata
Metadata
Assignees
Labels
No labels