  | |  | initObj to custom Component | initObj to custom Component
2004-02-24 - By HM Tobor
Back When I pass an initObj to a custom component during creation, where does it
go? How can I access this object?
E.g.,
var comp = _containerMc.createClassChildAtDepth( MyComp, DepthManager.kTop,
{bb: 'bbb ', aa: 'aaa '} );
How would I access the 'bb ' and 'aa ' props? I tried accessing them from the
arguments of the MyComp constructor, but that didn 't do it...
Anyone done this?
-HM
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:105140
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |