From: Raymond I. <xw...@ya...> - 2003-09-21 23:49:40
|
Try using lyr.parent and/or lyr._created These will tell you if the layer is a child layer or if it was created -- Raymond Irving --- Brian Hayes <bg...@ke...> wrote: > Hello everyone, > > When you create a new DynLayer, but do > not add it to the page > via dynapi.document.addChild() and > dynapi.document.insertAllChildren(); how > can you know this information within a custom > widget? The reason I ask, is > to prevent looping with a widget if it does not get > added to the page, or > removed, etd... > > Thanks, > > Brian Hayes > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |