# Passing variable from class file to fla

**URL:** <https://forum.kirupa.com/t/passing-variable-from-class-file-to-fla/253359>\
**Category:** Uncategorized\
**Created:** [February 29, 2008, 2:28pm UTC](https://forum.kirupa.com/t/passing-variable-from-class-file-to-fla/253359 "2008-02-29T14:28:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![adfa](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@adfa](https://forum.kirupa.com/u/adfa)\
**Post date:** [February 29, 2008, 2:28pm UTC](https://forum.kirupa.com/t/passing-variable-from-class-file-to-fla/253359/1 "2008-02-29T14:28:13Z")

</div>

i have tried all manner of things. you must be able to do this but i don’t seem to work it out.  
i thought setting the var as public might do it but no.  
i don’t understand get and set but think they may do it also.  
i want the fla file to execute code based on the value of a variable in the class file (.as).  
any thoughts?
