Maybe I'm missing something.聽
I went ahead and read through Joan Lafferty's document ''Differences between the Flex 3 and Flex 4 beta'' and it said the best way
to learn how to do custom skinning is to take one of the default skin classes and copy it, make some small mods, etc.
So I'm trying to do this but I'm probably not looking in the right place.聽 In my Flashbuilder project folder I'm going down to the SWC packages
and double-clicking to open an example, but it says the file isn't found.聽聽 Where should I be looking for these examples?
I understand that the new architecture gives designers freedom to design their skins as they wish, but all I'm trying to do is to change the
rollover highlight color ( or turn it on, really ) for a spark List component.聽
Am I looking in the wrong place for this??
thanks
How to browse example skin class files?Sorry I should add that I'm trying to add the rollover color for a list item that has an item renderer.
%26#13;
sorry folks found the answer ... I needed to look under the flex4.swc folder as opposed to the sparkskins.swc folder. %26#13;
if you are looking for the mxml skin files you can find them on this path
C:\Program Files\Adobe\Flash Builder Beta\sdks\4.0.0\frameworks\projects\flex4\src\spark\skins\default
they idea is to copy that a skin file into your project, preferably a subfolder like src\skins
i.e. ButtonSkin.mxml
you then attach the skin to the component's skin property聽 - skinClass=''skins\ButtonSkin.mxml''
hope this helps.
David.
No comments:
Post a Comment