Problem with function scope

[FONT=verdana, arial, helvetica][SIZE=2]hi!
this is first time i came on this kind of a problem. i can not run the function inside of a movie that was attached (i want to run it after attaching). what did i do wrong??? i realy dont know what could be a problem… did someone had a similar problem?

newsPeice movie has a linkage and function that has to be run is on the main timeline of the newsPeice movieClip

here is the code:

item_count = 0;
function CreateNews() {
for (var i = 0; i<100; i++) {
var newsPeice_mc = newsContainer_mc.attachMovie(“newsPeice”, “newsPeice_”+item_count, item_count);
newsPeice_mc.runFunctionForLoadingPicture();
}
}[/SIZE][/FONT]