Is there a way to scale down the movement of a parented object, while keeping it on the same path as the parent?

I have three elements in my comp--a foreground element, a mediumground element (a tree), and a background element (the sky). I want to parent
the medium and background elements to the path of the foreground element--but since they are farther away form the camera, they would not move
as much as the foreground layer. Is there a way to parent these two layers to the foreground element, and then scale back the percentage of their movement?

I think you are making this much too difficult. If you have foreground, middle ground, and background layers make them all 3-D and arrange them in 3-D space then add a camera and move the camera. Your parallax shift will be automatic and perfect if you arrange the layers properly.
As you move the layers in z space you can scale them up so your composition looks right. You can't even use a simple expression to tie the distance of the layer to the camera to automatically fix the scale.
If you want to just move a layer on the x axis half as far as the foreground layer moves in x then the expression would look like this:
mlx = thisComp.layer("master").position[0];
sf  =  .5 // scale factor;
nx = mlx * sf;
[value[0] + nx, value[1]]
In English this expression says mlx equals the master layer x value
The scale factor (sf) is 50% experssed as a decimal
The new x value (nx) is equal to the master layer x position times the scale factor
Then you just write an array for the original x value plus the new x value  and take the existing y value from this layer.
This expression gives you the opportunity to keyframe both the X and Y position of the layer.  If I wasn't typing this post on my phone I would've taken the time to subtract the master layer X and Y position from Half of the comp height and width so the following layer would not have to be brought back into position after writing the expression.

