the backGround dont change at all
and the circle dont move at all…
tnx for the help
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;
}
}
}