Hey,

In new TextField3D("hello",theFont, {textSize:40}); theFont can be any type
of parameter, that is why its format type is *

This is because it can receive either a text string with an URL, or a class.

When you use the class approach, you dont need to instantiate the class in
an object, just pass the class itself, like this:

_textfield = new TextField3D("hello", Arial, {textSize:40});

Of course, the class needs to be imported if it is not in the same package
as where the textfield is being created.

Perhaps this is not clear and I need to make a tutorial about this...

Reply via email to