container_mc.loaded_mc._x = -(container_mc.loaded_mc._width/2)
container_mc.loaded_mc._y = -(container_mc.loaded_mc._height/2)

its a bit verbose - but its so you get the idea.

ed


On 11/9/05, Lehr, Theodore M. <[EMAIL PROTECTED]> wrote:
>
> Thanks to all who helped with getting the loaded jpgs resized - indeed
> it was that they were not loaded when I tried to resize them...
>
> Now for another question - how can I get the image centered onto the mc
> it is loaded into - does this make sense - so if I have the mc x,y at
> 0,0 the
> top left of the image is at the top left of the mc - I would like the
> image centered onto the mc so that if it is too large then (I am masking
> it) an equal amount is left off of each edge...
>
> Hope this makes sense....
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to