ciao ho riprovato...
mi funziona solamente collegando l'oggetto come _root
ti posto il codice.
this._parent.attachMovie("pd2", "p2", 4);
var t021:Tween = new Tween(this._parent.p2, "_x", None.easeOut, 0, 300, 3, true);
t021.onMotionChanged = function()
{
perc = int((_root.p2._x / 300) * 100); // cioè, posizione attuale / la totale * 100, un pò come il preload!
if(perc == 50)
{
trace ("meta");
}
}

Rispondi quotando