director job ($ paid)

Out of context: Reply #3

  • Started
  • Last post
  • 4 Responses
  • mikeyf0

    Have a look at the reference for the fileXtra code to launch program. I can't remember it all.

    http://kblab.net/xtras/

    To call the code in directro from flash use this code on your flash button:-

    on (release) {
    getURL("lingo:testFunction");
    }

    replace testFuction with whatever you want to call your function. The in Director create a movie script and put this code in it:-

    on testFunction
    do a bunch of stuff
    end testFunction

    put the code you need to launch your pdf in there.

    To make a movie script you need to create a new script and then in the script properties window change the drop down menu to read "Movie".

    I find that the best way to test a function like this is to use beep.

    ie

    on testFunction
    beep
    end testFunction

    that way its a piece of piss to know when the function worked cos your computer makes that nice ping noise

View thread