[FMX] Dynamic button constructor

[font=Century Gothic]Is it possible to have a function call with in a for loop?[/font]
[font=Century Gothic][/font]

  for(i=0;i<someDynamicVar-1;i++){
  _root["button"+i].onRollOver = function() { 
trace(i); 
trace(imageList*);
}

[font=Century Gothic]Also is it possible to give a movieclip that has an image loaded into it, button functions? I have tried the method mentioned in a Kirupa tutorial, with no luck.[/font]
[font=Century Gothic][/font]
[font=Century Gothic]Cheer,[/font]
[font=Century Gothic]Dan[/font]