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]);
     }
 }

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.