Index: lams_central/src/flash/org/lamsfoundation/lams/authoring/Application.as =================================================================== diff -u -r9a0394f988041ead8e0e4399253c14858e56b8ad -r1922e8df4d328b8318e68c74ded2a0372c58a053 --- lams_central/src/flash/org/lamsfoundation/lams/authoring/Application.as (.../Application.as) (revision 9a0394f988041ead8e0e4399253c14858e56b8ad) +++ lams_central/src/flash/org/lamsfoundation/lams/authoring/Application.as (.../Application.as) (revision 1922e8df4d328b8318e68c74ded2a0372c58a053) @@ -157,9 +157,8 @@ _dictionary.addEventListener('load',Delegate.create(this,onDictionaryLoad)); _dictionary.load(language); - //Design Data Model. - _ddm = new DesignDataModel(); + //Set reference to StyleManager and load Themes and setup load handler. var theme:String = String(_config.getItem('theme')); _themeManager = ThemeManager.getInstance(); @@ -366,10 +365,11 @@ } /** + * get the ddm form the canvas.. this method is here as the ddm used to be stored inthe application. * returns the the Design Data Model */ public function getDesignDataModel():DesignDataModel{ - return _ddm; + return _canvas.ddm; } /**