Flash: dynamically adding events code to instances possible?
- by Kohan
I want to make a movieclip invisible initially but i dont want to set it manually within the properties in flash because i cant then see it on the scene.
I was hoping i could add some code like so:
MC Frame one.
this.onClipEvent(load)
{
this._alpha = 0;
}
but I cannot. How can i set the MC _alpha to 0 for all instances without adding it manually to each instance or setting it in the properties?
edit: or creating a class for it just to set the alpha.