Forum Replies Created

  • Eslam Amin

    October 2, 2013 at 9:58 am in reply to: Expression Layer Control On/Off Switch

    i was searching about some thing like that
    so i manage it with my expression below

    just put every expression in the check box 1 2 3

    s , s1 , s3
    link them to your controller

    // this is for the first one
    var s = effect("Checkbox Control")("Checkbox") ;
    var s1 = effect("Checkbox Control 2")("Checkbox") ;
    var s2 = effect("Checkbox Control 3")("Checkbox") ;

    if ( s1 == 1 || s2 == 1 ){
    s = 0 ;
    }else
    {
    s = effect("Checkbox Control")("Checkbox") ;
    }

    // the second
    var s = effect("Checkbox Control")("Checkbox") ;
    var s1 = effect("Checkbox Control 2")("Checkbox") ;
    var s2 = effect("Checkbox Control 3")("Checkbox") ;

    if ( s == 1 || s2 == 1 ){
    s1 = 0 ;
    }else
    {
    s1 =effect("Checkbox Control 2")("Checkbox") ;
    }
    s1

    // the third
    var s = effect("Checkbox Control")("Checkbox") ;
    var s1 = effect("Checkbox Control 2")("Checkbox") ;
    var s2 = effect("Checkbox Control 3")("Checkbox") ;

    if ( s == 1 || s1 == 1 ){
    s2 = 0 ;
    }else
    {
    s2 = effect("Checkbox Control 3")("Checkbox") ;
    }
    s2

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy