Jump to content


TatiKlp's Content

There have been 1 items by TatiKlp (Search limited from 20/04/2023)


Ordernar por                Order  

#975296 Bg Com Beginfill Que Não Aceita Alpha

Posted by TatiKlp on 24/07/2009, 23:17 in Adobe Flash e ActionScript

Olá pessoal, sou nova aqui, mas vi que vocês são bem melhores que do flashmasters..

Seguinte, tenho o código

[codebox]
private function createBg():void

{
_bg = new Sprite();
_bg.graphics.beginFill(backgroundColor);
_bg.graphics.drawRect(0, 0, _stageW, _stageW);
_bg.graphics.endFill();
addChild(_bg);
_bg.visible = false;
}[/codebox]

Já testei alterar com:

_bg._alpha = 0;
_bg.alpha = 0;

Tentei alterar colocando uma imagem no BG:
_bg.addChild(imagem);

E nenhuma funcionou.

Ou eu retiro esse BG ou coloco uma imagem.

Vocês me ajudam? :rolleyes:

Obrigada!




IPB Skin By Virteq