Peter Elst

Founding Partner – Project Cocoon

MXML skinning components

without comments

A few days back Mike Chambers posted an interesting code sample (made by Christian Cantrell) for Flex 2 to the FlashCoders mailinglist that shows a cool way to skin components in MXML.

Notice that it uses CSS and the Embed directive for using images as skins (which compiles the external image into the SWF). This feature alone will save hours when customizing the look and feel of applications compared to the way you do it in AS 2.0 or the Flash IDE, as many Flash developers will know from experience.



  
    
  
    
      
      
      
      
    
  

Creative Commons License
This work, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.0 Belgium License.

No related posts.

Written by Peter

October 13th, 2005 at 11:39 pm

Posted in Flex