Well, only when the mc is in the centre of the stage and when the left edge of the mc is at the 0-coordinate ;-) mc.x + mc.width/2 is the x-coordinate of the centre (when the left edge of the mc is at the 0-coordinate) Carry on. Draw it and use real values to test your formulas. HTH Willem
On 27 dec 2011, at 14:25, natalia Vikhtinskaya wrote: > Thank you. I know that (stage.width-mc.width)/2 gives me center point > for mc that is on the stage. But I have different situation. mainMc > has 20 mcs for example. Clicking on any of that mc I should move and > zoom mainMc and that movement based on the position of the mc that is > inside mainMc. How to calculate that or I need another way of > looking? > > 27 декабря 2011 г. 15:32 пользователь Henrik Andersson > <[email protected]> написал: >> natalia Vikhtinskaya skriver: >>> How to make calculation? >> >> Call up your favorite math teacher and ask him/her to teach you basic >> geometry and per cent again. >> _______________________________________________ >> Flashcoders mailing list >> [email protected] >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= Geografiek is een in Utrecht gevestigd kartografisch bureau Willem van den Goorbergh is telefonisch bereikbaar onder nummer 030-2719512 of mobiel: 06-26372378 postadres: Hooghiemstraplein 89 3514 AX UTRECHT Bezoek onze website op: www.geografiek.nl twitter: @wvdgoorbergh =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

