Having popup style like an Alert.show

Question:

I have a custome popup which works great however I would like the same effect as the Alert.Show when I open it. Meaning I would like the area around the popup to be blurry and shaded.
How can I do that?

Solution:

Oh, I did not know if you were on Flex…

Hm…  You probably will need to create a custom component for that that includes the transparent box down below and the alert box…

But you will need to draw the box like this…

CyanBlue

var box:Sprite = new Sprite();
box.graphics.beginFill(0×0000FF, 0.25);
box.graphics.drawRect(0, 0, stage.stageWidth, stage.stageHeight);
box.graphics.endFill();
addChild(box);
box.mouseEnabled = true;

digg delicious stumbleupon technorati Google live facebook Sphinn Mixx newsvine reddit yahoomyweb
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...