ambiera home ambiera home

Ambiera Forum

Discussions, Help and Support.

Create a new account, Search, or Login:
Name:  Password:
Ambiera Forum > CopperLicht
Unable to call Copperlicht functions with Komodo Edit
Author Text

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?


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Inter?ational" (you are not logged in)


Text:

 

  

Forum Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   





Software: Ambiera Light Forum. © 2008-2019 Nikolaus Gebhardt, Ambiera e.U.