Import one script from another?

Just to note, that with the latest beta, the line

eval(fmLocal.read(libraryPath));

should be changed to explicitly be

eval(fmLocal.readString(libraryPath));

This is due to the API changes in build 20. Specifically this one.

I’m pretty sure @simonbs meant to say readString() there and not loadString()copy and paste error from the loadString() function for the Request object perhaps?

1 Like