You have to wait while the components are initializing themselves.
Usually I place my initialization code accessing the on-stage children
components in the onLoad method of the container movieclip/component.
private function onLoad():Void {
roomShape_btn.toggle = true;
roomShape_btn.addEventListener("click", this);
resizeRoom_btn.addEventListener("click", this);
editCorners_btn.addEventListener("click", this);
placeObjects_btn.addEventListener("click", this);
}
Attila
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com