From: Doug M. <do...@cr...> - 2001-02-26 20:51:26
|
does that mean I should NOT dl the latest code? is this fix in the cvs? ----- Original Message ----- From: "Robert Rainwater" <rra...@ya...> To: <dyn...@li...> Sent: Monday, February 26, 2001 8:59 AM Subject: Re: [Dynapi-Dev] (no subject) I updated CVS with a fix. I forgot to add parent layers to the .doc. Only children were added. If you add to the first line of assignChildren: this.dyndoc.all[this.id]=this That should fix it. -- // Robert Rainwater -- DynAPI Homepage: http://dynapi.sourceforge.net/ DynAPI Snapshots: http://dynapi.sourceforge.net/snapshot/ On Monday, February 26, 2001 11:06:48 AM àÒÉÊ óÉÌØ×ÅÓÔÒÏ× wrote: > This code works with snapshot from 22.02.2001 but not with snapshot from 25.02.2001. The problem is in fact, that DynLayers never assigns to DynDocument, and DynLayer.toString() gives wrong reference. > > <script language="Javascript" src="../src/dynapi.js"></script> > <script language="Javascript"> > DynAPI.setLibraryPath('../src/lib/'); > DynAPI.include('dynapi.api.*'); > </script> > <script language="Javascript"> > > DynAPI.onLoad = function() { > myLayer = new DynLayer(null,100,100,100,100,'#c0c0c0') > DynAPI.document.addChild(myLayer) > eval(myLayer+".moveTo(100,100)") > } > > </script> > Yura Silvestrov > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev _______________________________________________ Dynapi-Dev mailing list Dyn...@li... http://lists.sourceforge.net/lists/listinfo/dynapi-dev --- Outgoing mail is certified Virus Free by AVG Free Edition Download at: http://www.grisoft.com/html/us_index.cfm Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.231 / Virus Database: 112 - Release Date: 2/12/01 |