views:

693

answers:

2

there seem to be no stage.border property in AS 3?

my class extends Sprite, what is best way to draw border around flash object?

A: 

Use a filter. See this.

dirkgently
that would be very slow!
grapefrukt
+4  A: 

hello,

this.graphics.lineStyle(0,0x555555,0.5);
this.graphics.drawRect(0,0,this.width,this,height);

where "this" is your Sprite object.

OXMO456