First time here? Check out the FAQ!
x

How can I access the "FromMemoryWriter" checkbox using the ParameterTransformer?

0 votes
169 views

I'm using a ParameterTransformer right after a sample module containing this code:

snd doNotTransformSubSounds.
snd fromMemoryWriter isNil ifFalse: [snd fromMemoryWriter: true].

but it doesn't work.. I want to encapsulate the Sound and assign a boolean to it. Done that before but it doesn't work for the FromMemoryWriter checkbox.

Thanks!  

asked Nov 30, 2015 in Capytalk & Smalltalk by kymaguy (Virtuoso) (10,580 points)

1 Answer

0 votes
 
Best answer
You could simplify it to:

snd fromMemoryWriter: true

It will complain that fromMemoryWriter: is not understood, but just proceed through it and it will remember the next time you compile it.
answered Dec 1, 2015 by ssc (Savant) (119,300 points)
selected Dec 1, 2015 by kymaguy
well, that works! Kyma didn't even complain BTW. Thanks!
How can I set the Left and Right parameters for a replicated Oscilloscope?
...