Easy code fix plz help i cant figure how to

i’ve been using the equillibrium code that centers an object between 4 other objects, but when you put the 4 objects inside of another symbol it messes up and i have all the roots right. If you look at the .fla you will be able to see how easy the code is ( its in the square) but it wont work.

sorted you out via email…
if ne1 wants to know, heres the prob he was havin:

  1. you had

_root.ball1.1._x+_root.1.ball2._x…

notice the difference to the path for ball 1?

  1. the mc your balls were in didnt actually have an instance name…
    but i gave it an instance name = the symbol name which led to problem
    3:

  2. flash does not like instance names starting with numbers. so i
    named your balls mc

a1

changed the paths and hey presto…it works… ish… which leads to
secret problem number 4! lol

dont forget that in an mc a symbols xy values are calculated from the
registration point, so to get it to be a “true” equilibrium, you have
to ensure that your balls mc has a registration point at the top left
hand corner of your document :wink:

Prophet.