onLoad function

Hey everyone,

I’m having a very unsuspected problem. I’ve attached this code to a frame on the main timeline. [AS]sliderMC.onLoad = function() {
this._y = 289;
};[/AS] Nothing happens but when I add the same code directly to the movieclip itself on the stage I have no problem. I was hoping someone could explain to me why this doesn’t work when attaching it to a frame. Thanks