Francis, Consegui. coloquei repeat e deu certo.
Obrigado. On 29 nov, 07:14, Francis Wecker <[email protected]> wrote: > Tenho o seguinte codigo, em um arquivo MXML separado chamado > "CustomApplicationSkin.MXML" : > > <?xml version="1.0" encoding="utf-8"?> > > <!-- > > >http://blog.flexexamples.com/2009/03/22/setting-a-background-image-on...> > > <s:Skin name="CustomApplicationSkin" > > xmlns:fx="http://ns.adobe.com/mxml/2009" > > xmlns:s="library://ns.adobe.com/flex/spark" > > alpha.disabled="0.5" > > > <s:states> > > <s:State name="normal" /> > > <s:State name="disabled" /> > > </s:states> > > <fx:Metadata> > > <![CDATA[ > > [HostComponent("spark.components.Application")] > > ]]> > > </fx:Metadata> > > <!-- fill --> > > <s:BitmapImage id="img" > > source="@Embed('fundo.jpg')" > > smooth="true" > > left="0" right="0" > > top="0" bottom="0" /> > > <s:Group id="contentGroup" left="0" right="0" top="0" bottom="0" > > > minWidth="0" minHeight="0" /> > > </s:Skin> > > ai na aplicaçao principal é só importar e setar: > > <fx:Style> > @namespace s "library://ns.adobe.com/flex/spark"; > s|Application { > skinClass: ClassReference("CustomApplicationSkin"); > } > </fx:Style> -- Você recebeu esta mensagem porque está inscrito na lista "flexdev" Para enviar uma mensagem, envie um e-mail para [email protected] Para sair da lista, envie um email em branco para [email protected] Mais opções estão disponíveis em http://groups.google.com/group/flexdev
