replacement for scheduleDelay in Max6 API?

    Dec 15 2012 | 12:53 pm
    Hello! I'm learning to work with the Executable to run delayed tasks using eclipse java and max6. I don't want to use MaxClock since the tasks shouldn't be repeated. the 'WritingMaxExternalsInJava.pdf' guide shows that the function scheduleDelay() should be available that should allow me to run Executable classes with specified delays but for some reasons they are not available. maybe this document is outdated.
    can anyone please provide a replacement to scheduleDelay function ?
    question number 2: if I create an Executable class that implements Executable in a separated file for a cleaner code, all the outlet and inlet functions are not visible for that class. how can i overcome that problem ?
    thank you!

    • Dec 15 2012 | 4:06 pm
      I can't answer Q1 since I'm away from anything resembling a real computer, but for Q2: pass the parent MaxObject as an argument to the constructor of your Executable class.
    • Dec 16 2012 | 8:54 pm
      thank you. works. now what's the last is the first question :)
    • Dec 16 2012 | 10:07 pm
      OK: try MaxSystem.scheduleDelay(Executable, double). It looks like a typo in the docs. The method's definitely in max.jar, at least according to Eclipse.
    • Dec 17 2012 | 8:07 am
      thank you! that works!