I am a newbie to Photoshop and I have a PSD file that contains a transparent button. Now I want to duplicate that button and move it to somewhere else. When I moved it I realized that the button is transparent, and the place where I move it, has another color, so the effect is that original button changes its color in destination place. Now I want to make it nontransparent. How I can do that?
Layer → Flatten image.
I would probably leave the button transparent, but add a layer below it with the desired (or solid black with a blend option of color overlay), place the two layers in a group, and then add a layer mask (the same shape as the button) to the group. This way it is trivial to change the color of the button later by changing the color of the new layer I just created below it.