Note, for the addComponent function, there is a restriction about how
a view is attached to it's parent  when using the SWF 7 and SWF 8
runtimes because the Flash MovieClip is being used and that does not
allow children to be detached and re-atached to different parents.

So  a child view must be given it's parent at instantiation time, not
at a later time as  the API for addComponent would suggest. Calling
"new SomeClass()" with no parent arg implicitly makes it a child of
the root Canvas view.

This  platform restriction  on re-parenting views does not apply to
DHTML runtime, or to SWF 9 as I understand it, but there isn't
currently a Laszlo API for changing the parent of a view. I think we
should add such an API although it will not be back compatible with
swf7 and swf8.





On 11/23/06, Diego Miranda <[EMAIL PROTECTED]> wrote:
Hi all,

      I've uploaded some examples of the framework i'm working on to this
URL: http://java4laszlo.googlepages.com/
I'm still writing some detailed information about the framework and how to
write new components. With these examples
i just want to show the simplicity of the framework.

Best regards.

Diego.



--
Henry Minsky
Software Architect
[EMAIL PROTECTED]

Reply via email to