From: Scott A. L. <sc...@sc...> - 2000-11-14 00:05:02
|
Brandon is correct...using setHTML on a DynLayer will destroy any child DynLayers within it. You will probably have to make a special layer for containing the HTML within Layer1 so it does not destroy Layer2. Brandon Myers wrote: > > Well Eric, given the order of events that you set, if you where to setHTML > in a layer that contains child layers, you loose all of the child layers. > > ----- Original Message ----- > From: "Eric Gravel" <egr...@ho...> > To: <dyn...@li...> > Sent: Monday, November 13, 2000 6:29 PM > Subject: [Dynapi-Dev] Having problems with 3 level layers > > > I'm having some real bizarre problems and hope you guys can help me out > > in pin pointing them. > > > > Basically, I have an object that has Layer1. The object has 1 child > > Layer2 who in turn has 3 child (Layer3, Layer4, Layer5). > > > > I'd like to know how you guys would create and setup the layers? Right > > now what I do is create my layers (new DynLayer) in my object's > > constructor function and then in the Layer1 oncreate I call functions > > to change the Layer2's dimension and HTML contain and after that the > > Layer2's child dimension and HMTML. Unfortunately, setting Layer2 > > childs doesn't work and I don't know why. > > > > Thanks, > > > > Eric > > _________________________________________________________________________ > > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > > > Share information about yourself, create your own public profile at > > http://profiles.msn.com. > > > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev -- scott andrew lepera ----------------------------------- web stuff: www.scottandrew.com music stuff: www.walkingbirds.com |