Move the Trim VS and outpoints with a layer

Hello

Recently, I wrote a small function that was supposed to spend a layer complete a certain number of frames on the right in the timelime.

But when I started to use keyframes, I noticed only trimmed layer entry and exit point and it didn't budge.

In other words, I actually want the "[" shortcut and not the "Alt + [shortcut"equivalent. "]"

Can you see what I have to do different in this example?

My current function looks like:

for (p = 1; p < myLayerEffects; p ++) {/ / "myLayerEffects Gets the amount of all the effects on the layer because I use expressions of Slider controls to determine the in and out point}

If (thisLayer.property ("Effects") (p) .name == "startFrame") {/ / layer offset Inpoint (based in slider expression)}

var savedStartFrame is.property("slider").value thisLayer.property ("Effects") (p).;

var DC_frameStart = savedStartFrame;

}

If (thisLayer.property ("Effects") (p) .name == "endFrame") {/ / offset layer out-point (based in slider expression)}

var savedEndFrameTmp is.property("slider").value thisLayer.property ("Effects") (p).;

var savedEndFrame = savedEndFrameTmp + 1;

var DC_frameEnd = opgeslagenEndFrame;

}

var startTime = DC_frameStart / mijnComp.frameRate;

var eindTime = DC_frameEnd / mijnComp.frameRate;

var start = currentFormatToTime ("0:" + DC_frameStart, mijnComp.frameRate)

var einding = currentFormatToTime ("0:" + DC_frameEinde, mijnComp.frameRate)

thisLayer.inPoint = start;

thisLayer.outPoint = einding;

Fixed it the last "thisLayer.inPoint" would become "thisLayer.startTime."

(outpoint could stay the same, because he must cut off.)

Tags: After Effects

