Bom, antes de mais quero dar as boas vindas ao Franco Breciano que decidiu contribuir com o blog escrevendo o post seguinte. Como a lingua nativa do mesmo é o inglês este será traduzido para português.
Segue a versão Portuguêsa:
Hoje em dia, quase todos os sites/aplicativos web permitem que os visitantes classifiquem qualquer conteudo deisponivel na web. Aqui entra em acção um componente Ratting que permite apresentar e classificar conteudo no flex.
Para utilizar o componente, utiliza-se apenas o <controls:Rating/> no qual pode-se especificar mais alguns parametros. Pode fazer o Download Código Fonte Aqui.
Num dos exemplos em baixo, Exemplo 5, queremos que a classificação que o usuário seleciona ser apresentada tanto na classificação como imagem e um número. Para obter esse exemplo basta usar o código em baixo.
|
|
Versão Original (Inglesa) by Franco Breciano @ Mindset Designs Blog.:
Nowadays, nearly every web application allows visitors to rate any content the web publishes. Here we have a wonderfull rating component to allow people to rate the Flex skins in the gallery. In this blog, we’d like to share this straightforward and easy-to-use component. To use the rating component, you simply use a single tag <controls:Rating/> and you can specify optional attributes. You can download the source code from here: Download Source Code. In one of the more interesting examples, Example 5, we want the rating the user selects to be displayed both in the rating component and as a number. So we add the following code attributes and text that will display the selected value. |
<mx:Text text="Currently selected value: {ratingExample5.selectedValue}" />;
If you are interested in finding more information about this article and more RIA information, visit Mindset Designs Blog.
Nota: Para mais informações podem visitar o Mindset Designs Blog.




Um Trackback
[...] imagem e um número. Para obter esse exemplo basta usar o código em baixo. (…)Leia o resto de Flex Rating Component (159 [...]