🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.after.effects.scripting.render
Article #107

Change font size using scripts

#107
From: Torbj�rn_Weiland
Date: Fri, 02 Feb 2007 14:04
13 lines
1153 bytes
Hello

I'm wondering how I should do if I want to change the font size of TextDocument in a keyframe?

Today I set the new value in a keyframe using the following code.
plattan_source_text.setValueAtKey(7, new TextDocument("ca"+money[i]));

But I would like to have the font size set to 80 px.

Maybe I'm doing it all wrong and there is another way of setting the text in the different keyframes with the correct font and font size.

Please help me
/Torbj�rn
Technical Details
Message-ID: <3bc30ec9.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.albasani.net!news.isoc.lu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: 1efebe,a5836200f8e19085,start
X-Google-Attributes: gid1efebe,public
X-Google-Language: ENGLISH,ASCII
From: Torbj�rn_Weiland@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.albasani.net!news.isoc.lu!webcrossing
Newsgroups: adobe.after.effects.scripting.render
Subject: Change font size using scripts
Message-ID: <3bc30ec9.-1@webcrossing.la2eafNXanI>
Date: Fri, 2 Feb 2007 06:04:16 -0800
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit