The photodegradation of the electro-optic chromophore 4N,N\u27-dimethylamino-4\u27nitrostilbene was investigated as a function of wavelength, temperature, local atmosphere, and local molecular environment, i.e., attached as a side chain to a polymer or dissolved as a guest in a host polymer