Hi Alex, very cool. I tried to play with the skinning feature with a new button with height 70 and see that the image is behaving like a tile (repeating on y vertex). I need to see more how CSS and skinning works in FlexJS but this is very cool.
2013/4/29 Alex Harui <aha...@adobe.com> > > > > On 4/29/13 1:21 PM, "Nick Collins" <ndcoll...@gmail.com> wrote: > > > I've not yet looked at the code, but are you implementing something akin > to > > Handlebars/Mustache for component skins on the JS side? > I don't think so. All I did was get CSS background-image to work in both > AS > and JS. > > > > I think that would be pretty slick if the compiler generated Mustache > > compatible templates for the HTML component of the skin with CSS classes > > and such populated, but the model of the component injected using > Mustache. > I might be missing something, but Mustache just looks like Flex > databinding. > What would be the advantage of needing run-time "compilation" of these > templates? > > > > Nick > > > > > > On Mon, Apr 29, 2013 at 11:58 AM, Alex Harui <aha...@adobe.com> wrote: > > > >> I think I forgot to mention last week that I added a very basic (and > ugly) > >> skinnable button to the FlexJSTest_again example. I only added > skinning to > >> the html.staticControls.TextButton. Volunteers are invited to copy that > >> over to the html5 set and/or provide a nicer set of pngs for the button > >> skin (or contribute anything else they want). > >> > >> Thanks, > >> -- > >> Alex Harui > >> Flex SDK Team > >> Adobe Systems, Inc. > >> http://blogs.adobe.com/aharui > >> > > -- > Alex Harui > Flex SDK Team > Adobe Systems, Inc. > http://blogs.adobe.com/aharui > > -- Carlos Rovira Director de TecnologĂa M: +34 607 22 60 05 F: +34 912 94 80 80 http://www.codeoscopic.com http://www.directwriter.es http://www.avant2.es