# Actionscipt to hide all MCs with same prefix?

**URL:** <https://forum.kirupa.com/t/actionscipt-to-hide-all-mcs-with-same-prefix/215437>\
**Category:** Uncategorized\
**Created:** [February 7, 2007, 10:19am UTC](https://forum.kirupa.com/t/actionscipt-to-hide-all-mcs-with-same-prefix/215437 "2007-02-07T10:19:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![3dron](https://avatars.discourse-cdn.com/v4/letter/3/2acd7d/32.png) [@3dron](https://forum.kirupa.com/u/3dron)\
**Post date:** [February 7, 2007, 10:19am UTC](https://forum.kirupa.com/t/actionscipt-to-hide-all-mcs-with-same-prefix/215437/1 "2007-02-07T10:19:03Z")

</div>

How can I easily hide all my layers that begin with “opt\_” onLoad of an swf?

I want any easy function I can put in a bunch of different swfs, that will always hide the instances of MCs with certain “wildcard” names?

Ron R. Jr.
