Please show or ask how to create the value of arrayOfValues of setValuesAtTimes parameter?

Hello AEScriptComm,

I have a few small scripts that use the method setValueAtTime successfully placing a keyframe on the existing layers of maskPath, but as you can see in the scripts below, results of setValueSatTimeS errors using IE: "Array is not of the correct type", "value is not an array" or "Null is not an object", depending on ,...

(A) what variable is used as the value of parameter IE:

.maskPath;

. maskPath.value;

. maskPath.value.vertices

(B) what kind of table is used as the parameter value as in:

var addTheseKeys = new Array ((1,2,3,4);    (as a parameter of the time)...

(with either)

var keyValues = new Array([10,10],[100,100],[15,50],[100,120]);             ...." ]) "

(GOLD)

var keyValues = [[10.10], [100 100], [15.50], [100 120]];                               ... (Array of arrays? RE: " ]] " )

I just read a 'push' of the values in a table may be necessary?, but I was hoping someone who knew setValuesAtTimes could show it please...

1) .. How to create the value of arrayOfValues of setValuesAtTimes parameter?

1 (a): WORK setValueAtTime script...

App.Project.Item (1) .layer (1).property("Masks").property ("mask 1");

var app.project.item = myProperty (1) .layer (1) .mask (1) .maskPath;

myShape = app.project.item (1) .layer (1) .mask (1).maskPath.value;

myProperty.setValueAtTime(1.0,myShape);

1 (b): If there is no script setValuesAtTimes...

prop1 = app.project.item var (1) .layer (1).property("ADBE_Transform_Group").property ("ADBE Position");

var fourKeys = 4;

var addTheseKeys = new Array (1,2,3,4),

var keyValues = new Array (10, [10], [100 100], [15.50], [100 120]);

var app.project.item = myProperty (1) .layer (1) .mask (1) .maskPath;

myShape = app.project.item (1) .layer (1) .mask (1).maskPath.value;

var myVertices = app.project.item (1) .layer (1) .mask (1).maskPath.vertices;

myProperty.setValuesAtTimes (keyValues, addTheseKeys);

app.beginUndoGroup ("Keys");

~ for (var k = 0; k < fourKeys; k ++)

//~ {

~ prop1.setValueAtTime (keyValues [k], addTheseKeys [k]);

//~ }

myProperty.setValuesAtTimes (keyValues, addTheseKeys);

app.endUndoGroup ();

.. Thanks for any advise\suggestions,

J

(A). maskPath.value; It's always a Shape(). (maskPath is a property, not of a shape on its own, and maskPath.value.vertices is only a part of the shape data).

(B) nothing of what you propose... that is why your failed script fails.

var keyValues = new Array([10,10],[100,100],[15,50],[100,120]); and

var keyValues = [[10.10], [100 100], [15.50], [100 120]]; are just as good as arrays of points, the only thing is that keyValues are arrays of objects Shape().

Read the guide and script for how to report a form of this post (just wrote it...): http://forums.adobe.com/thread/1419866?tstart=0

Your keyValues array should look like this: [keyValues0, keyValues1, keyValues2, keyValues3], where each entry is a Shape().

Xavier.

Tags: After Effects

