# How to Call a Variable from a Class to Fla?

**URL:** <https://forum.kirupa.com/t/how-to-call-a-variable-from-a-class-to-fla/332474>\
**Category:** flash\
**Created:** [June 22, 2014, 9:21pm UTC](https://forum.kirupa.com/t/how-to-call-a-variable-from-a-class-to-fla/332474 "2014-06-22T21:21:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nikel](https://avatars.discourse-cdn.com/v4/letter/n/b782af/32.png) [@nikel](https://forum.kirupa.com/u/nikel)\
**Post date:** [June 22, 2014, 9:21pm UTC](https://forum.kirupa.com/t/how-to-call-a-variable-from-a-class-to-fla/332474/1 "2014-06-22T21:21:10Z")

</div>

Hello,  
I’ve class file named Meters.as I need call an array variable from the Meters.as to main fla.  
My class file is located at here: [http://sudrap.org/paste/text/336578/](http://sudrap.org/paste/text/336578/)

Here’s my code:

```auto
var meterArr:Meters = new Meters();
trace(meterArr.meterArray[0, 0]);

```

This code gives me error 1119. How can I fix that?
