Έβαλα τον κώδικα στο actioncript panel, έφτιαξα ένα movie clip που να περικλείει το φόντο και το ονόμασα bg, αλλά συνεχίζει να μην ανταποκρίνεται και να μη δουλεύει

.
Postάρω τον κώδικα
import mx.utils.Delegate;
var numOfItems:Number;
var radiusX:Number = 180;
var radiusY:Number = 25;
var centerX:Number = Stage.width / 1.85;
var centerY:Number = Stage.height / 1.8;
var speed:Number = 0;
var perspective:Number = 15;
var home:MovieClip = this;
var tooltip:MovieClip = this.attachMovie("tooltip","tooltip",10000);
tooltip._alpha = 0;
var xml:XML = new XML();
xml.ignoreWhite = true;
xml.onLoad = function()
{
var nodes = this.firstChild.childNodes;
numOfItems = nodes.length;
for(var i=0;i<numOfItems;i++)
{
var t = home.attachMovie("item","item"+i,i+1);
t.angle = i * ((Math.PI*2)/numOfItems);
t.onEnterFrame = mover;
t.toolText = nodes[i].attributes.tooltip;
t.content = nodes[i].attributes.content;
t.link = nodes[i].attributes.link;
t.icon.inner.loadMovie(nodes[i].attributes.image);
t.r.inner.loadMovie(nodes[i].attributes.image);
t.icon.onRollOver = over;
t.icon.onRollOut = out;
t.icon.onRelease = released;
}
}
function over()
{
home.tooltip.tipText.text = this._parent.toolText;
home.tooltip._x = this._parent._x;
home.tooltip._y = this._parent._y - this._parent._height/2;
home.tooltip.onEnterFrame = Delegate.create(this,moveTip);
home.tooltip._alpha = 100;
}
function out()
{
delete home.tooltip.onEnterFrame;
home.tooltip._alpha = 0;
}
function released()
{
trace(this._parent.toolText);
getURL(this._parent.link);
}
function moveTip()
{
home.tooltip._x = this._parent._x;
home.tooltip._y = this._parent._y - this._parent._height/2;
}
xml.load("icons.xml");
function mover()
{
this._x = Math.cos(this.angle) * radiusX + centerX;
this._y = Math.sin(this.angle) * radiusY + centerY;
var s = (this._y - perspective) /(centerY+radiusY-perspective);
this._xscale = this._yscale = s*100;
this.angle += this._parent.speed;
this.swapDepths(Math.round(this._xscale) + 100);
}
leftbt.onPress = function() {
this.ButtonDown = true
}
leftbt.onRelease = function() {
this.ButtonDown = false
}
leftbt.onEnterFrame = function() {
if(this.ButtonDown) {
//Move Carousel
}
}
leftbt.onReleaseOutside =function(){
this.ButtonDown = false
}
rightbt.onPress = function() {
this.ButtonDown = true
}
rightbt.onRelease =rightbt.onDragOut = function() {
this.ButtonDown = false
}
rightbt.onEnterFrame = function() {
if(this.ButtonDown) {
//Move Carousel
}
}
Stage.scaleMode = "noScale";
Stage.align = "TL";
function resizeStuff() {
var imgAspect = _root.bg._width/_root.bg._height;
var stageAspect = Stage.width/Stage.height;
if (stageAspect>=imgAspect) {
_root.bg._width = Stage.width;
_root.bg._height = Stage.width/imgAspect;
} else {
_root.bg._height = Stage.height;
_root.bg._width = Stage.height*imgAspect;
}
_root.bg._x = 0;
_root.bg._y = 0;
_root.leftbt._x = Stage.width-_root.leftbt._width-10;
_root.leftbt._y = Stage.height/2-_root.leftbt._height/2; //στη μέση του ύψους του stage
}
stageListener = new Object();
stageListener.onResize = resizeStuff;
Stage.addListener(stageListener);
resizeStuff();
Δοκίμασα και χωρίς το _root, αλλά πάλι τίποτα