Why would the following not work?!?
Has there been some fundamental change that noone thought to mention?
 
DynAPI. {
 
 myLayer = new DynLayer()
 myLayer.setSize(100,100)
 myLayer.setBgColor('#c0c0c0')
 myLayer.moveTo(100,100)
 this.document.addChild(myLayer)
 
 doClick=new EventListener(myLayer);
 
 doClick.>  alert(DynAPI.document.getWidth());
 };
}

Reply via email to