Expression: Obj 2 moves right when Obj 1 moves left.???

Hello.
I having trouble trying to come up with an expression that would allow me to move OBJ 2 to the right when OBJ 1 moves to the left.  Obviously when I parent one of the objects to the other and move to either side the both end up moving in the same direction.  Does anyone have an expression for this or perhaps can lead me to a helpful link that would educate me.
Thanks in advance.

Depends on the setup and what actually the "objects" are. You know, shape layers have different coordinate logic than normal layers for instance... Generally it one would subtract the position of Obj 1 from anchor point or composition center and then adding/subtracting it to/from Obj 2. Something like this for an X axis mirroring across the comp middle:
mHalf=thisComp.width*0.5;
mRef=thisComp.layer("Obj A");
mDiffX=mRef.position[0]-mHalf;
mPosX=mHalf-mDiffX;
X=mPosX;
Y=value[1];
Z=value[2];
[X,Y,Z]
Also consider that many setups with perfect symmetry could just as well be done by using Effect --> Distort --> Mirror, assuming the shape is in itself symmetrical and the flipping would not show...
Mylenium

Similar Messages

  • Header : Page number doesn't stay on right when title is on left

    Hi!
    I try to make a simple header with the title of the article on the left and the page number on the right. I type the title on the left side then press TAB to go on the right side. But when I add the page number code, the page number goes to a third line on the left. I try to use Backspace to make it go on the right of the first line but it never works. Why is so?
    Thanks,

    In my blank document a right-aligned tab is set by default in the header. It sounds like you might be pressing tab more than once before inserting the page number which will force the page number to another line.

  • When a file .swf reproduces in navigator of right Internet before loading is left the space of .swf

    when a file .swf reproduces in navigator of right Internet before loading is left the space of .swf in target,  like solving? thanks

    from the Premiere Pro Help section about importing SWF files:
    " Interactive content and scripted animation are not retained. Animation defined by keyframes in the main, top-level movie is retained."

  • I have an airport extreme attached to cable, then one airport express to extend the range. when i try to add an additional airport express to extend range in another area of house, can't get it to work. unility says it has found a new base station

    i have an airport extreme attached to cable, then one airport express to extend the range. when i try to add an additional airport express to extend range in another area of house, can't get it to work. utility says it has found a new base station and asks if i want to use it. if i click yes, then the old setup is disabled.

    Ok, thanks for clarifying which models you have. Please see the following Apple Support article on how to configure these older base stations for a Wireless Distribution System (WDS).

  • HT1600 I have an Apple TV 2nd Gen, iPad 2 and can't get the icon to appear when i swipe from left to right. What am I missing? I am able to get the 'Home sharing' 'user and password on my Mac.

    I have an Apple TV 2nd Gen, iPad 2 and can't get the icon to appear when i swipe from left to right. What am I missing?
    I am able to get the 'Home sharing' 'user and password on my Mac.
    Also using IPad 2 I am able to get the ITunes to accept the user name and same password as the Mac.
    However, the only way I can see the 'Home sharing; icon is in Music on the Ipad. When I tap on the Icon it asks for a password.
    When I give the same password, it is rejected.
    Help!!!!
    Jaxxdiggs

    Personally I think the iOS devices are poor at reconnecting  - Airplay establishes that a link is available but when the iPhone/iPad has been away from the house and rejoins the network i think AppleTV already thinks it's connected with a different IP address and fails to recognise it has joined the network again with new credentials.
    Something along those lines anyway.
    I find that a combination of restarting AppleTV, router and iOS device tends to fix it, but not for everyone.
    AC

  • Hi I am from Spain and I am new on Macworld, recently I have bought a Mac Book pro, the keyboard is not configured rightly when I have to write @ I have to press g instead of @ key , how can I solve this problem ?. Thanks in advance.

    Hi ,
    I am from Spain and I am new in MacWorld, recently I have bought  a MacBook Pro , but teh keyboard is not configured rightly, when I want to write @ I have to press g instead of the @ key, or the symbol for questions ?, I have to press :: key. Please how can I solve this problem ?. Thanks in advance.
    BR,
    XAvier

    xavier85 wrote:
    I am new in MacWorld
    Sorry to disappoint you, but this isn't MacWorld.
    when I want to write @ I have to press g instead of the @ key
    Are you sure you don't have to press ⌥-G (Option-G) to get @?
    Anyway, sounds like a keyboard/keyboard layout mismatch.
    Go to System Preferences > Language & Text > Input Sources. From "Select input methods to use" enable (check) the following
    Keyboard & Character Viewer
    U.S.
    Spanish
    Spanish - ISO
    Also enable "Show Input menu in menu bar".
    The Input menu should appear to the right of your menu bar, with the icon of a national flag. From this menu, choose "Show Keyboard Viewer". Then compare the layout displayed by Keyboard Viewer with the label on your MBP's keyboard. If it doesn't match, choose a different layout from the Input menu.
    My suspicion is that you're using a US keyboard with a Spanish keyboard layout, hence the difference you noted.

  • I have an Airport Express, which flashes amber, but when I go to manual set up, it says there's an error and tells me to close configuration?

    I have an Airport Express, which flashes amber, but when I go to manual set up, it says there's an error and tells me to close configuration? Once I complete that, the same thing occurs, and there's another error message?

    Is this a new AirPort Express, or one that you have had for some time that has now developed problems?
    What function do you want the Express to perform on your network?

  • HT204093 the body of my email does not appear to the right when I select a mail message.

    The body of incoming mail messages do not appear to the right when I select a mail message?
    Anybody know how to adjust this?
    Jgm

    Hello!
    Please try these steps: Can't see email message content

  • How do i create a gallery page that you can click on an image, expand it and move left or right to see more images?

    How do i create a gallery page that you can click on an image, expand it and move left or right to see more images?

    You may use slideshow widgets to achieve this. For more details : Adobe Muse Help | Working with Slideshow widgets

  • My creative cloud desktop screen is blank. I apparently have a OOBE problem but my chat session was interupted  right when I was getting the steps to fix it.

    My creative cloud desktop screen is blank. I apparently have a OOBE problem but my chat session was interupted  right when I was getting the steps to fix it.

    >desktop screen is blank
    Or, the steps in these links
    BLANK Cloud Screen http://forums.adobe.com/message/5484303 may help
    -and step by step http://forums.adobe.com/thread/1440508?tstart=0
    -and http://helpx.adobe.com/creative-cloud/kb/blank-white-screen-ccp.html

  • IViews Links Shifted to the Right when using Firefox

    Hi,
    We are using SAP Netweaver Portal 7.0 and have created multiple portal themes.  With one of the themes we created, it looks that the iViews links that appear in the the detail navigation of the portal are shifted to the right when using firefox.  There are no issues however with the sap standard theme.  Please let me know what theme properties may cause the iViews links to be shifted to the right when using Firefox.
    Thank you,
    Ghizlane Idrissi

    Hi Rahul,
    I understand the limitations with Firefox.  However, i experience this issue only with the theme we created.  With the standard SAP theme, the issue is not there. That tells me that the issue is with the theme we created.  I just can't find what specific property in the theme editor is causing that. Any thoughts?
    Thank you.

  • How come when i copy txt left aligned indesign keeps on pasting the txt right aligned?

    I had to use a indesign english-arabic for a while (turned back to english international afterwards). Ever since i did that when i copy txt left aligned indesign keeps on pasting the txt right aligned. it is mind boggling & very annoying. i've put all my prefs back to my regular dutch setting, but even when i past with a paragraph style left aligned it keeps on putting it right aligned... Help.

    wmodist wrote:
    but the i loose all my styles...
    It should paste with wahtever style is assigned at the insertion point when you paste without formatting... Pasting formatted text is going to bring all the formatting (including what will become local overrides) with it.
    Is your text showing the + sign to indicate a local override of the style? If it is you can clear the overrides after pasting.

  • How do you fix the ipod when its not playing the music right when it makes noise

    How do you fix the ipod when its not playing the music right when it makes noise

    Hi Nicole,
    Try resetting it (nothing will be lost): Hold down the Home and Power buttons at the same time and continue to hold them down until the Silver Apple appears (up to 30 seconds). The Home screen should redisplay after the reset is complete.
    Cheers,
    GB

  • Insufficient Access Rights when trying to modify send as permissions on a public folder

    Where I work, we have 2 mailbox database servers and 2 cas servers on Exchange 2010, upgraded from Exchange 2003. We are finding that when trying to grant a user send as rights to a publlic folder we are getting an Insufficient Access Rights error. The
    bizzare thing is for one particluar folder we can amend the send as rights with no issue on one of the cas servers but not the other cas or either db servers.
    You would have thought if it was a user permissions issue i.e the adminsitrator not having sufficent rights it would fail on every server and likewise if it was a problem with the folder itself, why is it working on one of the cas servers? Also on
    the one server this particluar folder does allow us to amend the rights, when we try to amend others we get the same error 
    If anyone has come accross this before and knows a fix please share it.
    Thanks

    Hi,
    Please check the ownership of the affected public folder to make sure it points to the right server.
    Here is a similar thread which may help you, please following the suggests in this thread to check result.
    https://social.technet.microsoft.com/Forums/office/en-US/0960b944-82b2-42f1-b438-a7d57b7ab783/insuffaccessrights?forum=exchangesvrgenerallegacy
    Best regards,
    Belinda Ma
    TechNet Community Support

  • The speaker is used when im using my phone in speaker phone mode or listen to music.This speaker is only the right  side hole  and the left one is mic

    The speaker is used when iam using my phone in speaker phone mode or listen to music.This speaker is only the right side hole and the left one is micophone?

    Correct. As indicated in response to your duplicate post.
    Stedman

Maybe you are looking for