Home › Forums › General › Programming › Changing Images – what could be wrong in that LUA code › Re: Changing Images – what could be wrong in that LUA code
June 18, 2012 at 6:09 pm
#4439
"atom":2zsls0nb wrote:
Definetly using "." for object operations os wrong, you got some of it right and some wrong always use ":" for object operations
[code:2zsls0nb]
x = fs.getComponent() — WRONG
x = fs:getComponent() — CORRECT
[/code:2zsls0nb][/quote:2zsls0nb]
hmmm,
[code:2zsls0nb]
x = fs.getComponent() — WRONG
x = fs:getComponent() — CORRECT
[/code:2zsls0nb][/quote:2zsls0nb]
hmmm,
will fix…didn’t notice that.thanks mate
what about the way setting the different value for MIDI CC Controller?
like x:setPropertyInt("MIDI Controller",value)?