Change layer visibility onLoad

Discussion created by glen.rhea on Aug 26, 2010
Latest reply on Aug 30, 2010 by glen.rhea
I'm trying to change the visible layer displayed after the onLoad event for an ArcGISDynamicMapServiceLayer and it isn't working. I have a menu that works after the map is loaded but the layer that is visible initially is the one defined in the service.

There is too much code to post so here is a link to the app: