# Whats my mistake here?

**URL:** https://forum.kirupa.com/t/whats-my-mistake-here/210915
**Category:** Uncategorized
**Created:** [December 23, 2006, 8:56pm UTC](https://forum.kirupa.com/t/whats-my-mistake-here/210915 "2006-12-23T20:56:57Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![cosmicloverocks](https://avatars.discourse-cdn.com/v4/letter/c/dfb087/32.png) [@cosmicloverocks](https://forum.kirupa.com/u/cosmicloverocks)
#### Post date: [December 23, 2006, 8:56pm UTC](https://forum.kirupa.com/t/whats-my-mistake-here/210915/1 "2006-12-23T20:56:57Z")

</div>

the backGround dont change at all

and the circle dont move at all…

tnx for the help

```php
package {
    import flash.display.Sprite;
    import flash.display.StageAlign;
    import flash.display.StageScaleMode;
    import flash.events.Event;
    
    [SWF(width="500", height="400", backgroundColor="#ffffff")] 
    public class EmbedAssets extends Sprite
    {
        [Embed(source="library.swf", symbol="circle")]
        private var Circle:Class;
        
        public function EmbedAssets()
        {
            
            stage.scaleMode = StageScaleMode.NO_SCALE;
            stage.align=StageAlign.TOP_LEFT;
            
            var circle:Sprite = new Circle();
            addChild(circle);
            circle.x=200;
            circle.y=200;
            
            circle.addEventListener(Event.ENTER_FRAME, onEnterFrame);

        }
        
        public function onEnterFrame(evt:Event)
        {
            _parent.circle.x+=5;    
        }
    }
}

```
