OK, I have Flash MX and the book I have "ActionScript for Flash MX" says this code should work, why doesn't it is the question? This is the code on a movie clip:
onClipEvent(load) {
this.onRollOver = doCommand();
}
and the function is defined on main timeline (_root) in Frame 1 as follows:
function doCommand() { trace("hi"); }
furthermore, why do I even need the "onClipEvent" code? the way the book suggests is that I should only need to say "this.onRollOver = doCommand();" on the movie clip, but I get an error if I don't put it within the "onClipEvent"

anybody?