Instance names and functions

im trying to use a function in a timeline to identify a symbol and do some stuff with it.

on the movie clip
[color=Red]onClipEvent (load) {
_root.test(_name);
}

[color=Black]on the timeline
[color=Blue]function test (name) {
name._x=300;
}[/color]

this is not working. I basically want to have about 30 movie clips that all try to use the function “test”
i do not want to put the function on the movie clip.
[/color][/color]
i’ve tried some different things, such as eval, but can’t get anything to work.

please help

jason