Similar Messages

  • Is there a way to slow down the playback of video in Captivate 5?

    I just made several recordings (FMR) and would like to slow them down for the viewer.  The video was actually of someone else's software demo that moved way too fast.  On the Captivate skin there is "2x" to move the video twice as fast, but no "1/2x".  Is there another way to slow down the video?
    Thank you!

    No.  Not there.  Honest.
    When I go to  Edit + Preferences, I see a menu on the left.
    General Settings:
    Show Welcome Screen (checked)
    Generate Project Backup (unchecked)
    Default Locations (I set this to my output folder)
    Project Cache (I set this to my C:\ drive)
    Comments At:  (blank)
    Grid Size: 16
    Spelling Preferences
    Confirmation Messages
    Defaults:
    Background Color: white
    Object Defaults:
    Select: Text Caption (or highligh box, or image, or smart shape)
    Display For: Specific Time   3 secs
    Default Style: Default Caption Style
    Restore Selected Button
    Restore All Button'
    General
    Autosize buttons
    Autozize Captions
    Calculate Caption Timing
    Recording:
    Settings:
    Generate Captions in: English
    Audio Options:
    Narration
    Actions in Real Time
    Camera Sounds
    Hide:
    Recording Window
    Task Icon
    System Tray Icon
    Others: Move New Windows Inside recording Area
    Smoothen movements for:
    Drag and Drop Actions
    Mouse Wheel Actions
    Video Demo Settings button:Video Demo Recording
    Show mouse in video demo mode
    Working folder (mapped to my C:\ drive)
    Keys
    To stop recording: End
    For Automatic panning: F4
    For Manual Panning: F3
    To stop panning: F7
    To snap recording window to mouse: F11
    To toggle mouse capture in video mode: F12
    restore Defaults button
    Project
    Information
    Author
    Company
    E-mail:
    Website:
    Copyright:
    Project Name:
    Description:
    Publish Settings:
    Include Audio (checked)
    Publish Audio as Mono (checked)
    I don't see anything in the whole menu that says anything about fps.  What am I missing?  Thanks!

  • Is there a way to track down the cause of crashes in SAFARI?

    Not long ago I was able to eliminate one type of crash I had been having in SAFARI by following a suggestion made in this forum. Those crashes, however, were of the type that generated a 'crash report.' So they left a kind of 'paper trail' as to what was causing them.
    More recently I have been having frequent crashes that don't result in such reports. These crashes occur apparently randomly when I mouseclick on a link. The spinning beach ball appears on-screen and never leaves.
    Is there a way to find out exactly what is causing these crashes?
    Thanks.

    Hello Michael:
    I have not yet seen a
    good approach to using that information (short of
    deleting the account).
    better search some yourself Barry <G>
    if something runs fine in another account - one can isolate the cause to one of the plist files in the main acct Home/Library/Preferences/ or possibly an add-on in Home/Library/Internet Pug-Ins or ...Input Managers for example.
    If there is the same problem in the new acct - you can discount anything with the main acct user library - plists,caches,plugins,input managers, the whole lot.
    A useful tool is Console - found in Applications/Utilities/ keep it running while the 'problem' in question crops up & see if any messages pop up in either the system log or console log. Sometimes these will point straight at the problem area, other times no help at all.

  • Any way to slow down the automatic ambient light adjustments

    Is there any way to slow down the automatic ambient light adjustments? My local Starbucks has point-source lighting and as I move my head to the right or left my monitor grows brighter and dimmer. I don't want to turn it off completely because I appreciate the function, I just wish it could be a bit less aggressive.

    Sorry I do not have an answer for you but I have noticed the exact same problem in other situations... Ever since they moved the light sensor from beneath the speaker grille to the top of the monitor I have not been enjoying the screen brightness auto adjustment feature as much as I feel it takes a light measurement from in front of the computer not ABOVE it (which is generally where the light is consistently coming from)

  • When I am talking on the phone, is there a way to shut off the screen so my face does not press buttons?  I am using an Iphone 4.

    When I am talking on the phone, is there a way to shut down the screen so that my face does not touch the buttons?

    It is supposed to shut off on its own. Some users have reported cases or screen covers that have interfered with the proper functioning of the proximity sensor. If you've removed those and cleaned the screen and still have the same problem you may have a defective proximity sensor. You may find more information by doing an internet search for "iphone proximity sensor."

  • I bought and downloaded the Movie Hannah on my iPad, but it only plays about 2/3 and freezes... Is there a way to re-down load?

    I bought and downloaded the Movie Hannah on my iPad, but it only plays about 2/3 and freezes... Is there a way to re-down load?

    If your country's iTunes Store allows you to redownload purchased tracks, I'd delete your current copy of the track and try redownloading a fresh one. See the following document for instructions:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Otherwise, I'd report the problem to the iTunes Store.
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the item that is not playing properly. If you can't see "Report a Problem" next to the item, click the "Report a problem" button. Now click the "Report a Problem" link next to the item.

  • I accidentally threw away the box with my serial number before registering the product. I am new to adobe so I didn't realize I would need it. Is there a way to track down my number?

    I accidentally threw away the box with my serial number before registering the product. I am new to adobe so I didn't realize I would need it. Is there a way to track down my number?

    Barbara B. wrote:
    There is one faint glimmer of light. Depending on where you bought PSE you might have gotten a redemption code rather than a serial number. If you didn't also throw away your receipt, check that for a code. Then go here, if you find one:
    Redemption Code Help
    But otherwise, I'm afraid you are out of luck, sorry.
    Barbara,
    It has been months since I visited here.  Your patience is still intact!  I have your wonderful PSE 11 book on my Kindle now.  Thanks for the good work.

  • I want to buy a new apple tv but it used hdmi cables and my house is only wired for analog.  Is there any way I can use the apple tv on analog cables?

    I want to buy a new apple tv but it used hdmi cables and my house is only wired for analog.  Is there any way I can use the apple tv on analog cables?

    Welcome to the Apple Community.
    It's do-able, but I don't think it's a great idea.
    DVI
    Some users with DVI have managed to get their TV's to work with DVI-HDMI cables. DVI carries no audio, so alternative connections need to be explored to enable audio. DVI doesn't necessarily support HDCP as well as other standards used by HDMI (which may or may not be an issue)
    Analogue
    There are hardware converters that will convert HDMI to various other types of output, however there are some issues with doing so that you should be aware of.
    HDCP
    HDCP compliant converters will not allow you to watch HDCP protected content such as that from the iTunes Store. Non compliant converters exist but we cannot discuss them under the Terms of Use for these communities.
    Resolution and aspect ratio
    I'm not aware of any converters that will scale the output from the Apple TV, any TV or projector which is used will need to be widescreen and support resolutions of 720p (Apple TV 2), 720p/1080p (Apple TV 3)
    DAC
    DAC (Example Only - Not a recommendation or suggestion that this is suitable in your circumstances)

  • Hi, my iphone 5 (latest software) has put itself into recovery mode all on it's own today AFTER I took video of my kids and easter egg hunt.  Is there a way to back up the phone prior to restoring it?New HDD (old 1 dead so no Bup)

    Hi, my iphone 5 (latest software) has put itself into recovery mode all on it's own today AFTER I took video of my kids and easter egg hunt.  Is there a way to back up the phone prior to restoring it?New HDD (old 1 dead so no Bup)

    Thanks Chris   The phone has been great until this morning.  When using the camera it seemed to shut down, then it was just looping the restart, and finally into recovery   It never rains but pours   Thanks anyway
    BTW, the phone has never been jailbroken or anything.  Stock standard

  • Downloading an app on to my iPad mini takes 15 minutes or more. Is there a way to speed up the process?

    Downloading an app on to my iPad mini takes 15 minutes or more just for one app is there a way to speed up the process?

    Maybe your internet is very slow.
    Try reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • Is there a way to speed up the response time from the dock

    Is there a way to speed up the response time for external hard drives from the dock? I have three external HDs but when I click on the alias in the dock there is always hesitation before it opens. I'm leaning towards the fact that it is just a result of the fact that the speed of the Mac is what it is. But, maybe there is something I can do to speed it up. The drives are plugged via usb directly to the Mac and they have there own power source. The curious thing is that they once were plugged into a large separately powered USB hub and I don't recall a lag like I have now. Any thoughts? Thanks...
    Message was edited by: gfann18

    Have you got the drives set up to spin down when not in use?
    Have a look at the Energy Saver settings in System Preference on the Mac.
    Make sure the "Put the Hard Discs to sleep when possible" box is not ticked.

  • Is there a way to speed up the pace of the video (watch in fast-forward) I am watching?

    I am watching a class lesson that is 3 hours long and my teacher talks extremely slow. Is there a way to speed up the pace of my video? I know on some video players you can watch a video in 1.5, 2.0, 2.5 etc. levels of fast forward.

    Have you got the drives set up to spin down when not in use?
    Have a look at the Energy Saver settings in System Preference on the Mac.
    Make sure the "Put the Hard Discs to sleep when possible" box is not ticked.

  • Is there a way to automatically open the Activity Viewer & make it float?

    I just upgraded from Panther Mail, and I really miss knowing what was going on and having to constantly open the activity viewer and reordering the windows every time I do something. Is there a way to somehow make the activity viewer open with mail each time and keep it floating above the other windows (so I can have an indication of what's going on like in Panther Mail)?
    I'm afraid I'm going to shut mail down in the middle of a crucial activity. No doubt that might well be behind all the problems that develop with it over time.
    Thanks!

    I had two problems relating directly to the Tiger upgrade, one I solved with help here. That was importing saved mail that failed to be imported into one mailbox, the saved messages were showing up as IMAP messages ("haven't been downloaded from the server yet"). When both my accounts were POP, I never even had an IMAP account. I solved that and everything else with mail is fine now, except I want to see what's going on like I was able to in Panther. I especially miss not seeing outgoing mail sent progress, especially with long messages.
    The other issue was font related, and I still cannot get Fontbook to save the fonts I have disabled, so I just removed the duplicates manually (leaving the ones in the system folder as the defaults). As long as I don't open fontbook again, and it doesn't automatically re-enable the fonts, my system is fine. I will leave it alone now for a couple of years like I was able to in Panther. I have over 3000 fonts installed and available at all times which I need for my print work.
    Other than that and a 25 minute log-in time (as it reads the fonts; in Panther it was 7 minutes and I learned to live with that) everything is finally ok.
    The long log-in might also be Spotless related; I don't know enough about it to figure it out; all I know is if it is, it is a small price to pay for the way the system flies not having to index all my loaded drives all the time, not to mention the wear and tear on my drives.
    Tiger is so much faster than Panther (once I shut down Spotlight) it's like having a processor upgrade. Once you work out all the glitches, it's definitely worth the money and time put in. I was very careful with the install... counting backup time the usual precautions and updates to everything afterward (including third-party programs), it took over 30 hours.
    Thanks!

  • Is there any way to hook into the SQL report pagination process?

    I have a SQL report (based on EMP) with a radiogroup row selector.
    The scenario 1 and 2 are in place
    1) When the employee row radio group is clicked the P900007_JOB the text item is populated with the JOB for the employee.
    2) When the page is initially displayed or submitted via the button the first row’s radio group is programmatically clicked and therefore populates the additional job information in P900007_JOB
    Info (radio Group) Employee No Name
    (+) 7369 SMITH
    () 7499 ALLEN
    () 7521 WARD
    P900007_JOB CLERK
    1-3 Next>
    Once the report has been displayed and the next or previous pagination is used then none of the radio groups will be selected and the data in the P900007_JOB text item will still display the job of the last selected employee row.
    What I require is on pagination some sort of mechanism to either
    a) Call the page_init() that should then set the first row as selected and populate the text item via the programmatic click. (preferred option)
    b) OR blank out the additional text item P900007_JOB.
    Is there any way to hook into the pagination process?
    I have a work around – Set the ‘Enable Partial Page Refresh’ to ‘No’ but this means a full refresh every time the pagination is used.
    Details of my page
    Report Region (Based on EMP table) – radio group as a row selector
    select     APEX_ITEM.RADIOGROUP(1,EMPNO,'X21',null) CHECKRG, EMPNO,
         ENAME,
         JOB
    from     EMP
    Report Attributes -
    Report template :- P900007_ROWTEMPLATE (custom template see later)
    Report Attributes Substitution :- id="emp_report" (used in page_init see later)
    Enable Partial Page Refresh :- Yes
    Columns – All columns are selected as show but job is left out of the template below.
    P900007_JOB - Text item in report region (disabled does not save state). Populated with the employees job when the radio group is clicked.
    Control region :- HTML region that just holds a button <GO> just to submit the page and redirect back to the same page.
    P900007_ROWTEMPLATE (named column row template)
    Row template 1
    <tr style="cursor: hand; cursor: pointer;" onmouseover="row_mouse_over(this, 1)" onmouseout="row_mouse_out(this, 1)" #HIGHLIGHT_ROW# ">
    <td class="t15data" onclick="selectRow('#JOB#');">#CHECKRG# </td>
    <td class="t15data">#EMPNO# </td>
    <td class="t15data">#ENAME# </td>
    </tr>
    Before rows
    <table class="t15standard" summary="" #REPORT_ATTRIBUTES# id="report_#REGION_STATIC_ID#" >
    <th class="t15header" #ALIGNMENT# >Info</th>
    <th class="t15header" #ALIGNMENT# >Employee Number</th>
    <th class="t15header" #ALIGNMENT# >Name</th>
    After Rows
    <tr>
    <td colspan="99" class="t15afterrows">
    <span class="left">#EXTERNAL_LINK##CSV_LINK#</span>
    <table style="float:right;text-align:right;" summary="pagination">
    #PAGINATION#</table>
    </td>
    </tr>
    </table>
    *Javascript in page Header*
    <script src="#WORKSPACE_IMAGES#apex_show_hide_region.js" type="text/javascript"></script>
    <script language="JavaScript" type="text/javascript">
    <!--
    function selectRow(pJob)
    /* console.log('pete got here!'+pJob)*/
    $x('P900007_JOB').value =pJob;
    /* Start Page init*/
    function *page_init*()
    /* Used to set radio groups on reports */
    /*console.log('START pete got here!');*/
    var is_checked = false;
    var l_check = $x_FormItems($x('emp_report'), 'radio');
    /*Loop and set flag if checked*/
    for(var i=0,len=l_check.length;i<len;i++)
    if(l_check.checked){
    is_checked = true;
    /*end loop*/
    /*If none checked force a click*/
    if(!is_checked){
    /*no longer need as doing click below*/
    l_check[0].checked=true;
    /*Force a click on the first radio group - extra details should then be
    populated*/
    var l_click = l_check[0].click();
    /* console.log('END pete got here!');*/
    /*END page_init*/
    // -->
    </script>
    *Application shared component.* – This fires a DB packaged procedure when the page is loaded.
    P330_PART_NO_HIST
    Process Point On load after Body region
    Process Text show_hide_memory.part_no_history_details();
    *Packaged Procedure* – This kicks off the page_init javascript in the header (earlier) to click on the radio group in the first row.
    PROCEDURE part_no_history_details AS
    BEGIN
    htp.prn('<script type="text/javascript">' || CHR(10));
    htp.prn('<!--' || CHR(10));
    htp.prn('page_init();'|| CHR(10));
    htp.prn('//-->' || CHR(10));
    htp.prn('</script>' || CHR(10));
    END part_no_history_details;
    Thanks Pete
    Edited by: Pete @ LSC on 26-Jan-2010 06:56

    Anybody any ideas? Should I be looking down the route of using my own pagination buttons and adding my code to this?
    There seems to be a routine $a_report that I can use for the pagination but I am finding it difficult to get the current first and last record values that I would need to pass. I've seen references to below in the form but when I'm using partial refresh they do not seem to change.
    wwv_flow.g_flow_current_min_row
    wwv_flow.g_flow_current_max_rows
    wwv_flow.g_flow_current_rows_fetched
    wwv_flow.g_request
    Thanks Pete

  • Is there a way to pre-set the alarm volume on iPhone?

    Is there a way to pre-set the alarm volume on iPhone? Every evening I have to remember to adjust the volume to 3 bars, versus full volume during the day.

    I cannot believe this problem hasn't been rectified yet!
    If I use the pre installed ringtone as an alarm and set it low so I don't jump out of my skin, then my call volume is too low the next day, so have to change it.
    If I use a song as an alarm, I have the same problem, but its when I watch a video. I set it quiet, then jump out of my skin the next morning if I've left it tuned up after watching YouTube. Also works the other way if I've watched a video with the sound down, and forget to turn it back up, then I don't hear my alarm, which makes me late!
    It could also do with an ascending volume option, so it starts nice and quiet to wake you gradually. My old phones from pre iPhone days had these features and they worked great.
    Surely this isn't that much of an issue to sort out. Yet I've seen posts back as far as 2006 complaining about it.
    Come on apple pull your finger out!

Maybe you are looking for

  • NAT Does Not Appear to Be Working with ASA 8.4(2)

    I've recently been tasked with providing access to several internal servers to a remote site via one of our ASAs.  In order to keep things simple, I have begun by creating a single static NAT rule for one of the servers.  The Site-to-Site VPN connect

  • AirPlay is working on Wi-Fi and/or Bluetooth networks

    I have got any wi-fi AirPlay enabled device yet. Today, I use my Bluetooth earphones and discover the AirPlay icon on the iPod app. It seems the AirPlay icon replaces the Bluetooth icon on iPod playback control panel. There are two options: iPhone an

  • ACCESS TO BUSINESS SYSTEM ACCESSOR FAILED

    Hi,          We have recently added a new server in our SLD, So, for that I have asked the Basis team to create a new technical system, Business system ....its been created in SLD but when I try to assign(assign new business system) it in Integration

  • Somehow I lost the nice background I had on google search, how to recover it.

    I had a picture of the hand blown glass balls in a pond and I can't recover it. Now my background is blank and it isn't in the public pictures for backgrounds.

  • Installing Photoshop on a new laptop question

    I am not sure how Creative Cloud works differently then the desktop version when it comes to changing computers. I know on the desktop version we needed to deactivate in order to install on a new computer. I am buying a new laptop and have the basic