# Flex and linkage names

**URL:** <https://forum.kirupa.com/t/flex-and-linkage-names/298457>\
**Category:** flash\
**Created:** [October 19, 2009, 2:32pm UTC](https://forum.kirupa.com/t/flex-and-linkage-names/298457 "2009-10-19T14:32:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nook](https://avatars.discourse-cdn.com/v4/letter/n/90ced4/32.png) [@nook](https://forum.kirupa.com/u/nook)\
**Post date:** [October 19, 2009, 2:32pm UTC](https://forum.kirupa.com/t/flex-and-linkage-names/298457/1 "2009-10-19T14:32:20Z")

</div>

If you try to add an object out of an linkagename in Flex you get errors. Like:  
1180: Call to a possibly undefined method [linkage name].

If I don’t want to create classes for every library symbol I’d like to add, is there any other way/praxis of doing this besides using ‘getDefinitionByName’, so that I won’t get errors in Flex?
