# \[Flash 8 Class\] Variable Alias no longer working

**URL:** <https://forum.kirupa.com/t/flash-8-class-variable-alias-no-longer-working/196465>\
**Category:** flash\
**Created:** [August 8, 2006, 5:24pm UTC](https://forum.kirupa.com/t/flash-8-class-variable-alias-no-longer-working/196465 "2006-08-08T17:24:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![function82](https://avatars.discourse-cdn.com/v4/letter/f/8797f3/32.png) [@function82](https://forum.kirupa.com/u/function82)\
**Post date:** [August 8, 2006, 5:24pm UTC](https://forum.kirupa.com/t/flash-8-class-variable-alias-no-longer-working/196465/1 "2006-08-08T17:24:01Z")

</div>

I like to make alias varaibles for long names, so that i don’t have to keep repeating huge lines of text, but when i try to create one for a custom class, it fails.

```auto

Clients["Client"+i] = new Client();
var Client:Object = Clients["Client"+i]

```

Its almost as if flash is trying to make the new variable a new Project(); instead of a reference to the other variable…

any suggestions?
