var mc = this["btn" + i];
mc is your target.
mc.onRollOver = function() {};
The issue you might have is that you cannot assign functions and certain
properties to a movieclip you are going to loadMovie on because as soon
as the movie is loaded, it overwrites all the methods and properties you
assigned to it except for certain things like _x/_y/_alpha, etc.
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com