Hello Guest

Author Topic: The name 'tk2dTextMesh' does not denote a valid type  (Read 4205 times)

nicmar

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 4
    • View Profile
The name 'tk2dTextMesh' does not denote a valid type
« on: November 08, 2014, 10:55:28 pm »
I just bought 2D toolkit, looks very fun and promising, and I'm trying the tutorial on text meshes. Everything worked fine until the scripting part.

Even the first line of code gives me an error:
Code: [Select]
private var textMesh : tk2dTextMesh;
The name 'tk2dTextMesh' does not denote a valid type ('not found')

Did I miss something?


EDIT: The CS-script works, but not the JS. I need the JS since I will put it inside another JS-script. Thanks for any help! :)
« Last Edit: November 08, 2014, 11:00:53 pm by nicmar »

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: The name 'tk2dTextMesh' does not denote a valid type
« Reply #1 on: November 09, 2014, 03:53:34 pm »

nicmar

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: The name 'tk2dTextMesh' does not denote a valid type
« Reply #2 on: November 09, 2014, 11:21:22 pm »
Thanks for the quick reply, it worked! :)