Compiled Standalone: js Problem

Stuart's icon

When I create a standalone to run on the computer on which maxmsp is installed, I get no problems. The javascript works, the js. object is displayed as solid.

When the standalone runs on another computer, the js. object is dotted, ie not found. And I get an error:

can't fragload js (missing <>),error -2804

I used the standalone object to include the folder containing tzhe scripts.

Can anyone see what I'm doing wrong ? And how is the standalone on the original computer finding the script ?

Thank you,

Puzzled of Dortmund

pdelges's icon

On 27 avr. 06, at 15:15, Stuart Grimshaw wrote:

> When the standalone runs on another computer, the js. object is
> dotted, ie not found. And I get an error:
>
> can't fragload js (missing <>),error -2804

Did you check the forum's archives? You definitively should, as there
are numerous posts inthere about this topic.

You have to add the JSRef library to your standalone, (or since JS is
thread safe, the file may now have another name).

As you don't tell us on which platform you work, I can't tell you where
to look for this file.

p

_____________________________
Patrick Delges

Centre de Recherches et de Formation Musicales de Wallonie asbl
http://users.skynet.be/crfmw/max

Peter Swinnen's icon

Hi Stuart,

On 27 Apr 2006, at 15:15, Stuart Grimshaw wrote:

> When I create a standalone to run on the computer on which maxmsp is
> installed, I get no problems. The javascript works, the js. object is
> displayed as solid.
>
> When the standalone runs on another computer, the js. object is
> dotted, ie not found. And I get an error:
>
> can't fragload js (missing <>),error -2804

Make sure you include JSRefThreadsafe.shlb or JSRef.shlb in your
standalone application. Those can be found in /Library/CFMSupport. Put
them in your standalone in /Contents/MacOS (assuming you're on Mac).

Happy Maxing,
--
Peter Swinnen
----------------------------------------
Composer (from Belgium)
http://www.peterswinnen.be
mailto:info@peterswinnen.be

Stuart's icon

Thanks, that did it.