Apps Can't set background texture

I'm trying to add texture to a label:

separator = ac.addLabel(appWindow, '')
ac.setPosition(separator, 150, 40)
ac.setSize(separator, 50, 50)
ac.setBackgroundTexture(separator, 'apps/phyton/myapp/images/separator.png')

But setBackgroundTexture returns -1.
 

Latest News

What does easier access mean to you?

  • Free access

    Votes: 14 77.8%
  • Better structured events

    Votes: 3 16.7%
  • Better structured forum

    Votes: 6 33.3%
  • Standard game content

    Votes: 5 27.8%
  • No 3pa registration pages

    Votes: 3 16.7%
  • To casual

    Votes: 2 11.1%
  • Other, please post

    Votes: 2 11.1%
Back
Top