# Interfaces for variables?

**URL:** <https://forum.kirupa.com/t/interfaces-for-variables/302579>\
**Category:** flash\
**Created:** [January 3, 2010, 11:25pm UTC](https://forum.kirupa.com/t/interfaces-for-variables/302579 "2010-01-03T23:25:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alpha\_Remex](https://avatars.discourse-cdn.com/v4/letter/a/779978/32.png) [@Alpha\_Remex](https://forum.kirupa.com/u/Alpha_Remex)\
**Post date:** [January 3, 2010, 11:25pm UTC](https://forum.kirupa.com/t/interfaces-for-variables/302579/1 "2010-01-03T23:25:59Z")

</div>

Is there any way to create a sort of interface for variables? In other words to enforce a class to create and use a variable if they implement an interface or subclass something?
