XML Feeds

.

[javascript-dev] retreive value of named object in js?

pnyboer pnyboer at slambassador.com
Mon Aug 13 14:17:45 MDT 2007


I've looked in the docs and forum for an answer to this, but it clearly isn't straightforward.  I have an object (a pictctrl) with a name that I'd like to retreive it's value from within a javascript.
for example it would be great if this worked...

var myobject = this.patcher.getnamed("Knob");
var myvalue = myobject.value;
post("myvalue is: ",myvalue);

but of course it does not.  any suggestions?

peter

--
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The Lifespan
2 oz brandy
1/2 oz orgeat
1/2 oz maraschino
3/4 oz mix of (meyer) lemon and (yellow) grapefruit juice
Shake with ice and serve in a Pernod-rinsed cocktail glass


More information about the javascript-dev mailing list