Adobe 12040118 Using Help - Page 115
MarkerValue method, MarkerValue attribute, Examples, Description, Parameters, Returns
UPC - 718659361808
View all Adobe 12040118 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 115 highlights
Help Using Help Reference Back 115 Examples To set a marker that says "Fade Up" at the 2 second mark: var myMarker = new Marker("Fade Up"); myLayer.proper t y("Mar ker").setValueAtTime(2, myMar ker); To get a comment value from a particular marker: var commentOfFirstMar ker = app.project.ite m(1).layer(1).proper t y("Mar ker").ke yValue(0).comment; var commentOfMarkerAtTime4 = app.project.item(1).layer(1).property("Marker").valueAtTime(4.0,TRUE) .comment var markerProperty = app.project.item(1).layer(1).property("Marker"); var mar kerValueAtTimeClosestToTime4 = mar kerProper t y .ke yValue(mar kerProper t y.nearestKe yIndex(4.0)); var commentOfMar kerClosestToTime4 = mar kerValueAtTimeClosestToTime4.comment; MarkerValue method app.project.ite m(index).layer(index) .Mar kerValue( c o m m e n t ) app.project.ite m(index).layer(index) .Mar kerValue( c o m m e n t , c h a p t e r ) app.project.ite m(index).layer(index) .Mar kerValue( c o m m e n t , c h a p t e r, u r l ) a p p.p ro j e c t . i t e m ( i n d e x ) . l ay e r ( i n d e x ) .Mar kerValue( c o m m e n t , c h a p t e r, u r l , f ra m e Ta r g e t ) Description The markerValue method sets between one and four specific attributes of the marker and returns a MarkerValue. Parameters comment chapter url f r a m e Ta r g e t string string string string see "MarkerValue Comment attribute" on page 116 see "MarkerValue Chapter attribute" on page 115 see "MarkerValue URL attribute" on page 116 see "MarkerValue FrameTarget attribute" on page 116 Returns MarkerValue (a marker keyframe containing the above four string values). MarkerValue Chapter attribute app.project.ite m(index).layer(index) .Mar kerValue.chapter Description The MarkerValue chapter attribute is a text chapter link attached to a given layer marker. Chapter links initiate a jump to a chapter in a QuickTime movie or in other formats that support chapter marks (for more on markers see "Using markers" in After Effects Help). Using Help Back 115