# Singleton display objects

**URL:** <https://forum.kirupa.com/t/singleton-display-objects/240440>\
**Category:** flash\
**Created:** [October 2, 2007, 11:58pm UTC](https://forum.kirupa.com/t/singleton-display-objects/240440 "2007-10-02T23:58:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![axiomflash](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/axiomflash/32/3952_2.png) [@axiomflash](https://forum.kirupa.com/u/axiomflash)\
**Post date:** [October 2, 2007, 11:58pm UTC](https://forum.kirupa.com/t/singleton-display-objects/240440/1 "2007-10-02T23:58:46Z")

</div>

Wow thats a boring title!

I am trying to create a singleton class, that extends Sprite. It seems to work correctly, but it doesn’t actually update the screen.

If I access my instance and change the properties (x,y,alpha,etc) they will all update, but the display doesn’t change.  
eg:  
My clip starts at x=0.  
MyClass.getInstance().x = 99;  
trace(MyClass.getInstance.x); //traces 99, but it still appears at 0 on the screen.

I’ve tried a ton of variations on this and keep getting the same result. Am I misunderstanding something about Singletons?
