Adobe 12040118 - After Effects Standard Using Manual page 202

Using help
Hide thumbs Also See for 12040118 - After Effects Standard:
Table of Contents

Advertisement

Adobe After Effects Help
Using Help
Note the creation property on the second EditText field, where multiline:true is specified. multiline:true
indicates that the text in the item should wrap to the next page. In other words, it specifies a field in which a
long text string may be entered, and the text will wrap to appear as multiple lines.
The Button element
Button elements are typically used to initiate some action from a Window when a user clicks the mouse pointer
over the button; for example: accepting a dialog's current settings, canceling a dialog, bringing up a new dialog
box, etc. The text property provides a label to identify a Button's function:
var dlg = new Window('dialog', 'Aler t Box Builder',[100,100,480,245]);
d l g .b t n Pn l = d l g . a d d ( ' p a n e l ' , [ 1 5 , 5 0 , 3 6 5 , 9 5 ] , ' Bu i l d i t ' ) ;
d l g .b t n Pn l . te s t B t n = d l g . b t n Pn l . a d d ( ' b u t ton ' , [ 1 5 , 1 5 , 1 1 5 , 3 5 ] , ' Te s t ' ) ;
d l g .b t n Pn l . b u i l d B t n = d l g .b t n Pn l . a d d ( ' b u t ton ' , [ 1 2 5 , 1 5 , 2 2 5 , 3 5 ] ,
'Build ', {n a me: 'o k '});
d l g .b t n Pn l . c a n ce l B t n = d l g .b t n Pn l . a d d ( ' b u t ton ' , [ 2 3 5 , 1 5 , 3 3 5 , 3 5 ] ,
'C an cel' , {n a me :'ca n ce l'});
d l g . s h ow ( ) ;
The Slider element
Slider elements are typically used to select within a range of values, allowing the user to hold the mouse pointer
down over a moveable position indicator on the slider and drag this indicator within the range of the slider.
If you click the mouse pointer on a point on the slider bar, the position indicator will jump to that location.
A Slider has a value property that reflects the position of the moveable indicator, and minvalue and maxvalue
properties to define the endpoints of the slider's range of values.
To make a slider control appear like those used in After Effects, adjust the height of the control until the slider
bar appears as a single line.
The Scrollbar element
Scrollbar elements are similar to Slider elements, in that they are often used to select within a range of values,
and have a moveable position indicator. They have all the properties of sliders, and in addition, they have
'stepper buttons' at each end of the scrollbar for moving the position indicator in fixed-size steps.
Using Help
Creating User Interface Elements
Back
Back
202
202

Advertisement

Table of Contents
loading

This manual is also suitable for:

After effects

Table of Contents