Similar Questions

  • In Apple Mail, I managed to import a box mailbox, but I can't move the mailbox imported to be with the rest of my mail

    I accidentally deleted one of my 4 Apple Mail accounts.  Using my backup, I followed the procedures of Apple and successfully imported this box to my backup hard drive letters.

    Using Apple Mail, I managed to import the box mailboxes in Apple Mail from my backup, (the mails I wanted are) but I can't MOVE the mailbox imported to be with my other 3 mail accounts.  This folder contains 2 files, incoming messages and sent messages.

    I wanted to move the 'Import' folder to the "Mailboxes" section in the sidebar (just below ' boxes ' are my 3 "Inbox". Below are my 3 sent icons. (it looks like a paper airplane).

    I even tried to create a new Inbox mailbox, but this new mailbox does not have anything new under the "Inbox" and "Sent" icons.

    Try to add the account back and then copy import emails to the mailbox to the appropriate account.

  • How to move the MSWMM files and keep the data on my computer?

    I downloaded digital film from my camera to a destination on my D drive as a file MSWMM (collections), and whenever I try to move the downloaded film (collection), it does not recognize the movie more.

    How to move the MSWMM files and keep the data on my computer?

    The mswmm file is the project file, not a video.
    Think of it as a recipe for a cake, it only tells you what to do with the ingredients, but does not include the ingredients.
    The mswmm file tells the computer to look in a certain folder to use a video or audio file.
    If you move the file, then MM knows not where is the file, then you must tell it, by right clicking on a red x on the timeline and then choose search for the file.

  • What happened to the feature to get around on the artboard by pressing the space bar and dragging with the mouse?

    What happened to the feature to get around on the artboard by pressing the space bar and dragging with the mouse?

    cwalker,

    If it does not, it may be time for the list:

    Sometimes, (some) things may fail or stop working for no apparent reason. When (other) possible reasons/remedies do not work, it is perhaps a kind corruption (temporary or permanent), or even preference settings which disturbs, which can be cured with something on the following list put in place in order to provide a catch-all solution for otherwise intractable cases. It starts with a few easy suggestions and safe) 1 and 2) for cases less serious and goes two ways 3) and 4) to reset the default preferences (easily but irreversibly and more laboriously but more completely and also reversible), then follows a list 5) various other possibilities, and it ends with a complete reinstallation 6). If no other suggestion doesn't work, or if no other suggestion appears, you can start on the list and decide how to go or who can apply.

    The following is a general list of things, try when

    (A) the question is not in a specific file,

    (B) you have a printer installed, connected and turned on if it's a physical printer (you can use Adobe PDF/Acrobat Distiller as a printer by default without the need to have a printer on, of course you will need to specify when you really need print on paper), and

    (C) It is not caused by problems with opening a file from external media (see below).

    You tried/made some of them already; 1 and 2) are easier for temporary strangenesses and 3) and 4) specifically may be corrupted/inconvenient preferences); ((5) is a list in itself and 6) is the last resort.

    If possible / there is, you must record a current work first, of course.

    (1) close Illy and open again.

    (2) restart the computer (you can make up at least 5 times);

    (3) close Illy and press Ctrl + Alt + Shift / Cmd + Option + shift during startup (easy, but irreversible);

    4) move the folder (follow the link with this name) with closed Illy (more tedious but also more thorough and reversible), for CS3 - CC you can find the file here:

    https://helpx.Adobe.com/Illustrator/KB/preference-file-location-Illustrator.html

    5 look through and try the relevant among the other options (click on the link with that name, item 7) is a list of the usual suspects among other applications which can disturb and confuse Illy, point 15) applies to the maybe CS5, CS6 and CC);

    Even worse, you can:

    6 (A) uninstall (check the box to delete the preferences, if any), B) run the cleanup tool (if you have CS3/CS4/CS5/CS6/CC) and C) reinstall. It is important to use this step three way: otherwise, things may persist.

    http://www.Adobe.com/support/contact/cscleanertool.html

  • I want to move the profile data and the addons on another disk

    I want to move the profile data and the addons on another disk.

    Can I specify where Firefox puts the profile and the addons?

    If another location, then Windows uses by default.
    c:\Documents and Settings\User\Application Data\Mozilla\Firefox\Profiles\

    WinXP, FF 3.6.8

    You can do this by using the Profile Manager. When you create a new profile, you can specify a location for the profile folder.

    You may create a new profile, and then transfer the data to it. For more information, see create a new profile for Firefox on Windows and transferring data to a new profile.

  • How to set the clock for the hours, minutes, and seconds with Windows XP

    How to set the clock for the hours, minutes, and seconds with Windows XP

    I don't know of your question.  If you ask how to show the clock in the tray system with hours, minutes and seconds, then download & run "Tclock Light".  Windows will not natively display the seconds.

    TClock Light: <> http://homepage1.nifty.com/kazubon/tclocklight/index.html >

    HTH,
    JW

  • I have a dualboot (VISTA & XP) in different partitions. I would like to delete the XP partition and stay with Vista.

    I have a dualboot (VISTA & XP) in different partitions. I would like to delete the XP partition and stay with Vista.

    What are the steps to do this?

    Apparently, you have already removed XP, depending on your other Thread.

    http://social.answers.Microsoft.com/forums/en-us/VistaInstall/thread/ed84bf59-1078-42f6-8294-d88cf4f7a9f5

    Answered in another Thread on how to fix the Vista operating system.

    Mick Murphy - Microsoft partner

  • How to open the files .fxm and .fxr with fax windows 7 & scan?

    How to open the files .fxm and .fxr with fax windows 7 & scan?  These faxes have been received when I had Windows XP.

    Hello

    A file with FXR and FXM file extensions is a Document received from WinFax.

    You can open the FXR and FXM file by double clicking on it and let your PC decide which default application should open the file.   If no program opens, the FXR and FXM file, then you have probably an installed application that can view and/or edit FXR and FXM files.

    You can use a Notepad or another text editor to open these files.  Number of files is files read-only, which means little matter file extension, a text editor may be able to view the contents of the file properly.  This may or may not be the case with FXR and FXM files, but it's worth a try.

    How a FXR and FXM files:
    There are two ways to try to convert a file to a different file type:

    a. open the FXR file in its default program and choose to save the file open in another file format.

    b. use a softwarefrom online file conversion to convert these files to another file format.

    Note:
    using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Thank you

  • RAM is not visible, I have 16 GB installed in the case (4x4Go), but only 8 GB has, even in the BIOS. All the 4 sticks of RAM are the same brand and compatible with my motherboard.

    I have 16 GB installed in the case (4x4Go), but only 8 GB has, even in the BIOS.
    All the 4 sticks of RAM are the same brand and compatible with my motherboard.
    I'm running Windows 7 Home Premium 64 - bit, which limit memory is 16 GB, so this isn't the issue.
    I got a few BSOD - 0 x 00000109 - errors that I work.
    I ran memtest86 for a few hours and he scored 4 errors during test cycles 7.
    These memtest errors concern the bars invisible RAM or the work those?
    Any ideas as to what should I do next?
    See you soon!
    Data sheet:
    Windows 7 Home Premium 64-bit
    Intel Core i7-3820 @ 3.6 GHz
    ASUS P9X79
    GeForce GTX 650
    Team elite Dual Channel DDR3 4 GB 1333 Mhz x 4

    Thanks Joel,

    I started to individually test RAM when I noticed a quirk in the way they were organized in their locations.
    I downloaded the manual for my P9X79 and he confirmed that they were arranged in mirror mode.
    I switched two of the sticks to adjacent slots and, Lo and behold, the full 16 GB presented at startup.
    So that's one mystery solved at least.
    I'll raise the memtest to see if it includes several errors and if so will continue to individually control the RAM sticks.
    Thanks again.
    Nick
  • You can directly download the CC applications and authenticate with my adobe cloud identification information without using the desktop application? whenever I have try with the desktop app it says impossible to arrive on the same adobe servers when I'm c

    Hello

    You can directly download the CC applications and authenticate with my adobe cloud identification information without using the desktop application? whenever I have try with the desktop app it says impossible to arrive on the same adobe servers when I'm connected to the Internet and I don't have any active anti-virus software?

    Thank you

    No application of cc, no clouds. It's the simple truth here. Programs cannot operate without him, since he controls the installation and licensing. the rest, we do not know, since you have not provided any useful technical information. Start by reading this (yet?):

    Solutions to connection errors, activation and connection with creative Cloud applications and Creative Suite

    What also good technical details are necessary.

    Mylenium

  • Slideshow: How to replace on the arrows 'Next' and 'Previous' with custom arrows?

    On the homepage of my site, I put in a changing picture with Widgets Library > slideshows > Basic, then added in the images. the only thing I don't like is the appearance of the standard ' Next' and 'Previous' buttons. In want to replace their previous custom and buttons that I created in Photoshop. I tried to do by double-clicking on the icon 'Next' and then hit the blue circle/arrow, then press "Add picture" and select the file with the arrow custom, but instead to replace the icon/button 'Next', she just added the arrow custom slide show. I looked in the tutorials and help online but can't find an answer. Anyone know how to replace the arrows "Next and previous" with custom arrows?

    Hello

    To place your own images for the button previous and next, you use the fill feature. Please check the following steps:

    1. go slideshow options and uncheck the Edit set.

    2. Select the next button and click complete to open filler panel.


    3. click Add picture and select the image you want to use. Also select the type of connection as "Scale to fill" or "scale to fit"and make the 'Center'. "

    4 do the same for the previous button.

    Concerning

    Vivek

  • Compare the current time and date with last modified?

    Compare the current time and date with last modified?

    What is the ideal way due to report at the last modified file with the date and time class? last modifed class in the file value is of type long.

    798642 wrote:
    No no no no, currentTimeMillis() only gets you the time... I need to compare the Date and time.

    You should read the docs more closely. It gives you the current time in time, which includes the date.

  • Impossible to select and move the letters while playing 'Word with friends' through facebook

    Original title: play games

    During playback "words with friends" through face book... I can't select and move the letters on the touch screen without the screen, scrolling up and down.
    I need the touch screen to allow the movement of the letters c A C H, etc. on the game board without scrolling of the image of the screen!
    Several of my Face book games does not load completely without hanging... both Adobe Flash player and Windows are also perfectly up-to-date.
    Kind regards

    Hi Stephanie,

    Looks like you are unable to play words with friends on Facebook and also problems with other facebook games.
     
     
    Since you are faced with a design problem with the play on words with friends on facebook, I suggest you to contact the administrator of the game to get more information about the compatibility of the game in Windows RT. You can also ask if they provide latest app for the particular game.

    support.Zynga.com/Home/Words-with-friends
     
     
    I would also ask you to contact Facebook to get information about other games:
     
     
     
    Hope this information helps.
  • In Lightroom 4 when I press on and hold down the ALT key, I can't move the slider black and white

    In Lightroom 4 when I hold down the ALT key, I can't move to the black or white and it does not show the clipping. Essentially, I am now the ALT key and the sliders will not move. I'm doing something wrong? Thank you.

    There was a problem with the integration of my mouse. All fixed.

  • move the object left and right

    Hi, how are you all? I hope you all well...

    Now IAM trying to do more spells for the hero and this spell is the fireball

    I want to spend the time the hero is on the right also leave when the hero on the left

    I tried with this code when you press w it should move 10 or 20 px then it must stop

    but the fact of idont this step "then it must stop" because of this error as the fireball, call

    like I want to

    TypeError: Error #1010: a term is undefined and has no properties.

    Hero / onEnterFrame)

    Here is the code

    HERO class

    package {}


    import flash.display.MovieClip;

    import flash.events.KeyboardEvent;

    import flash.ui.Keyboard;

    import flash.events.Event;

    import flash.sensors.Accelerometer;
    import flash.media.Sound;
    import flash.media.SoundChannel;


    SerializableAttribute public class extends MovieClip {HERO
    var NIGHTJUNGLE:nightjungle = new nightjungle
    var ELECTRICALSHIELD:electricalshield = new electricalshield;

    var speed: int = 3;
    var fireballindex:Array = new Array
    var dir:int;
    var ELECTRICITY: electricity = new electricity;
    var SOUNDCHANNEL:SoundChannel = new SoundChannel
    var firespeed:int = 50
    var i: int
    public void HERO() {}

    addEventListener (Event.ADDED_TO_STAGE, onAddedToStage);

    }

    public void onAddedToStage(event:Event):void {}

    addEventListener (Event.ENTER_FRAME, onEnterFrame);

    stage.addEventListener (KeyboardEvent.KEY_DOWN, onKeyDown);

    stage.addEventListener (KeyboardEvent.KEY_UP, onKeyUp);


    SOUNDCHANNEL = NIGHTJUNGLE.play (1,1000)
    gotoAndStop (4);

    }

    public void onEnterFrame(event:Event):void {}

    x += dir * speed;
    {if (fireballindex [i] .stage)}
    .x += fireballindex [i] 1
    }

    }

    public void onKeyDown(event:KeyboardEvent):void {}

    If {(event.keyCode is Keyboard.RIGHT)

    gotoAndStop (2);

    dir = 1;
    Speed = 10
    If (ELECTRICALSHIELD.stage)
    addChild (ELECTRICALSHIELD)

    }


    If {(event.keyCode is Keyboard.LEFT)

    gotoAndStop (1);


    dir = - 1;
    Speed = 10
    If (ELECTRICALSHIELD.stage)
    addChild (ELECTRICALSHIELD)

    }

    If {(event.keyCode is Keyboard.UP)

    gotoAndStop (1);

    y = 10;

    }

    If {(event.keyCode is Keyboard.Q)

    Speed = 30;

    addChild (ELECTRICALSHIELD);
    SOUNDCHANNEL = ELECTRICITY.play)

    }
    If (event.keyCode == Keyboard.W) {}


    fireballindex.push (new fireball())

    addChild (fireballindex [i])
    fireballindex [i] .width = 50
    fireballindex [i] .x += firespeed * dir

    i ++
    trace (i)
    }
    If (event.keyCode == Keyboard.E) {}
    MovieClip (parent).aa.x = x + 100
    }
    }

    public void onKeyUp(event:KeyboardEvent):void {}

    If {(event.keyCode is Keyboard.Q)

    If {(ELECTRICALSHIELD.stage)

    removeChild (ELECTRICALSHIELD);
    If (SOUNDCHANNEL! = null)
    Speed = 0;
    SOUNDCHANNEL = ELECTRICITY.play (1,1)

    }

    }
    If {(event.keyCode is Keyboard.W)


    }

    If {(event.keyCode is Keyboard.LEFT)
    Speed = 0
    gotoAndStop (3);
    If (ELECTRICALSHIELD.stage)
    addChild (ELECTRICALSHIELD)

    } Else if (event.keyCode == Keyboard.RIGHT) {}
    Speed = 0
    gotoAndStop (4);
    If (ELECTRICALSHIELD.stage)
    addChild (ELECTRICALSHIELD)
    }

    }

    }

    }

    Thank you

    I would not use 'i' to target the object of the fireball.  In the case of the fireballs to withdraw at any time, that the value of i will be false.  The fireball that you add may not of fireballindex [i].

    If all the code that goes in the same neighborhood, then I declare the instance var name and use the name...

    var fBall:fireball = new fireball();

    fBall.name = "fb" + String (i)";

    fBall.width = 50;
    fBall.x += firespeed * dir;

    fireballindex.push (fBall);

    addChild (fBall);

    i ++ ;

    Later if you need to target this fireball, you can use the table or you can use its name.

    If you still want to use the non-var approach (I see no reason to) then instead of target

    fireballindex [i]

    I would target the last element added to the matrix who is definitiely going to be

    fireballindex [fireballindex. Length-1])

Maybe you are looking for

  • Cannot send or receive mms texts

    I was downloading text picture for 5 hours. Impossible to send their

  • Need drivers of Windows XP Home for Satellite C650D - 11K

    Hello where can I find all the drivers for Windows Xp for my Satellite C650D - 11K? I saw something on the Support page & Toshiba drivers, but the question is: if originally, it installed Windows 7 64 bit, how I can install all drivers for Win Xp (32

  • How to record 1 sample per minute

    Hello. I use TDMS write to record data and the recorded data at present are 10samples per minute. What can I do to save only 1sample/minute or 1sample / 5 min?

  • Gets the data type variant for the selection of cases

    I don't ' know much about alternative, so I'll ask as many questions as possible on this subject.  If I have a table of varying, and each of these variations has been converted to a different data type.  This table will be the clue to a for loop and

  • Different behavior between IE 7.0.6001.18000 and 7.0.6002.18005

    Nice dayI have a page and I wanted to print its content. My problem is in what regards behavior between IE 7.0.6001.18000 and 7.0.6002.18005...For example, when I printed out the page with this html code: .. the 7.0.6001.18000 out is fine;but in 7.0.