Similar Questions

  • How to get the value of the outputtext in javascript and send it to backing bean

    Hi Experts ADF,

    JDev Version 11.1.1.7.0

    I have the following: the value of the outputtext must be treated in javascript and the serverlistener method has the same value. I founded this value returns a string that wshould see the mouseover NIJ.

    Help, please. Thanks in advance.

    < af:column sortProperty = "#{bindings." OrderProposalReadClient.hints.exceptions.name}.

    filterable = "true" sortable = "true".

    headerText = "#{suiviewBundle.EXCEPTIONS} '"

    ID = "c16" >

    < af:outputText value = "#{row.exceptions}" id = "ot32" clientComponent = "true" > "

    < af:clientListener type = "mouseOver".

    method = "customJsFunction" / >

    < af:serverListener type = "mycustomserverEvent".

    Method="#{pageFlowScope.ChangeOrderProposalBean.handleServerEvent}"/ >

    < / af:outputText >

    < / af:column >

    JavaScript

    < af:resource type = "javascript" >

    var customJsFunction = function (event)

    {

    var exceptiondata = AdfPage.PAGE.findComponentByAbsoluteId ('ot32');

    AdfCustomEvent.queue ();

    Returns true;

    }

    < / af:resource >

    BackingBean

    public String handleServerEvent(EC ClientEvent)

    {

    Please let me know how to get the value that javascript code sends here.

    Let's say javascript sends the value of outputtext as "001".

    So, I have to check "001" in my list and return a value that appears on mouseover.

    }

    Kind regards
    Roy

    Hello, Roy.

    To use the value on another component of the user interface, I shows an example:

    -code of the page

    shortDesc = "shortDesc" >

    method = "customJsFunction" / >


    -the javascript code

    var customJsFunction = function (event)

    {

    var exceptiondata = event.getSource ().findComponent("ot32").getValue ();

    AdfCustomEvent.queue (event.getSource (),

    "mycustomserverEvent,"

    {param1:exceptiondata},

    (true);

    Returns true;

    }

    -OutputTextCase11.java

    public void handleServerEvent (EC ClientEvent)

    {

    String param = (String) ce.getParameters () .get ("param1");

    RichOutputText outputText = (RichOutputText) ce.getComponent () .findComponent ("ot1");

    outputText.setShortDesc (param);

    outputText.setValue (param);

    AdfFacesContext.getCurrentInstance () .addPartialTarget (outputText);

    }

    I hope this helps you.

    RFH.

  • How to pass the value of the element from one form to another form?

    Hi all

    I need your help to complete this task.
    I have a form page named reserve form.i have some five fields selection list in the form of reserve, after I chose the first value from the selection list, I create a button in the form of reserve, when I click on the button create, it will open another form page named set form in this form page , I have a field selected, the list of values in configure the form depends on the values selected as a reserve, it means that I have to change the value of page of a form to another form.

    Please suggest a solution, how to pass the value?

    Thank you
    Robette.

    Check out the button create on Page 8.

    In the Action when the button is clicked, the configuration is

    The value of these P35_IT_PRODUCT
    With these values & P8_IT_PRODUCT.

    Kind regards

  • How to create the new folder on Oracle UCM?

    Hello

    After that I start the UCM_server I can't find how to create the new folder and I can't find the record of the 'Contribution records '. as shown in the attached picture.

    ucmfolder.JPG

    Hello

    Is it a new installation? You can configure the WCC with folder folder_g or framwork. You can use Server Admin-> component for Manager screen set up. It is recommended to use the framework with version dot 8 for optimizing the performance and scalability.

    About java applet question please check forums UCM browser compatibility issue

    Internet Explorer
    1. Click on Tools , then Internet Options
    2. Select the Security tab, and then select the custom level button
    3. Scroll to script Java applets
    4. Make sure the enable radio button is checked
    5. Click OK to save your preferences
    Chrome

    Chrome 42 version and more. From Chrome version 42 (released in April 2015), Chrome has disabled the way the browsers support plugins. More information

    Firefox
    1. Open the Firefox browser or restart it if it is already running
    2. In the Firefox menu, select Tools, and then click the option Add-ons
    3. In the Add-ons Manager window, select Plugins
    4. Click on plugin Java (TM) Platform (Windows) or the Java Applet plug-in (Mac OS X) to select the option
    5. Ensure that the option selected is Ask to activate or enable always or on older versions of Firefox, click the Activate button (if the button is disable, Java is already enabled)
    Safari
    1. Click on Safari and select Preferences
    2. Choose the Security option
    3. Select allow Plug-ins, and then click manage the Web site settings
    4. Click on the Java element, select an option (Ask, authorize or allow always) in the drop-down list When you visit other Web sites
    5. Click done, and then close the Safari preferences window
    Opera 4.x and Up
    1. Opera for Windows does not use Java, but an embedded already inside the Opera Web browser version.
    2. Opera for other platforms can supports Java. Please consult your Opera Platform documentation.
    3. For more information, please see the following Opera support article:
      Support for the Java software at the opera

    Thank you

    Amey

  • Satellite P840: How to create the secure boot with UEFI Bios recovery disk

    Hello

    I have laptop P840 that came pre-installed with Windows 8, which I've upgraded to Windows 8 Pro.
    I then updated to Windows Pro 8.1 by Windows store. Please notify:

    1. how to create a DVD repair or start for windows 8.1 pro with UEFI Bios and boot secured.

    2. I created a USB recovery using the control panel in Windows Pro 8.1. It starts OK. It will be the same as that I've created using the Toshiba Media recovery creator or will it drivers Windows Pro 8.1?

    3. check partitions with disk management, then 3 (450MO, 350 MB and GB 10.90) recovery partitions, 1 EFI system partition and 2 primary (C: programs) and D: for data. I created the recovery DVD and USB 2 disks. Can I remove the 3 recovery partitions?

    Your help will be very appreciated.

    Best regards

    Romero

    I found your previous thread on this topic:
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=74272

    > 1. How to create a DVD repair or start for windows 8.1 pro with UEFI Bios and boot secured.
    To be able to boot from sources other than the drive HARD internal, the boot mode must be set to the CSM and secure boot must be disabled!

    > 2. I created a USB recovery using the control panel in Windows Pro 8.1. It starts OK. It will be the same as that I've created using the Toshiba Media recovery creator or will it drivers Windows Pro 8.1?

    Your laptop has been preloaded with Win 8. Right? For example, the USB flash stick memory you just use the Toshiba Recovery media creator contains the Image of Toshiba with Windows 8. Don t mix this Toshiba image with the image that can be created using Microsoft's own backup and restore function. Both are different pictures!

    > 3. Check it with disk management, then 3 (450MO, 350 MB and GB 10.90) recovery partitions, 1 EFI system partition and 2 partitions primary (C: programs) and D: for data. I created the recovery DVD and USB 2 disks. Can I remove the 3 recovery partitions?

    The last partition contains the files on HARD drive recovery. Usually this partition will be created again when you use the Toshiba Recovery disk to put the laptop back to factory settings. So in the case where you n t need this files or the partition, you can delete

  • How to create the scroll to the menu icon click event bar

    How to create the scroll to the menu icon click event bar

    (as the "field of scrolling image")

    In my opinion, it is better for you to try something to help implementation of your solution to ask for the code.

    For example, create a few BitmapFields with icons that act as buttons.  There is source for this sort of thing on the forum if you look at, I think, looking FRO Image button, icon or Bitmap button.

    Once you have these buttons work, add these in a HorizontalFieldManager.

    Good luck.

  • How to create the home group and how to connect two computers that are running windows 7. and also Remote Desktop connection!

    Someone help me how to create the home group and how to connect two computers that are running windows 7. and also Remote Desktop connection!
    step by step information!

    Hello

    I suggest you to refer to the links and check if it helps:

    Create a homegroup

    http://Windows.Microsoft.com/en-us/Windows7/create-a-HomeGroup

    Join a homegroup

    http://Windows.Microsoft.com/en-us/Windows7/join-a-HomeGroup

    Setting up a network home

    http://Windows.Microsoft.com/en-us/Windows7/setting-up-a-home-network

    Remote Desktop connection

    http://Windows.Microsoft.com/en-us/Windows7/products/features/Remote-Desktop-connection

    What types of connections remote desktop should I allow?

    http://Windows.Microsoft.com/en-us/Windows7/what-types-of-Remote-Desktop-connections-should-I-allow

    Remote Desktop connection: frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows7/Remote-Desktop-connection-frequently-asked-questions

    Let us know if it helps.

  • How to create the default user interface is newly added to the columns in the table

    I added the new columns to the database table existed who got the default values for the user interface to the columns existed.

    How to create the default UI for the new columns.

    I couldn't see the newly added columns change the default UI (object browser-> database-> default UI - Edit-> Table).

    Using APEX 5.0.3

    Can you please help.

    Thank you.

    Find the option "Synchronize with database" under tasks on the interface's default user - Edit

  • How to create the logical tables &amp; how to give joints according to obiee 11g?

    Hello

    I have again to obiee 11g. I want to create the logical tables in MDB layer.

    After that I want to give joins according to MDB.

    I don't know, how to create the logical tables and how to give joints according to obiee 11g?

    Please help me.

    Thanks in advance,

    A.Kavya

    Hello

    The new logical table is right click on the MDB itself, for the join you generally in the business model diagram (again right click on objects).

    Maybe it's better if you start from a kind of tutorial to at least have an overview of what is happening where (layer business and physical layer etc.).

    Take a look at what Oracle has available: Oracle BI EE 11 g

    And no doubt, it can be a good start: https://apexapps.oracle.com/pls/apex/f?p=44785:24:0:NO:P24_CONTENT_ID, P24_PREV_PAGE:9787, 2

  • How to create the ADC for first name

    Hello

    I have the situation here, I need display the default in the e-mail (Dear) when the value in the first name field is less than 2 characters long or it is empty. Otherwise, I need to insert the value of the field name (Dear John).

    Please let me know how to create an ADC for this.

    Thank you

    Rama

    Use wildcards for searching.

    ? = any 1 character

    * = 0 or any number of characters

    In order to find people with more than 2 characters in this area?: *

    Then, build your default rule to merge the content in case they encounter more rule of character 2.

  • How to create the cluster in weblogic

    Hello to all the ups...

    We pass our 6i has 11 GR 1 material. After the migration of our very poor server performance. So now, we want to use clusters. After a google search, I have not found any better way to do. We create two independent with machine

    Server Admin

    Forms

    Reports

    Lets assume that the machine name is SACHIN1 and SACHIN2.

    Now, how to create the cluster on SACHIN1?

    Please help me.

    Thank you

    Sachin

    Hi salah

    I understand, he has several steps. The steps apply only to the WebLogic Server.

    To ensure high availability with a top layer products it is WDM. I did research more far and I found that there is a WDM for forms and reports.

    I found WDM for forms and reports 11.1.1.2:

    http://www.Oracle.com/technetwork/database/features/availability/MAA-EDG-frd-129690.PDF

    Is there a reason on why migration is 11 GR 1 matter? first support for 11 GR 1 matter ended in June 2014

    http://www.Oracle.com/us/support/library/LSP-middleware-chart-069287.PDF

    We could get help on the following forums:

    Oracle reports (MOSC)

    Oracle Forms (MOSC)

    Best regards

    Luz

  • "How to create the effect" disappears "as the last part of the Coldplay Viva Viva video?

    Check:

    https://youtu.be/dvgZkm1xWPE?t=3m43s

    They disappear with a pretty cool effect, how can I do? I know I have to use Chroma Key (color key) if I want to do the effect on a person. But please help.

    This other issue is not necessary to answer you, but I would if respond you. How to create the effect of water on an image?

    Can I do it with first or I also use After Effects?

    Thanks to you all!

    Hello boys, a guy in another forum told me this question and for you who want to know how to do it, I'll post his reply here.

    ------------------------------------------------------------------------------------

    First, After Effects is your best friend for the effects.

    The main effect is quite easy, really, as shown here:

    https://www.YouTube.com/watch?v=5ClY7f1c7D8

    Basically, look for a tutorial to dissolve particles.

    With regard to water:

    https://www.YouTube.com/watch?v=7DYe4hwmz6c

    ------------------------------------------------------------------------------------

    Thank you.

  • I out of the CC to my previous laptop and I can not understand how to create the link connection in my new laptop

    I out of the CC to my previous laptop and I can not understand how to create the link connection in my new laptop

    Hi Steven,

    You have the CC of Adobe desktop application installed on your machine?

    In the case is not, please see the help below document to download the same:

    Creative cloud to desktop

    Kind regards

    Sheena

  • I have an external page on my USB key I want to make a link to Muse. How to create the link?

    I have an external page on my USB key I want to make a link to Muse. How to create the link?

    Hello

    Check this thread, use .pdf in Adobe Muse

    He talks of the .pdf files in the discussion, you can use your html instead of the PDF file.

    Please let me know if you have any other questions.

  • How to create the presentation for the columns variable and use it in the story?

    Hi all

    Someone knows how to create variable presentation for a column (that is, I need to create it in edit section formula itself). And then, I should use it in the Narrative section to display the value of this column. Is this possible? Or do I need to use any other variable for this requirement? If Yes please let me know, how to create it? This is a very urgent requirement.

    Thanks in advance
    Stephanie

    Hello
    You can have any number of columns in the narrative view, he will accept... Just mention the numbers of the columns in the view body narrative...

    check if useful/correct...

    Thank you
    prassu

Maybe you are looking for