I have onEnterFrame function that calls a function on the root of the class
public function PlayNext(){
_mcList[_currentVid].onEnterFrame = function() {
//trace(this + ": " +"On enter frame");
if (this._currentframe == this._totalframes) {
trace(this+"reached the end");
SetCurrentVideo();
}
}
}
public function SetCurrentVideo(){
trace("SetCurrentVideo");
}
but the function is not being called :S any ideas
Thanks in advance