movieClip.onLoad problem

hi guys

i dont know if you already heard of this problem but if i want to set the function

mymovie.onLoad = function(){trace(“LOADED”)}

nothing works
i dont know why
cause in flash mx everthing worked correctly
what could be the problem
i have already updated my version to 7.0.1