Forum Replies Created

  • Matthewb

    March 14, 2006 at 11:13 pm in reply to: Expression for Digital Clock

    Thanks that does help quite a bit! I come from a bit of a Pascal programming experiance so i am having to crosstrain my thoughts into java… so your explaintion helps to understand the procedures, thanks again

  • Matthewb

    March 14, 2006 at 11:13 pm in reply to: Expression for Digital Clock

    Thanks that does help quite a bit! I come from a bit of a Pascal programming experiance so i am having to crosstrain my thoughts into java… so your explaintion helps to understand the procedures, thanks again

  • Matthewb

    March 14, 2006 at 2:47 am in reply to: Expression for Digital Clock

    Thanks Dan, I greatly appreciate your site motionscript.com! it is educating me quite a bit! but i also think i need to get a book to study more in depth!. your solution works great! Thanks

  • Matthewb

    March 14, 2006 at 2:47 am in reply to: Expression for Digital Clock

    Thanks Dan, I greatly appreciate your site motionscript.com! it is educating me quite a bit! but i also think i need to get a book to study more in depth!. your solution works great! Thanks

  • Matthewb

    March 13, 2006 at 4:18 am in reply to: Expression for Digital 24 Hours clock

    Dan/Anyone

    what is taking place here in your expression:
    function digits(myVal,myNumDigits){
    var s = myVal.toString();
    while (s.length < myNumDigits) s = '0' + s; return s; } i can follow the rest but am having trouble with what "function" is performing (adobe help, wasnt) then waht is the digits command accomplishing... s i take it is getting the length of myVal i think i can figure it from there... just am not sure what is happening at the beginning... i have to write a clock that starts at a specific point and stops at a specific point over a specified period... i.e. clock starts at 30.0 seconds and over 2 second climb to 43.14 seconds. thanks,

  • Matthewb

    March 13, 2006 at 4:18 am in reply to: Expression for Digital 24 Hours clock

    Dan/Anyone

    what is taking place here in your expression:
    function digits(myVal,myNumDigits){
    var s = myVal.toString();
    while (s.length < myNumDigits) s = '0' + s; return s; } i can follow the rest but am having trouble with what "function" is performing (adobe help, wasnt) then waht is the digits command accomplishing... s i take it is getting the length of myVal i think i can figure it from there... just am not sure what is happening at the beginning... i have to write a clock that starts at a specific point and stops at a specific point over a specified period... i.e. clock starts at 30.0 seconds and over 2 second climb to 43.14 seconds. thanks,

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