# "Tagging" files

**URL:** <https://forum.kirupa.com/t/tagging-files/225180>\
**Category:** flash\
**Created:** [May 9, 2007, 2:04pm UTC](https://forum.kirupa.com/t/tagging-files/225180 "2007-05-09T14:04:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adbul](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@Adbul](https://forum.kirupa.com/u/Adbul)\
**Post date:** [May 9, 2007, 2:04pm UTC](https://forum.kirupa.com/t/tagging-files/225180/1 "2007-05-09T14:04:38Z")

</div>

Hi!

Im wondering if its possible to “tag” a file with a string and then use that string to call all object containg it.

for example:

enemy1\_mc = deadly  
enemy2\_mc = deadly

function hitCheck() {  
if (ball1\_mc.hitTest(deadly)) {  
kill\_mc.play  
}

Thanks in advance

A
