On Sat, 19 Feb 2011, John Harrison wrote:
is it correct behavior that loadbang will not be called when it is part
of a dynamically created object? See attached. If you load test-do, it
will create an instance of test when you click on the message. Test
should print loadbang and initbang, but it only prints initbang.
initbang is called when your [test] abstraction is finished loading.
loadbang is called when your [test] abstraction's parent is finished
loading. in the case of dynamic patching, you're supposed to know when
you're finished "instantiating", and then call "loadbang" by yourself.
If your dynamic patching is incremental, you may use [gf/canvas_loadbang]
with [gf/canvas_count], to send loadbang only to the new objects (and not
to those that are supposed to have already received loadbang).
_______________________________________________________________________
| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list