fineart8 Registered User |
Quote
|
2014-05-04 19:10:54 |
|
Hi, i am writing javascript with Komodo Edit. it turns out that when I publish the Coppercube project, all the Copperlicht methods I called does not work. For instance, "var point=new CL3D.Vect3d(1,1,1)" cannot create a new Vect3d object. I wonder if I need to import something like a Copperlicht library. Thank you in advance!
|
erik Registered User |
Quote
|
2014-05-04 21:15:28 |
|
Difficult to say, maybe you didn't include the copperlicht.js file in your html page?
|
fineart8 Registered User |
Quote
|
2014-05-04 23:01:27 |
|
I think I do do include this line in my html:
<script type="text/javascript" src="environment/copperlichtdata/copperlicht.js"></script>
|
erik Registered User |
Quote
|
2014-05-05 08:48:39 |
|
Looks ok for me. Is the error message you get the exact one from the browser? Also, are you sure you are using the CopperLicht.js file from the SDK and not the one generated by the CopperCube editor?
|