Index: lams_common/src/flash/org/lamsfoundation/lams/common/style/ThemeManager.as =================================================================== diff -u -r6cb882d7e409bba65a4cd5adb2a825945dac8ede -red4f7d0cebf4be33366d9a6ba58dbd361c088de0 --- lams_common/src/flash/org/lamsfoundation/lams/common/style/ThemeManager.as (.../ThemeManager.as) (revision 6cb882d7e409bba65a4cd5adb2a825945dac8ede) +++ lams_common/src/flash/org/lamsfoundation/lams/common/style/ThemeManager.as (.../ThemeManager.as) (revision ed4f7d0cebf4be33366d9a6ba58dbd361c088de0) @@ -2,6 +2,7 @@ import mx.transitions.easing.* import org.lamsfoundation.lams.common.style.* import org.lamsfoundation.lams.common.util.* +import org.lamsfoundation.lams.common.comms.* /** * Manages themes throughout LAMS using the Flash event delegation model. Themes are comprised of Visual elements @@ -178,6 +179,8 @@ //Set the selected theme to the default theme initially _selectedTheme = 'default'; + + //serialize(defaultTheme); } /** @@ -224,6 +227,8 @@ * Serialize a Theme/visualElement/StyleObject relation */ public function serialize(theme:Theme){ - + var wddx = new Wddx(); + var serializedTheme:String = wddx.serialize(theme); + trace(serializedTheme); } } \ No newline at end of file