Fun fun fun.. every time I sit down to finish this damned scrollbar I find a nother problem.
Okay. So I pass a function to the layer via onCreate() Now.. how the hell do I specify the target of code in the function?!?! There is no way to cause a parameter to be passed to the function when is is executed on line 233 of event.js Here's what I want. When the scrollbar is created, it alligns it's children. Is this so hard? Why is this so hard? Here's the code I would have used in 2.5.whatever. Please tell me how I would do this in 3x. this.el = new EventListener(this); el.oncreate = function(evt){ evt.getSource().allignObjects() } this.addEventListener(this.el); Question: why is the base object for DynLayer (DynElement) being declared in a file called "event"? Just wondering. ------------------------------------------------------- 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]/