Ok, I've got to be missing something basic here. I am
trying to load and center a movieclip to the stages
center. I cannot control the registration points of
the loaded movie clips so I have tried to make use of
Darron Schall's DynamicRegistration class, but
something is awry.
====================================
_global.loadWrongMovie = function(mc){
movie_mc = attachMovie(mc, mc+"2", 142);
movie_mc.stop();
DynamicRegistration.initialize(movie_mc);
movie_mc.setRegistration(0, 0);
movie_mc._x2 = Stage.width/2 - movie_mc._width/2;
movie_mc._y2 = Stage.height/2 - movie_mc._height/2;
}
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
[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