Save javascript file winthin a .AMXD

    May 16 2010 | 12:29 pm
    Is it possible to include a javascript file inside a .amxd file? Of course the text can be included in a comment or another text container, but can I get it into a js object without intervention?

    • May 20 2010 | 11:55 pm
      Just freeze the device. It will package the js and all dependent files along with the device, and when the user unfreezes it, the js will be unpacked in an "unfrozen max device files" directory.
    • May 30 2010 | 12:52 pm
      before you freeze and save, you may have to open the js in Max and save there.
      Max doesn't like including js saved by, say, your favorite text editor.
      i don't kno why.
    • May 31 2010 | 8:08 pm
      Thanx to amounta and Griotspeak!