Help with calculate the exact position and scale

hey all,

ok imagen I have a movieclip (space_mc) w1000Xh1000 px ok!?

inside the space_mc I have 2 movieclips:

  • vlak1_mc (w100xh100px, _x:100,_y:100);
  • vlak2_mc (w100xh100px, _x:400,_y:400);
    ok!?

now i put the space_mc on the stage and scale it to 20%
the stage (document properties) are w800xh600

Now i want that the USER clicks on vlak1,2_mc and the space_mc scales to 100% But the clicked vlak(1,2)_mc must have the exact coordinates as in the space_mc?

so if clicked on the vlak1_mc!

the space_mc zooms in to 100% and the _x,_y of the vlak1_mc are x100,y100 on the stage(800x600)?

ok this sounds a little blury but if you know what i want please help me…

Cheers,

M

–edit 12:00

ok nobody is clever enough to understand me so take a look at this site… and that effect i want to make also…

http://matthewmahon.com/