Looking for the code to trigger an expression with a layer marker.
I have the code that triggers the expression with key frame number,
t=time-key(3).time
but woulfd prefer the flexibilty of the marker.
My level of understanding allows me to read, understand (maybe) and modify the code; however, I am not at a level where I can write it.
THANKS IN ADVANCE
Tom R.
trigger point of expression
-
- Posts: 320
- Joined: June 26th, 2004, 10:01 am
- Location: Folsom, CA
- Contact:
This should work:
t = time - marker.key(1).time
If you have AE CS3, you can also index the marker via its comment, like this:
t = time - marker.key("marker comment here").time
Dan
t = time - marker.key(1).time
If you have AE CS3, you can also index the marker via its comment, like this:
t = time - marker.key("marker comment here").time
Dan
BINGO!
THANKS DAN
THANKS DAN
"If you have AE CS3...", AE 6.5 or AE 7.0 

-
- Posts: 320
- Joined: June 26th, 2004, 10:01 am
- Location: Folsom, CA
- Contact:
"If you have AE CS3...", AE 6.5 or AE 7.0
Damn - that's right. You need CS3 to retrieve the comment field but not to use it as an index.
Dan
Damn - that's right. You need CS3 to retrieve the comment field but not to use it as an index.
Dan