Phil 11.16.11

7:30 – 4:30 VISIBILITY

  • Tried to contact our test guy by phone and email, no luck yet.
  • Cleaning up GesturePieChart and GesturePieChartEvent
  • Spent quite a bit of time digging through styles to find how to make things look best together. Made a new view called StyleBrowser to seve work for the next time.
  • Dong gave me a new disk. We’ll all meet on site to deploy and talk to Chris.

How to get all the currently defined styles (from http://blog.flexexamples.com/2007/09/12/building-a-simple-style-browser-in-flex-3/)

 var arr:Array = styleManager.selectors;
 var selector:String;
 var cssStyle:CSSStyleDeclaration;
 var obj:Object;

 var key:String;
 for each (selector in arr){
     cssStyle = styleManager.getStyleDeclaration(selector);
     obj = new cssStyle.defaultFactory();
     for (key in obj) {
         trace(selector+": "+key+" = "+obj[key]);
     }
 }