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
Tags: css
December 18th, 2007 at 5:11 pm
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
December 18th, 2007 at 6:25 pm
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.
December 19th, 2007 at 12:43 am
IMPRESSIVE !
December 19th, 2007 at 12:14 pm
Truly impressive work!
March 27th, 2008 at 10:38 pm
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.
April 2nd, 2008 at 8:14 am
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.