Introducing Degrafa CSS Support

Flex has always supported some level of CSS, which allows you to externalize styling elements and repurpose them throughout an application. However a few features have always been lacking from the standard Flex skins. With the public beta release of Degrafa on January 1st, we’re going to be raising the bar for CSS support in Rich Internet Applications, and the features we’re showing today are only the beginning. Degrafa isn’t just MXML and ActionScript anymore!

Want to see this example in action? Try it out for yourself: Degrafa CSS Example

6 Comments, Comment or Ping

  1. ethan

    Are you guys looking at a way to have the css file consumed and used at runtime or is it like flex in that it has to be compiled into an swf? -ethan

  2. ben

    Ethan,

    It’s like Flex in that it has to be compiled into a swf, except of course that you can use setStyle in ActionScript just as with any other styling. So, this will work just like the CSS you’re used to using in Flex.

  3. Shemesh_I

    IMPRESSIVE !

  4. Dirk Stevens

    Truly impressive work!

  5. Tim

    Wow, fantastic news!!

    This cuts out 90% of my custom programmatic skins ;-)

    one thing that really shocked me was the order of border settings.

    Web Browser CSS starts with ‘top’ then goes clockwise (ie. top, right, bottom, left)

    however, your example seems to indicate that it starts at ‘left’ and proceeds clockwise (ie. left, top, right, bottom)

    Was there a design decision to make it like this? Just curious.

    Cheers, thanks for the awesome work.

  6. Ben

    Tim,

    Good catch. It looks like this was just an oversight on my part. I’m certain it matched the standard originally, but I must have messed it up somewhere along the way. Anyways, I should be able to correct this for the next release version and will send you an email when it’s updated on the dev branch. Thanks.

Reply to “Introducing Degrafa CSS Support”