--- Doug Melvin <[EMAIL PROTECTED]> wrote: > hmm.. > something funny here: correct me if I am wrong > the create event now get's fired before you have the > chance to event add an event listener to the layer? > This is not good.
Maybe this can help: "The 'create' event that DynLayer invokes works notably different now. Previously children DynLayers called the create event before their parents did. At the time we made this decision it made sense, but since we're moving ahead now I've put this back to what it should be. This does impact widget creation in some manners. In cases where a child layer is resized to it's content size during the create sequence this information is no longer available to the parent DynLayer (where previously it was). If your parent DynLayer/widget needs to know the size of its children a recommended workaround is to add a 'precreate' event listener which attaches a 'create' event to the last child for use in the widget. " If not, are you using the onCreate/onPreCreate() function to create callback events? -- Raymond Irving __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://www.mail-archive.com/[EMAIL PROTECTED]/