Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE AFTER EFFECTS: HomeForumBasicsExpressionsTutorialsPodcastsMotion GraphicsTrainingCinema 4DFAQ

'this' keyword in CS4

Cow Forums : Adobe After Effects Expressions

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>
cow
'this' keyword in CS4
by ben rollason on Nov 8, 2009 at 4:57:58 pm

Has anyone noticed the following?

That the 'this' keyword doesn't work anymore in CS4. This is annoying as I can't write expressions that are generic to whichever property they're pasted into anymore.

For instance in CS3, this.valueAtTime(time/2) would have worked equally well for position as it would for a mask shape or blurriness factor.

CS4 tells me it doesn't recognise 'this' at all. Is this a mistake by Adobe? An oversight perhaps? Or is there some method in their madness?

-Ben.


www.benrollason.com

Respond to this post   •   Return to posts index

Re: 'this' keyword in CS4
by Xinlai Ni on Nov 8, 2009 at 5:40:43 pm

valueAtTime can be used for any property without 'this'

Xinlai Ni
Software Engineer, Google Inc.


Respond to this post   •   Return to posts index

Re: 'this' keyword in CS4
by ben rollason on Nov 8, 2009 at 6:37:35 pm

Thanks Xinlai!

-Ben.

www.benrollason.com

Respond to this post   •   Return to posts index

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>


FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]