playMaker

Author Topic: Set Image by string variable?  (Read 1469 times)

Budde88

  • Full Member
  • ***
  • Posts: 165
Set Image by string variable?
« on: December 20, 2016, 05:11:46 AM »
Is it possible to set an objects Image by a string variable?

terri

  • Sr. Member
  • ****
  • Posts: 386
    • terrivellmann.tumblr.com
Re: Set Image by string variable?
« Reply #1 on: December 21, 2016, 07:14:27 AM »
obviously not directly, as a string is a string and an image is an image, but you could have a hashtable with images and the strings could match their keys

Budde88

  • Full Member
  • ***
  • Posts: 165
Re: Set Image by string variable?
« Reply #2 on: December 21, 2016, 07:48:25 AM »
Thanks