# When I click a movieclip, a shape with 0% alpha, flashes

**URL:** <https://forum.kirupa.com/t/when-i-click-a-movieclip-a-shape-with-0-alpha-flashes/270205>\
**Category:** flash\
**Created:** [September 6, 2008, 3:26pm UTC](https://forum.kirupa.com/t/when-i-click-a-movieclip-a-shape-with-0-alpha-flashes/270205 "2008-09-06T15:26:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kalhau](https://avatars.discourse-cdn.com/v4/letter/k/5f8ce5/32.png) [@kalhau](https://forum.kirupa.com/u/kalhau)\
**Post date:** [September 6, 2008, 3:26pm UTC](https://forum.kirupa.com/t/when-i-click-a-movieclip-a-shape-with-0-alpha-flashes/270205/1 "2008-09-06T15:26:57Z")

</div>

Hello everybody,

I never had this problem before, and the only thing different between my new sites and my “old” ones is the versions of AS, from 2 to 3…

**WHAT I DID**

- In Flash CS3, I created a movieclip with to layers, one width a Dynamic textField, and another with a shape with #000000 and 0% alpha.
- This is a button with the following code

button.label\_txt.mouseEnabled = false;  
button.buttonMode = true;   
button.addEventListener(MouseEvent.MOUSE\_OVER, onMouseOver );  
button.addEventListener(MouseEvent.MOUSE\_OUT, onMouseOut );  
button.addEventListener(MouseEvent.CLICK, onClick );

I made this test but I can’t get to recreate the problem… and unfortunatly I can’t show the websites with the problem yet…  
[http://www.curiosidade.pt/clientes/teste/](http://www.curiosidade.pt/clientes/teste/)

**THE PROBLEM**

- Not everytime, but from time to time, when I click on a button, it makes a flash that has the same size that the background shape with 0% alpha…

- I suppose it’s the shape that loses the 0% alpha for the moment it is clicked…

Have you ever seen this append?

Does anyone have a solution for this?

Thanks in advanced

🙂
