Help the invalid expression

In the book of Marcus Geduld "AfterEffectsExpressions" it is an example (p.145) which reads:

Effect ("4-Color gradient"). Param (propertyIndex - 2).valueAtTime(time-.5)

It is an expression is applied to one of the points in a gradient effect 4 colors. It returns an error message:

Bad method arguments: propertyIndex cannot be used in this property. It seems strange that this book has a whole section that uses this expression is not valid.

BTW, I found a number of typos in the book which I like and that you have learned a lot from. I would contact him if there was a link in his book, but I can't find anything. If anyone can understand it that I would really appreciate it.

I think the problem is that when the book was written, thisProperty is implied when it relates to the housing property attributes the expression. Somewhere along the line it was changed so that now you have to include it explicitly. This should work:

Effect ("4-Color gradient"). Param (thisProperty.propertyIndex - 2).valueAtTime(time-.5)

Dan

Tags: After Effects

Similar Questions

  • Helps the complex expression to Group By

    Hi all
    I use a BPM opensource to store variables in a Workflow process. Variables are stored in an Oracle 10 database and can be retrieved using the native Api of BPM (Java) or by using Sql. For performance reasons, I use simple SQL to collect a list filtered workflow variables.

    Here is a simplified version of the BPM_INSTANCE Table:

    [NAME] [VALUE] [PROCESS_INSTANCE]
    =====================================
    AREA IN ADDITION TO 1 125
    ACME CUSTOMER 125
    ID_WO 500 125

    2 200 FIELD
    200 TEST CLIENT
    ID_WO 501 200

    1 225 FIELD
    CUSTOMER MODEL 225
    ID_WO 502 225

    Each PROCESS_INSTANCE has a set of variables that have a NAME and a VALUE.

    My need is to collect the list of all (500,501,502) ID_WO, PROCESS_INSTANCE belongs to a DOMAIN (ex. 1) and one client (e.g. ACME)

    I started coding the SQL:

    Select VALUE from BPM_INSTANCE where NAME = 'ID_WO' and PROCESS_INSTANCE in
    (select PROCESS_INSTANCE from BPM_INSTANCE, whose NAME = "CUSTOMER" and VALUE = "ACME"
    )
    However, I am not able to meet several conditions (for example I need also the PROCESS_INSTANCE also contains an AREA = 1).
    Can someone help me?
    Thank you
    Frank

    Hello

    Would this work:

    with data as (
     select 'AREA' as name, '1' as value, '125' as pi from dual union all
     select 'CLIENT' , 'ACME', '125' from dual union all
     select 'ID_WO', '500', '125' from dual union all
     select 'AREA', '2', '200' from dual union all
     select 'CLIENT', 'TEST', '200' from dual union all
     select 'ID_WO', '501', '200' from dual union all
     select 'AREA', '1', '225' from dual union all
     select 'CLIENT', 'DUMMY', '225' from dual union all
     select 'ID_WO', '502', '225' from dual)
    select o.value, i.value, ii.value from data o
     inner join data i on ( o.pi = i.pi )
     inner join data ii on ( o.pi = ii.pi ) where o.name = 'ID_WO' and i.name = 'AREA' and ii.name = 'CLIENT'; 
    

    HtH
    Johan

  • Cannot find the Airport Express Airport utility

    Hello

    I have a firmware running extreme Airport 7.6.7. 6.3.6 and one Airport utility Terminal Airport Express (model A1392). I have access to my system on a Macbook pro. Also have the app on my iPhone.

    My Airport Express and extreme talked to each other and have been broadcast on the Airport utility. However, I had to change my wifi password and the network password. After that, the Airport extreme restarted. After the reboot, my Express was no longer recognized by my network. The Express has a light orange and blinks repeatedly. I can't connect to the express to address the issue of amber light.

    I have read many posts on the forum. However, I still have to find a solution. How to connect the airport utility to the Airport express?

    Thanks for any help, you can make it,

    You have changed the password for WiFi on AirPort Extreme... but... the AirPort Express Terminal was previously programmed to connect by using your password in the "old".  The Express is lost, unable to find the network at all and doesn't know what to do.

    You can help the AirPort Express by doing a hard reset on the AirPort Express to clear the old network settings and passwords, and then configure the Express again to connect to your network 'nine' with the 'new' password.

    After the back if you don't know how to proceed.

  • Help in regular Expression for the beaches of limitation

    Hi, I'm working on the provision of a text field is limited to dates, it's just a part of the code. I already have the validation of the dates, but I am now limiting what the user enters using a regular expression. This code works a little however, it does not limit me for example I can enter more than 2 digits, but then he limits based on the total amount allowable so for example 8 digits are allowed if I just type. I need to stop after 2 digits then have a - then 2 other numbers then one - and then followed by 4 digits. I tried to limit each section and grouping as well. Any help would be greatly appreciated. Thank you.

    It is in the format code and I am the appellant in the key sequence.

    function DateKS () {}

    var value = AFMergeChange (event);

    If (! event.willCommit) {}

    Allow only characters that match the regular expression

    Event.RC = /^([0]{0,1}[1-9]{0,1}|[_1]{0,1}[012]{0,1}) ([-] {0,1}) ([0] {0,1} [1-9] {0,1} |) [12] {0,1} [0-9] {0,1} | ([3] {0,1} [01] {0,1}) ([-] {0,1}) ([0-9] {0,4}) $/ .test (value);

    }

    }

    I decided that control for 100 and 400 was not necessary because this event does occur that all 400 years. But I'm working on it further and changed even more. Here is my code to work.

    function isLeapYear (year) {}
    year return % 4 = 0;
    }

    function checkDaysInMonth (day, month, year) {}
    daysInMonth var = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];

    If (month = 2) {}
    If (isLeapYear (year)) {}
    daysInMonth [1] += 1;
    }
    }

    return daysInMonth [month - 1] > = day;
    }

    function checkDateFormat (dateStr) {}
    var errorMsg = ",
    maxYear = (new Date()) .getFullYear (),
    minYear = maxYear - 1,.
    match = dateStr.match(/^(\d{2})-(\d{2})-(\d{4})$/),
    months,
    day,
    year;

    If {(matches)
    month = parseInt (matches [1], 10);
    day = parseInt (matches [2], 10);
    year = parseInt (matches [3], 10);

    If (month < 1="" ||="" month=""> 12) {}
    errorMsg = "invalid value for the month: ' + matches [1];"
    } ElseIf (day = 0) {}
    errorMsg = "invalid value for the day:" + match [2];
    } else if (! checkDaysInMonth (day, month, year)) {}
    errorMsg = "number of days for invalid month: ' + match [2];"
    } ElseIf (year < minyear="" ||="" year=""> maxYear) {}
    errorMsg = "invalid value for the year:" + match [3] + "-must be between" + minYear + "and" + maxYear;
    }
    } else {}
    errorMsg = "invalid date format: ' + dateStr + ' \r\nPlease use format: dd-mm-yyyy ';"
    }

    return errorMsg;
    }

    function checkReceivedDate() {}
    var value = AFMergeChange (event),
    errorMsg = ";
       
    ignore control if the value is blank, because this field is not mandatory
    If (! value) {}
    return;
    }

    If {(event.willCommit)
    errorMsg = checkDateFormat (value);

    If (errorMsg) {}
    App.Alert (errorMsg, 0, 0, "error");
    Event.value = ";

    Returns false;
    }
    } else {}
    Allow only characters that match the regular expression
    Event.RC = /^(?:0) [1-9]? 1 [012]?) ? -? ( ? : 0 [1-9] ? | [12] [0-9]? 3 [01]?) ? - ? 2? 0? [0-9] {0,2} $/ .test (value);
    Event.RC = / ^ \d{0,2}-?\d{0,2}-?\d{0,4}$/.test(value);
    }

    Returns true;
    }

  • Form validation helps with the regular Expression [a-zA-Z]

    I'm trying to use the regular expression [a-zA-Z] to allow only upper or lowercase WITHOUT SPACES. With the help of [a-zA-Z] allows space and numbers.

    Could someone give me a point in the right direction?

    Thank you!

    RGNelson wrote:

    I'm trying to use the regular expression [a-zA-Z] to allow only upper or lowercase WITHOUT SPACES. With the help of [a-zA-Z] allows space and numbers.

    Could someone give me a point in the right direction?

    Please try with the following regular expression, which should work for text entry fields 'a line' well standard.

    ^ [A-Za-z] + $

    See you soon,.

    Günter

  • Can not update the settings on the Airport Express

    Currently have a facility - two extremes and an Express network.  I for the life of me can't update the Express settings. I always get an error message but I can update the settings on the two extremes very well. I can make changes to the Express with my Iphone but I can't with my Imac.  I want to activate the function of 5 GHz but I can't do that via my Iphone - with the desktop app I think.  Can someone help me?

    Let's first check and make sure that on which Airport Express version you have.

    Your version of the AirPort Express is there only 1 or 2 Ethernet ports?

    The Express to connect to your network and extend it wireless?  Alternatively, the Express connects to one of the extremes airport using a wired Ethernet cable connection.

    Then, I would be not too concerned of not being able to 'see' the Express of the iMac as long as you can access the settings of the iPhone. You can make almost any change using the iPhone you can use a Mac.

  • The AirPort Express Terminal is good enough for me?

    I need a new wireless router to replace my Netgear WNDR4300 'antiques '.  The network is only 2-3 laptops and iPhones 1-2 at a time, over a printer and Chromecast device.  We occasionally video stream, but not often.  Critics say the AirPort Express is best purchased as an add-on to an existing network, but I can't justify more expensive options from the airport.  I don't need the 11ac 802 that offer other options, and it seems that margin would be a problem, because it is limited to 5 GHz.  We have a two-storey house. Is the simple terminal AirPort Express good enough for my home network?

    The AirPort Express, pourraient deliver similar performance to your old Netgear router in terms of signal strength and the beach... but the only way to know with certainty if the Express will be good enough for your needs is to try in your home.

    Try to locate the Express up high on a shelf or Cabinet, if you can, to help in the dissemination of the signal.

    Fortunately, if you buy through Apple, you have one day 14, no questions asked return privilege, so if the Express does not provide the performance you need, you can return the unit for Exchange or a refund.

  • After transfer from XP to Win7 I don't see on the Outlook Express folder

    I am convert Outlook Express on Windows XP running on Thunderbird running on Windows 7. I installed Thunderbird on my XP computer and took the import of Outlook Express which created the Outlook Express import file that does contain not all emails that I wanted to remember. I installed Thunderbird on my Windows 7 computer and copied the Windows XP profile folder. Because profile names were different, I changed the value in the profile.ini file as well as in the parameter settings in Thunderbird to match this copied value. However, I don't see the folder Outlook Express from Thunderbird. If I navigate under the profile folder structure I see the Outlook Express import records. Any help in accessing these data would be useful. Since I was still all the data on my XP machine I can if necessary reinstall Thunderbird.

    Eureka! I tried a finish and it worked. Tools > import. Then I selected mail only > next > Outlook Express and then I sailed to the Outlook Express folder already under the folder Thunderbird Mail and even if he says nothing has been imported the structure of this file and I can see and access emails from Outlook Express.

  • How to reset the password forgotten for the Airport express

    I hid says on my airport express and I don't remember the password for it. How to reset the password

    If you have the version 2 ports of the AirPort Express, connect your computer directly to the LAN <>- Express port to see if you can access this way AirPort Utility.

    AirPort utility is as follows on your Mac: Finder > Applications > utilities > AirPort Utility.

    If you can 'see' the AirPort Express in this way... click on the image of the AirPort Express

    Click Edit in the window that appears

    Click on the menu on the Basic Station ... to the top of the screen, where you see the icon Apple, file menu, edit the menu, Menu Help window menu, etc.

    Click Show passwords and you will see your forgotten password

    If you are unable to access the AirPort Express Terminal using wired Ethernet, you can reset the password using one of the methods described in this excellent forum Tesserax an expert user tip.

    Airport - access to forgotten passwords

  • Is the function of the regular Expression

    Hi guys, using this model, I got this error:

    -4600 error has occurred during the regular expression match.

    I have attached the VI.

    can you help me? Thank you

    inuyasha84 wrote:

    Hi well I want to save (create) a file and do a check to see if the new file that I want to create already exists or not. If the idea was to see if the path of the new file is equal to the old path

    Why not just use 'check if the file or folder exists? (E/s files-> Adv file functions)

    Cameron

  • MSIMN.exe is missing from the Outlook Express folder. I have XP SP3 and IE 8.

    MSIMN.exe is missing from the Outlook Express folder which has 11 files it contains.  OE has never been installed.   I have XP Pro SP 3 IE 8.

    I bought a Dell 5 years computer and it works well. I have no e-mail program, and none has ever been installed. It seems that I only have Outlook (not installed) but I really want/need from OE 6.   MSIMN.exe is XP and is not downloadable from Ms.  Help!

    It may be a hidden file.  Make sure you have these active under control panel | Folder options | View.
     
    And go to start | Run and type (or copy and paste):
     
    "C:\program files\outlook express\msimn.exe".
     
    and including the quotes.
     
    Steve
     

    MSIMN.exe is missing from the Outlook Express folder which has 11 files it contains.  OE has never been installed.   I have XP Pro SP 3 IE 8.

    I bought a Dell 5 years computer and it works well. I have no e-mail program, and none has ever been installed. It seems that I only have Outlook (not installed) but I really want/need from OE 6.   MSIMN.exe is XP and is not downloadable from Ms.  Help!

  • I want to add 2 USB3 ports for my Pavilion 9667ea laptop using the available Express/54 slot.

    My question is, I want to use a: 2 ports USB 3.0 Flush Mount Expresscard 54 MM adapter card (one made by StarTech or similar) into the available Express54 slot that is currently empty. There is of course no reason to do this if the width of the Strip or BUS speed is not sufficient for USB3. I don't know what bandwidth is on the 9667ea of flag? If it's only 2.5 gb/s, then it will not be worth, but if it is 5 gb/s, then it might be interesting to do?

    Would there be other problems by doing this update, such as driver problems?

    As the Pavilion dv9667ea laptop computer was bought in 2008, so I suspect that the bus Express/54 is the ExpressCard Gen 1.0, which is the old standard. "StarTech.com" put this out in specification here.

    This means that the flow will be 2.5 GB and not the 5.0 GB for the highest specification of the ExpressCard Gen 2.0 bus. It's a shame that a port USB3 is now not worth.

    Thanks for your help.

  • New hard drive gets the INVALID disc Windows 7 64 bit upgrade product key!

    I installed Windows 7 Home Premium and within 24 hours, my hard drive is dead. I replaced the hard drive and reinstalling Windows 7 Home Premium with 64-bit disc. Everything went well until the time of the entry of the product key. When I typed in the key of this program returned an INVALID KEY message and instructed me to check and retype the key, I did. Product key message invalid was repeated. I have not installed a previous version of windows before you reinstall 7, and the installation program never asked me to check my right to use the upgraded version (Yes, I used the CUSTOM install method).

    The INVALID PRODUCT KEY message due to the absence of an earlier version of windows is detected on the new hard drive? I need to install my OLD version of windows before proceeding with Windows 7, can I? Please help me understand what is happening with this PC. I convinced my sister to be upgraded because Windows 7 is SO much in my PC, so that she bought the upgrade disc and tried for a week to get its system works as well as mine has inlaw for several months. I have not heard of someone having this much trouble with the upgrade to Windows 7.

    Product keys don't care equipment. They only care about the version of Windows that you are trying to install. (However, you cannot validate a facility later but this is another topic).

    If your product key is rejected, then you are two typing errors or you are using a key that does not match the DVD that you are using. This could happen if you use a MS Office key for a Windows installation to a key of Windows 7 OEM for a DVD retail of Windows 7.

  • How to get the version of the Microsoft Expression Encoder Pro software?

    Hello

    We currently have a desktop application that uses the free version of Microsoft Expression Encoder for video screen Capture.

    Now, we have an obligation to support the mp4 format.

    Is it possible to get the pro version as free version doesn't support mp4 encoding?

    If so can it be distributed as well as our product for commercial use?

    I saw in other forums that the Pro version is not available for sale more?

    If so, is there some other sdk provided by Microsoft to convert wmv to mp4?

    Thank you

    Kiran

    Hello kiran,

     
    Please contact Microsoft Community.
     
    Unfortunately, the services were interrupted for the Microsoft Expression Encoder Pro version.
     
    Now, the only possible solution is to use the Microsoft program not to convert a file format to MP4 file format. You can search online to get one of these.
    PARTY SOFTWARE WARNING: using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.
     
    I hope this helps.
     
    Kind regards
    Anusha
  • Flash player / CC, Animate.Trying to download fuse and how do the facial expression

    Hello and good afternoon, according to the part of the world that you live in the moment that you have received this message. Sow with that being said, you can very well see that I have several questions I need an answer, so any help would be greatly appreciated without having to change the forums and all this me, sow, hopefully I can get some answers here.

    Well, I'm on Mixamo and I came up with my own characters and so on, however, one of the issues that I have is, how do I get the facial expression to work with my characters. And before you tell me that I need to use fuses, I already read this information on it and I was wondering is there another program that I can use instead of fuse for my facial expression character, such as lip movement, eye movements, etc.

    And secondly, how do I get characters transferred in another program so that I can download it in one as a movie for an example? Is there like some embedded code or something I should use?

    Because I checked with Dreamweaver, which is not a lot of help and Animate is substantially the same as Dreamweaver, only another concept I's fuse, as I said, any help will be greatly appreciated especially if I don't have to go to another forum to say the same thing again?

    Best regards;

    Johnny

    Preran, here's the thing and what I discovered with these forums is that, everyone says a person with the question (s) and tell them that their in the wrong forum, instead of helping the person with the question of. Sow with that being said, what I'm trying to do is, I try to cover all of my bases.

    But to answer your question, Yes, my problem has been resolved.

    Johnny

Maybe you are looking for