Forum Replies Created

  • Thanks Dan. Worked like a charm. Are the following answers correct, below?

    Question A: What is wrong?
    Answer: The object layer expression always reads at t=0 of the control source layer.

    Question B: How do I fix it?
    Answer: Start the object_layers expression at main_comp.time + scene_comp.startTime

    Question C: How do I prevent it?
    Answer: You can’t prevent it unless all of the comps have exactly the same duration.

  • I am having a similar problem and after reading through this thread, I don’t fully understand what’s going on.

    main_comp contains:
    scene_comp contains:
    object_comp contains:
    object_layer

    object_layer opacity is set with the following expression:
    comp(“main_comp”).layer(“Audio Amplitude”)(“Slider”)

    I can confirm that this expression works by watching the value of opacity of object_layer as I scrub across the main_comp’s timeline where the audio amplitude changes (after time 1;00;00).

    Problem: When I place the scene_comp at time 1;00;00 (where the audio amplitude values actually change), the opacity fails to change as expected given the values of the audio amplitude Slider.

    Test 1 Succeeds: Placing the scene_comp at time 0 of main_comp and sliding the audio amplitude layer such that the audio amplitude value starts/changes, changes the opacity of of the object_layer as expected.

    Test 2 Succeeds: Placing the scene_comp anywhere along the timeline of main_comp and then sliding the audio amplitude layer to the left again until the audio amplitude changes, changes the opacity of object_layer as expected.

    Test 3 Fails: Placing the scene_comp anywhere along the timeline of main_comp where the audio amplitude is changing while leaving the audio amplitude layer static fails to change the opacity of the object_layer. This is what I would like to do.

    Question A: What is my problem?
    Question B: How do I fix it?
    Question C: How do I prevent this from occurring in the future?

    TIA

    comp("main_comp").layer("Audio Amplitude")("Slider")

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy