Embed javascript in M4L object?

Pvdn's icon

I'm creating a max for live device, and i was wondering if there is a way to make one single file out of it (for easy use/install) since i'm using javascript (and obviously an external js file).

KrisW's icon

yes sure , you need to FREEZE your device before saving . u will see in MAX WINDOW what is included in your file . definitely your JS will be present

Pvdn's icon

Ah, thanks. What does freezing do exactly?

KrisW's icon

it is simply including all the externals ,[poly~]s ,saved subpatchers ,bpatchers into the file ,so you dont need to port anything all the time while moving file here or there :)