perchè non va questo script pubblicato con flash 8 e as 2
mentre funziona con flash 6 as2

grazie 1000

codice:
onClipEvent (load)
{
    num = 25;
    for (i = 1; num >= i; i++)
    {
        star.duplicateMovieClip("star" + i, i + 1889);
        mc = this["star" + i];
        mc.rX = (random(5) + 4) / 1000;
        mc.rY = (random(5) + 4) / 1000;
        mc._x = random(300) - 150;
        mc._y = random(150) - 75;
    } // end of for
    star._visible = 0;
}
onClipEvent (enterFrame)
{
    for (i = 1; num >= i; i++)
    {
        if (mc._x == 0 || mc._y == 0)
        {
            mc._x = random(100) + 50;
            mc._y = random(50) + 25;
            continue;
        } // end if
        mc = this["star" + i];
        mc.xAcc = mc.xAcc + (10 - mc._x) * mc.rX;
        mc.yAcc = mc.yAcc + (10 - mc._y) * mc.rY;
        mc._x = mc._x + mc.xAcc;
        mc._y = mc._y + mc.yAcc;
    } // end of for
}