Search code examples
flashactionscript-3movieclip

How do you address a named instance of a movieclip from the class file of the movieclip?


I have a movieclip instance named 'placeholder' on the canvas, and I want to change the alpha of the named movieclip from it's class without effecting the alpha of all the movieclips of the same type. How would I specifically target the named movieclip instance that is on the canvas?


Solution

  • Just use the script:

    placeholder.alpha = someValue;