PDA

View Full Version : Proximity - PLEASE HELP - I just need some direction!



ultrapyro
November 29th, 2009, 05:14 PM
So I have seen this done a million times in as2, but its basically what the mac OSX doc uses... but I can't seem to figure it out in as3.

All I what need to do is have like 8 MC's get a little bit larger based on distance. Any ideas?


Thank you for your help. I am truly at a loss here!!

:batman::batman::sure::kir::kir:

Aurelien
November 29th, 2009, 11:36 PM
What exactly are you having issues with ?

- calculating the distance between two points ?
http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/geom/Point.html#distance()
- changing movieClips scaling ?
http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/display/DisplayObject.html#scaleX
- any other issue ? Please be more specific...