<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
	<channel>
		<title>RodrigoFM : RodrigoFMsantoS</title>
		<link>http://rodrigofm.bloggeiros.com/RodrigoFM-b1.htm</link>
		<description>Rodrigo FM</description>
		<lastBuildDate>Sun, 14 Mar 2010 00:41:06 GMT</lastBuildDate>
		<ttl>10</ttl>
		<image>
			<title>RodrigoFM : RodrigoFMsantoS</title>
			<url></url>
			<link>http://rodrigofm.bloggeiros.com/RodrigoFM-b1.htm</link>
		</image>
	<item>
		<title>Exibindo vídeo em formato Flash usando o ActionScript 3 - Componente FLVPlayback</title>
		<category>RodrigoFM</category>
		<pubDate>2009-07-20T13:38:20Z</pubDate>
		<description>&lt;h2 style=&quot;margin-top: 10px&quot;&gt;Exibindo vídeo em formato Flash usando o ActionScript 3 - Componente FLVPlayback&lt;/h2&gt;&lt;br /&gt;&lt;div id=&quot;strConteudo&quot;&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Este&lt;br /&gt;artigo irá explicar o processo para preparar os arquivos e aplicar&lt;br /&gt;customizações básicas para o player. Ao final, daremos uma breve&lt;br /&gt;descrição dos métodos mais comuns, propriedades e eventos disponíveis&lt;br /&gt;para o componente FLVPlayback. Faça o &lt;a href=&quot;http://www.republicofcode.com/tutorials/flash/as3flvplayback/video.zip&quot;&gt;download&lt;/a&gt; desse vídeo de exemplo e veja tipo de vídeo que podemos mostrar com Flash.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Este tutorial é dividido entre as seguinte seções:&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;	&lt;li&gt;Preparando os arquivos e codificando o vídeo para o formato FLV.&lt;/li&gt;&lt;br /&gt;	&lt;li&gt;Aprendizagem básica do componente FLVPlayback.&lt;/li&gt;&lt;br /&gt;	&lt;li&gt;Aplicando uma skin ao componente FLVPlayback.&lt;/li&gt;&lt;br /&gt;	&lt;li&gt;Selecionando métodos, propriedades e eventos.&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;h4&gt;&lt;strong&gt;Preparando os arquivos e codificando o vídeo para o formato FLV&lt;/strong&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Para ter tudo organizado, eu sugiro que você crie uma nova pasta em&lt;br /&gt;seu computador onde terá todos os arquivos relevantes que iremos usar.&lt;br /&gt;Teremos um arquivo FLA, o final SWF, um skin SWF e um arquivo de vídeo&lt;br /&gt;no formato FLV.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Antes de começarmos a fazer algo no Flash, é preciso converter o&lt;br /&gt;vídeo para o formato de vídeo FLV. Isso pode ser feito usando o Flash&lt;br /&gt;Video Encorder, que vem com o pacote Flash. Esta ferramenta irá&lt;br /&gt;converter para vários formatos, como .mov, .mp4, .mpeg, .wmv e alguns&lt;br /&gt;outros, bem como FLV. Se você não tem um vídeo para usar neste&lt;br /&gt;tutorial, você pode fazer o download do &lt;a href=&quot;http://www.republicofcode.com/tutorials/flash/as3flvplayback/video.zip&quot;&gt;simples vídeo&lt;/a&gt; usado neste tutorial. Faça o downoad do arquivo, descompacte-o e coloque-o na pasta do projeto.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;O vídeo que disponibilizamos a você foi salvo no formato do&lt;br /&gt;Quicktime. Vamos convertê-lo para FLV.Para fazer isso, abra o Flash&lt;br /&gt;Video Encorder (nomeado como Media Encoder no pacote de aplicativos&lt;br /&gt;CS4) e clique em Add para adicionar o vídeo que você baixou.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/13120/flash-video-encoder.gif&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Você pode clicar em Settings para configurar algo como qualidade,&lt;br /&gt;redimensionamento,e tipo de codec. Usar as configurações padrão será&lt;br /&gt;suficiente. Para começar a codificar, simplesmente clique em Start &lt;em&gt;Queue.&lt;/em&gt; O novo arquivo .flv deve ser achado no mesma pasta em que estava o vídeo original (neste caso, no nosso projeto).&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;O nosso vídeo está pronto. Feche o Flash Video Encoder e abra o&lt;br /&gt;Flash. Crie uma novo arquivo FLA no formato ActionScript 3.&lt;br /&gt;Configurações como dimensões, cor de fundo e frame rate, na verdade,&lt;br /&gt;não importam para este tutorial. Você só tem que salvar o arquivo no&lt;br /&gt;mesmo diretório que o vídeo, a fim de reproduzi-lo facilmente. Faça&lt;br /&gt;isso e depois vamos prosseguir. &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/13120/flv-fla-same-folder.gif&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;strong&gt;Aprendizagem básica do componente FLVPlayback&lt;/strong&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Agora, volte para o arquivo FLA. Iremos exibir nosso vídeo usando o Componente &lt;em&gt;FLVPlayback&lt;/em&gt;.&lt;br /&gt;Componentes são clipes prontos com funcionalidade built-in. O&lt;br /&gt;componente FLVPlayback é para ser usado quando você deseja reproduzir&lt;br /&gt;um vídeo. Vamos criar o nosso projeto inteiro usando código&lt;br /&gt;ActionScript, porém, temos os elementos gráficos do componente a ser&lt;br /&gt;armazenados em nossa Biblioteca, a fim de utilizá-los.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Para importar o componente da Biblioteca, é preciso acessar o Painel de Componentes pelo &lt;em&gt;Window&amp;gt;Component&lt;/em&gt;,&lt;br /&gt;veja o Componente FLVPlayback acima da categoria do vídeo e, em&lt;br /&gt;seguida, arraste e solte um exemplo e depois apague-o! Isso deve&lt;br /&gt;armazenar uma instância do componente na biblioteca, acesse a&lt;br /&gt;Biblioteca (Ctrl + L) para ver que você tem aí dentro.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/13120/insert-flv-playback-component.gif&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Agora vamos usar o ActionScript para exibir nosso vídeo utilizando&lt;br /&gt;este componente. Clique com o botão direito no único frame que há na&lt;br /&gt;cena e selecione &lt;em&gt;Actions&lt;/em&gt; para abrir o &lt;em&gt;Actions Panel&lt;/em&gt;.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;O código que iremos criar irá seguir as seguintes tarefas:&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;	&lt;li&gt;Importe o pacote vídeo class.&lt;/li&gt;&lt;br /&gt;	&lt;li&gt;Crie uma instância do componente FLVPlayback.&lt;/li&gt;&lt;br /&gt;	&lt;li&gt;Defina o vídeo que queremos exibir em source.&lt;/li&gt;&lt;br /&gt;	&lt;li&gt;Adicione o vídeo para a lista de exibição.&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Iremos codificar esses um por um. A fim de ter acesso à classe do&lt;br /&gt;componente ActionScript de nosso playback, precisamos importar o pacote&lt;br /&gt;de vídeo para começar nosso código. Digite a seguinte linha para fazer&lt;br /&gt;exatamente isso:&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class=&quot;codigo&quot;&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; fl&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;video&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.*;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Como a maioria das classes do ActionScript, você deve criar um&lt;br /&gt;exemplo de classe usando a palavra reservada &amp;quot;NEW&amp;quot;, a fim de usá-lo.&lt;br /&gt;Nós vamos fazer isso e, em seguida, definiremos o Source deste exemplo&lt;br /&gt;como o nosso vídeo.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class=&quot;codigo&quot;&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; fl&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;video&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.*;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; myVideo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;FLVPlayback&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;FLVPlayback&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;myVideo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;source &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;video.flv&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;A propriedade .source é usada para especificar o vídeo que vai ser&lt;br /&gt;exibido. Se você quer exibir outro vídeo, você pode simplesmente&lt;br /&gt;configurar essa propriedade para um outro valor e automaticamente&lt;br /&gt;começará a carregar o vídeo.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Mesmo este vídeo tendo sido criado para o fim específico de ser&lt;br /&gt;nosso exemplo, para que possamos vê-lo na tela precisamos adicioná-lo à&lt;br /&gt;&lt;a href=&quot;http://www.republicofcode.com/tutorials/flash/as3displaylist/&quot;&gt;Display List&lt;/a&gt; utilizando o método addChild ():&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Para fazer nosso componente ser visível na tela nós precisamos somente adicioná-lo na Display List usando o método addChild():&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class=&quot;codigo&quot;&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; fl&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;video&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.*;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; myVideo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;FLVPlayback&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;FLVPlayback&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;myVideo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;source &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;video.flv&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;addChild&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;myVideo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Agora você pode testar seu vídeo (Ctrl+Enter) e vê-lo sendo exibido.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Você não deve ser capaz de reproduzir qualquer vídeo que queira&lt;br /&gt;utilizando este código, no entanto, se quiser ter alguma funcionalidade&lt;br /&gt;de usuário adicionada ao player, pode querer usar uma skin. Isto será&lt;br /&gt;explicado na próxima seção.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;strong&gt;Aplicando uma skin ao componente FLVPlayback&lt;/strong&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Skins são controladores de visualização que você pode parar, pausar,&lt;br /&gt;mudar o volume e fazer outras coisas que dependem de uma skin para&lt;br /&gt;mudar. Usamos uma no vídeo de exemplo. É parecido com este:&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/13120/skin-example.gif&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Os elementos gráficos da skin são salvos separadamente em um arquivo&lt;br /&gt;SWF que é carregado junto com o filme SWF. Se você tiver a skin do&lt;br /&gt;arquivo SWF disponível, você simplesmente define sua URL como o valor&lt;br /&gt;para uma propriedade chamada .skin, como mostra o exemplo abaixo:&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class=&quot;codigo&quot;&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; fl&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;video&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.*;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; myVideo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;FLVPlayback&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;FLVPlayback&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;myVideo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;source &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;video.flv&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;myVideo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;skin &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;SkinOverPlayStopSeekFullVol.swf&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;addChild&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;myVideo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Estes arquivos skin podem ser gerados por Flash através de um&lt;br /&gt;processo relativamente longo, o que exigirá que você crie um exemplo do&lt;br /&gt;componente FLVPlayback na cena, aplicar-lhe a skin e, em seguida,&lt;br /&gt;testar o filme para gerar o arquivo da skin. Vamos acompanhá-lo através&lt;br /&gt;deste processo. &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Comece abrindo a Library (Ctrl + L) e, em seguida, arraste e copie do Componente FLVPlayback para dentro da cena.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/13120/library-drag-instance.gif&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Vamos agora configurar qual skin a ser usada acessando o Component Inspector. Selecione o seu componente e, em seguida, vá em &lt;em&gt;Window&amp;gt;Components Inspector&lt;/em&gt; para abrir o painel necessário. Olhe para a opção skin em &lt;em&gt;Parameters&lt;/em&gt;&lt;br /&gt;e clique sobre ele. Você pode escolher a skin que pretende utilizar a&lt;br /&gt;partir da aqui. Skins diferentes têm diferentes funcionalidades e&lt;br /&gt;algumas delas aparecem no seu componente, enquanto outras são colocadas&lt;br /&gt;logo abaixo dela. Escolha aquela que você deseja e clique em OK.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/13120/choose-skin.gif&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Você aplicou a skin para um exemplo do componente FLVPlayback que é&lt;br /&gt;colocado sobre a cena. Este não é o que estamos usando através do&lt;br /&gt;ActionScript. No entanto, para obter o arquivo da skin que temos&lt;br /&gt;necessidade para gerá-lo manualmente, aplicando-a para um exemplo e, em&lt;br /&gt;seguida, testando o filme. Teste o filme agora (Ctrl + Enter) para ver&lt;br /&gt;seu vídeo gerado em ActionScript e um posicionamento sobre esta nova&lt;br /&gt;fase com nenhum conteúdo nele.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/13120/testing-skin.gif&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Nós acabamos de criar o arquivo skin que precisamos para o nosso&lt;br /&gt;outro vídeo. Se verificar a pasta do projeto, vai encontrar um novo&lt;br /&gt;arquivo SWF da skin. Você precisa ter o nome desse arquivo para usar&lt;br /&gt;como sua skin.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/13120/new-skin-swf-file.gif&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;O nome desse arquivo é o valor que precisamos para a propriedade do&lt;br /&gt;skin. Copie o nome desse arquivo e volte para o FLA. Delete o exemplo&lt;br /&gt;do componente FLVPlayback da cena, não precisamos mais dele. Abra o&lt;br /&gt;painel Actions para continuar codificando. &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Agora nós podemos simplesmente definir o nosso componente skin,&lt;br /&gt;utilizando a propriedade .skin como o nome do novo arquivo que temos.&lt;br /&gt;Não se esqueça de colocar o .swf no final:&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class=&quot;codigo&quot;&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; fl&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;video&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.*;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; myVideo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;FLVPlayback&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;FLVPlayback&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;myVideo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;source &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;video.flv&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;myVideo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;skin &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;SkinOverPlayStopSeekFullVol.swf&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;addChild&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;myVideo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Teste seu filme agora para ver o seu skin colocado em seu componente!&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/13120/skin-applied.gif&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Você pode personalizar ainda mais o nível de transparência e a cor&lt;br /&gt;da skin, utilizando as propriedades .SkinBackgroundColor e&lt;br /&gt;.SkinBackgroundAlpha que são bem auto-explicativas:&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class=&quot;codigo&quot;&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; fl&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;video&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.*;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; myVideo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;FLVPlayback&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;FLVPlayback&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;myVideo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;source &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;video.flv&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;myVideo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;skin &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;SkinOverPlayStopSeekFullVol.swf&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;myVideo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;skinBackgroundColor &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;0xAEBEFB&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;br /&gt;myVideo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;skinBackgroundAlpha &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;0.5&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;addChild&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;myVideo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Você pode testar seu filme novamente para ver as alterações no componente skin:&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/13120/skin-color-changed.gif&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Isso deve ser suficiente para esta parte. A fim de tentar uma skin&lt;br /&gt;diferente, você terá de criar um exemplo do seu componente na cena e,&lt;br /&gt;em seguida, testar o filme após aplicar a skin para gerar o arquivo da&lt;br /&gt;skin necessário.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Isso acabou com a parte principal do tutorial. A próxima seção terá&lt;br /&gt;uma breve explicação de algumas propriedades e métodos disponíveis para&lt;br /&gt;esse componente. Vamos terminar com uma breve explicação sobre como&lt;br /&gt;usar os eventos deste componente.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;strong&gt;Métodos e propriedades selecionadas&lt;/strong&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Além dos controles disponíveis através do controlador da skin, é&lt;br /&gt;possível passar comandos manualmente para um exemplo do componente&lt;br /&gt;FLVPlayback utilizando os métodos disponíveis e suas propriedades.&lt;br /&gt;Estes devem ser chamados diretamente através do exemplo:&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;	&lt;li&gt;Stop () - pára o vídeo e reinicia a reprodução a posição do começo. &lt;br /&gt;	&lt;/li&gt;&lt;br /&gt;	&lt;li&gt;Pause () - pausará o vídeo na sua posição atual. &lt;br /&gt;	&lt;/li&gt;&lt;br /&gt;	&lt;li&gt;Play () - retoma a reprodução. &lt;br /&gt;	&lt;/li&gt;&lt;br /&gt;	&lt;li&gt;Load () - pode ser usado para carregar um outro vídeo FLV (ao&lt;br /&gt;	contrário do . source, que irá fazer o vídeo rodar automaticamente se a&lt;br /&gt;	propriedade .autoplay estiver definida para true). &lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Código-exemplo sobre como usar o método .Load ():&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class=&quot;codigo&quot;&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span class=&quot;pln&quot;&gt;myVideo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;load&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;video.flv&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Além dos métodos mencionados acima, abaixo algumas propriedades comumente utilizadas: &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;	&lt;li&gt;source - é usada para definir a fonte de vídeo para o player. Foi utilizado em nosso exemplo de código. &lt;br /&gt;	&lt;/li&gt;&lt;br /&gt;	&lt;li&gt;autoplay - determina se o vídeo vai começar a tocar automaticamente&lt;br /&gt;	ou não. É definido como true por padrão. Se você não quer exibir o&lt;br /&gt;	vídeo automaticamente, defina essa propriedade para false. &lt;/li&gt;&lt;br /&gt;	&lt;li&gt;state - é uma propriedade de leitura apenas utilizada para obter o&lt;br /&gt;	estado atual do vídeo. Os estados possíveis são &amp;quot; buffering &amp;quot;,&lt;br /&gt;	&amp;quot;connectionError&amp;quot;, &amp;quot; disconnected &amp;quot;, &amp;quot; loading &amp;quot;, &amp;quot; paused &amp;quot;, &amp;quot; playing&lt;br /&gt;	&amp;quot;, &amp;quot; rewinding &amp;quot;, &amp;quot; seeking &amp;quot;, e &amp;quot; stopped&amp;quot;. &lt;/li&gt;&lt;br /&gt;	&lt;li&gt;PlayheadTime - é usado para recuperar ou definir a reprodução atual&lt;br /&gt;	da posição em segundos. Se quiser ir para o segundo 30 do vídeo&lt;br /&gt;	instantaneamente, simplesmente defina esta propriedade para 30. &lt;/li&gt;&lt;br /&gt;	&lt;li&gt;skin - é usada para definir a skin do reprodutor, como ilustrado no tutorial. &lt;br /&gt;	&lt;/li&gt;&lt;br /&gt;	&lt;li&gt;SkinBackgroundColor - define a cor da skin. &lt;br /&gt;	&lt;/li&gt;&lt;br /&gt;	&lt;li&gt;SkinBackgroundAlpha - define o nível de transparência da skin. &lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Estes são apenas alguns dos métodos disponíveis e as propriedades&lt;br /&gt;disponíveis para o componente FLVPlayback. Certifique-se de verificar o&lt;br /&gt;ActionScript referência se você gosta de aprender sobre todas as&lt;br /&gt;possibilidades.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;strong&gt;O evento VideoEvent.COMPLETE&lt;/strong&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Eventos nos permitem tomar ações específicas quando eles são&lt;br /&gt;acionados, de modo que, por exemplo, podemos remover um vídeo quando&lt;br /&gt;terminar a reprodução ou torná-la transparente quando ela está pausada.&lt;br /&gt;O componente FLVPlayback tem inúmeros eventos, um muito utilizado é o&lt;br /&gt;COMPLETE, que é acionado quando um vídeo termina a reprodução. Para&lt;br /&gt;este evento ser utilizado, deve ser registrado com o exemplo utilizando&lt;br /&gt;o método FLVPlayback .&lt;a href=&quot;http://www.republicofcode.com/tutorials/flash/as3events/&quot;&gt;AddEventListener ()&lt;/a&gt;, tal como todos os outros eventos.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;O exemplo a seguir irá definir a propriedade .Alfa do vídeo para 0,5 quando a reprodução completar.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class=&quot;codigo&quot;&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; fl&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;video&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.*;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; myVideo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;FLVPlayback&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;FLVPlayback&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;myVideo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;source &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;video.flv&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;myVideo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;skin &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;SkinOverPlayStopSeekFullVol.swf&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;myVideo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;addEventListener&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;VideoEvent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;COMPLETE&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; completePlay&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; completePlay&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;e&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;VideoEvent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;):&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;myVideo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;alpha&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;0.2&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;addChild&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;myVideo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;*&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Artigo originalmente publicado em: &lt;a href=&quot;http://www.flashperfection.com/tutorials/Playing-Flash-Video-Using-The-AS3-FLVPlayback-Component-44200.html&quot;&gt; http://www.flashperfection.com/tutorials/Playing-Flash-Video-Using-The-AS3-FLVPlayback-Component-44200.html &lt;br /&gt;&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Fonte: www.imasters.com.br&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;</description>
		<guid>http://rodrigofm.bloggeiros.com/RodrigoFM-b1/Exibindo-video-em-formato-Flash-usando-o-ActionScript-3-Componente-FLVPlayback-b1-p56.htm</guid>
	</item>
	<item>
		<title>Motion Tween no Adobe Flash CS4</title>
		<category>RodrigoFM</category>
		<pubDate>2009-07-20T13:31:40Z</pubDate>
		<description>&lt;h2 style=&quot;margin-top: 10px&quot;&gt;Motion Tween no Adobe Flash CS4&lt;/h2&gt;&lt;br /&gt;&lt;div id=&quot;strConteudo&quot;&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Olá!&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;No novo Adobe Flash CS4, vamos apresentar a forma de se fazer uma&lt;br /&gt;animação pela linha de tempo, pelo Motion Tween. Vamos usar o perfil&lt;br /&gt;Animator, que é um novo recurso que o Flash CS4 tem para configurar o&lt;br /&gt;layout das ferramentas. &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Nas versões anteriores do Flash era necessário selecionar o objeto e&lt;br /&gt;criar quadros-chave em cada ponto em que a animação era alterada. No&lt;br /&gt;Flash CS4, vamos especificar o tempo da animação e, em seguida,&lt;br /&gt;definimos os pontos de referência. &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;No exemplo abaixo, vamos colocar os elementos em cada layer. O Fundo&lt;br /&gt;é estático, o &amp;quot;Logo&amp;quot; (que será a animação) foi transformado em Movie&lt;br /&gt;Clip e, na linha do tempo, habilitamos o Create Motion Tween.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Você poderá fazer esses pontos de referência pressionando a tecla F6&lt;br /&gt;ou simplesmente fazendo qualquer alteração, como arrastar ou aplicar um&lt;br /&gt;filtro sobre o objeto.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Como queremos que o &amp;quot;Logo&amp;quot; apareça, vamos marcar na linha de tempo o&lt;br /&gt;tempo para sua exibição. Para o exemplo, no primeiro frame deixaremos&lt;br /&gt;Alpha 0% e no décimo frame deixaremos Alpha 100%.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12800/04_.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Então, o logo irá surgir!&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Agora que você habilitou o Motion Tween na linha de tempo, selecione&lt;br /&gt;o objeto ou um frame qualquer da linha de tempo e dê uma olhada na&lt;br /&gt;palheta &amp;quot;MOTION EDITOR&amp;quot;. Várias barras quadriculadas divididas em&lt;br /&gt;grupos aparecerão e será por elas que você poderá fazer com precisão&lt;br /&gt;todas as suas animações. É claro que as animações ainda podem ser&lt;br /&gt;feitas do modo tradicional, mas não com a precisão que o MOTION EDITOR&lt;br /&gt;oferece! &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Vamos começar identificando os cinco grupos, que são &amp;quot;Basic motion&amp;quot;, &amp;quot;Transformation&amp;quot;, &amp;quot;Color Effect&amp;quot;, &amp;quot;Filters&amp;quot; e &amp;quot;Eases&amp;quot;.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Basic motion: Como o próprio nome já diz, esta lista se refere a&lt;br /&gt;recursos básicos, como posição &amp;quot;x&amp;quot;, &amp;quot;y&amp;quot; e girar no eixo &amp;quot;z&amp;quot;. Não se&lt;br /&gt;assuste!!! Girar em &amp;quot;z&amp;quot; nada mais é que o rotation a que já estamos&lt;br /&gt;acostumados das outras versões do Flash.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;É chamado assim porque agora podemos girar o eixo em &amp;quot;x&amp;quot;, &amp;quot;y&amp;quot; e &amp;quot;z&amp;quot;,&lt;br /&gt;ou seja, não temos apenas &amp;quot;x&amp;quot; para mover para esquerda e direita e &amp;quot;y&amp;quot;&lt;br /&gt;para cima e para baixo, também temos &amp;quot;z&amp;quot; para mover para trás e para&lt;br /&gt;frente - em outras palavras, agora temos profundidade.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Isso não significa que o Flash já seja 3D. Os elementos continuam&lt;br /&gt;sendo achatados, mas agora podem girar 360º para qualquer direção!!!&lt;br /&gt;Por hora, só temos posição em &amp;quot;x&amp;quot;, &amp;quot;y&amp;quot; e giro em &amp;quot;z&amp;quot; e mais para frente&lt;br /&gt;iremos habilitar a profundidade em &amp;quot;z&amp;quot; e o giro em &amp;quot;x&amp;quot; e &amp;quot;y&amp;quot;.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;De qualquer forma, esse grupo não muda em momento algum o tamanho ou&lt;br /&gt;a inclinação do objeto por mais que isso pareça estar acontecendo no&lt;br /&gt;caso do &amp;quot;quase 3D&amp;quot;, mas muda a nossa perspectiva, pois agora podemos&lt;br /&gt;ver o objeto de diversos ângulos. &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Tranformation&lt;/strong&gt;: Este não tem novidade; estão&lt;br /&gt;reunidos aqui os elementos da palheta Transform, o skew X, skew Y,&lt;br /&gt;scale X e scale Y, com exceção do rotation, que até continua na palheta&lt;br /&gt;Transform, mas, no caso do MOTION EDITOR, está no grupo Basic motion. &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Color Effect&lt;/strong&gt;: Aqui estão reunidos os efeitos de cor&lt;br /&gt;para um objeto igual à palheta de propriedades, onde temos uma lista de&lt;br /&gt;efeitos de cor. Mas só podemos usar um efeito para aplicar a cada&lt;br /&gt;objeto em um ponto de referência da animação.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Filters&lt;/strong&gt;: Aqui temos todos os filtros contidos na&lt;br /&gt;palheta convencional e, assim como ele, podemos aplicar qualquer&lt;br /&gt;filtro, quantas vezes quisermos.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Eases:&lt;/strong&gt; Antes, no Flash, usávamos o Eases para&lt;br /&gt;definir a velocidade da animação, se iria ser constante, se começaria&lt;br /&gt;rápido para terminar devagar ou se começaria devagar para terminar&lt;br /&gt;rápido. Além disso, podíamos, no modo avançado, através de um gráfico,&lt;br /&gt;variar ainda mais esta velocidade.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Agora, ainda podemos fazer com a opção &amp;quot;custom&amp;quot; e temos também&lt;br /&gt;diversas opções já pré-configuradas para facilitar ainda mais a nossa&lt;br /&gt;vida. Essas opções já existiam, mas podíamos acessá-las apenas por&lt;br /&gt;programação, o que quer dizer que ficou mais fácil usá-las sem&lt;br /&gt;conhecimento de programação!&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Você pode notar que todos os outros grupos acima têm caixas de&lt;br /&gt;seleção e um &amp;quot;combobox&amp;quot;, onde podemos aplicar esses recursos em todos&lt;br /&gt;os meios, seja ele de movimento, forma, cor ou filtro.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Por fim, aqueles que já estão familiarizados com o modo avançado do&lt;br /&gt;Eases vão se sentir mais à vontade neste ambiente, já que segue o mesmo&lt;br /&gt;principio para todos os outros recursos de animação em que, através de&lt;br /&gt;pontos de referências em um gráfico, podem manipular livremente suas&lt;br /&gt;animações.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Agora, vamos dar um movimento para ele! Em Ferramentas (Tools),&lt;br /&gt;usaremos o 3D Rotation Tool para dar a impressão de movimento em 3D.&lt;br /&gt;Observe o gráfico no Motion Editor!&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Essa é a maneira mais fácil de aplicar a impressão de 3D ao objeto,&lt;br /&gt;e note que agora no Motion Editor, no grupo Basic motion, aparecem as&lt;br /&gt;opções que faltavam para manipular o objeto em 3D. Essa é só uma das&lt;br /&gt;maneiras de habilitar esses parâmetros; você pode também, a qualquer&lt;br /&gt;momento, ir à linha de tempo da animação (em que o novo Motion Tween&lt;br /&gt;esteja habilitado) e, com um clique no botão direito, poderá habilitar&lt;br /&gt;ou desabilitar o 3D Tween.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12800/07_.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;A qualquer momento selecione um quadro na animação e aplique o&lt;br /&gt;efeito que você quiser (pode ser na palheta do Motion Editor também).&lt;br /&gt;Neste momento o Adobe Flash CS4 irá criar um ponto de referência para a&lt;br /&gt;mudança que você fez na animação.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Vamos inserir mais uma layer &amp;quot;Nome&amp;quot;. Não se esqueça de que ela tem de ser um Movie Clip, pois terá uma animação também!&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12800/08_.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Enquanto fazemos a animação, os pontos de referência são criados e&lt;br /&gt;tudo pode ser acompanhado e alterado (para aqueles que gostam de&lt;br /&gt;precisão e de gráficos) no Motion Editor.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;O resultado ficará muito legal e você poderá usar sua imaginação para as animações!!!&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Fonte: www.imasters.com.br&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;</description>
		<guid>http://rodrigofm.bloggeiros.com/RodrigoFM-b1/Motion-Tween-no-Adobe-Flash-CS4-b1-p55.htm</guid>
	</item>
	<item>
		<title>Todos são Designers?</title>
		<category>RodrigoFM</category>
		<pubDate>2009-07-20T13:23:15Z</pubDate>
		<description>&lt;h2 style=&quot;margin-top: 10px&quot;&gt;Todos são Designers?&lt;/h2&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ultimamente&lt;br /&gt;&lt;br /&gt;me deparo na internet com o número absurdo de &amp;quot;designers&amp;quot; que existem&lt;br /&gt;&lt;br /&gt;por aí.&lt;br /&gt;&lt;br /&gt;Infelizmente nossa profissão ainda não é devidamente regulamentada,&lt;br /&gt;&lt;br /&gt;então qualquer um que se dê ao luxo de ser um bom operador de software&lt;br /&gt;&lt;br /&gt;pode se dar o título de Designer.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Por que eu digo isto?&lt;/h4&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Existem pessoas excelentes na área de criação que fazem trabalhos&lt;br /&gt;&lt;br /&gt;belos, que nunca estudaram. Mas onde quero chegar? Abrir o bloco de&lt;br /&gt;&lt;br /&gt;notas e escrever um código ( PHP, ASP, XHTML e etc.. ), isso é Design?&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Photoshop, Corel, Illustrator, Flash, 3D, XHTMl, CSS e cia. não se&lt;br /&gt;&lt;br /&gt;limitam ao Design. São ferramentas que auxiliam um Designer na sua&lt;br /&gt;&lt;br /&gt;criação. Não são os softwares que vão tornar uma pessoa em um Designer.&lt;br /&gt;&lt;br /&gt;Antes de qualquer software ou criação, existe um estudo do assunto a&lt;br /&gt;&lt;br /&gt;ser abordado, existe uma pesquisa bem complexa sobre determinado tema,&lt;br /&gt;&lt;br /&gt;e a partir dessas pesquisas vamos encontrar os problemas para serem&lt;br /&gt;&lt;br /&gt;solucionados.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Existem Designers famosos que nem em um mouse sabem pegar, mas o que&lt;br /&gt;&lt;br /&gt;eles fazem? Pagam a alguém que seja bom em um determinado software para&lt;br /&gt;&lt;br /&gt;executar aquilo que ele estudou e planejou.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Que tipo de problema?&lt;/h4&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Vários e vários, desde uma sinalização mal feita, estudo de cores,&lt;br /&gt;&lt;br /&gt;estudo de tipografia, estudo de ergonomia visual, estudo de harmonia&lt;br /&gt;&lt;br /&gt;equilíbrio, estudo de semiótica e etc, tudo dentro de um contexto. &lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Um Designer não precisa necessariamente ser bom em um software. Eu não&lt;br /&gt;&lt;br /&gt;preciso ser Designer e ser obrigado a conhecer determinado software,&lt;br /&gt;&lt;br /&gt;existem equipes que vão pro campo pesquisar, coletar informações com o&lt;br /&gt;&lt;br /&gt;conhecimento que possuem, pois são essas informações que vão ajudá-lo&lt;br /&gt;&lt;br /&gt;no processo da solução de um determinado problema. E existe a equipe de&lt;br /&gt;&lt;br /&gt;criação ( que são fera nos softwares ) para colocar em prática aquilo&lt;br /&gt;&lt;br /&gt;que os outros designers fizeram.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hoje em dia grandes empresas contratam os Designers para serem&lt;br /&gt;&lt;br /&gt;gestores, para fazerem parte de sua diretoria, pois como o Designer tem&lt;br /&gt;&lt;br /&gt;uma visão diferente de muitas pessoas, como coisas do dia-dia que pra&lt;br /&gt;&lt;br /&gt;muitas é normal, para eles não, e é justamente nisso que está a&lt;br /&gt;&lt;br /&gt;diferença. Pois estudamos como as pessoas enxergam ou interpretam tal&lt;br /&gt;&lt;br /&gt;situação ou produto ou serviço e isso faz diferença no mercado, numa&lt;br /&gt;&lt;br /&gt;empresa. Um simples produto posicionado ou com um layout diferente ou&lt;br /&gt;&lt;br /&gt;uma cor, vai fazer muita diferença no mercado.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;&lt;strong&gt;Desvalorização de Mercado:&lt;/strong&gt;&lt;/h4&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Os famosos micreiros que não possuem formação alguma e cobram&lt;br /&gt;&lt;br /&gt;serviços baratos, serviços sem base alguma, serviços mal feitos, por&lt;br /&gt;&lt;br /&gt;R$50,00 / R$20,00 reais e etc.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;E o cara que pesquisou, saiu a campo, gastou sua gasolina, ou&lt;br /&gt;&lt;br /&gt;passagem de ônibus, gastou energia e tempo, passou horas e horas&lt;br /&gt;&lt;br /&gt;coletando informações para chegar a uma solução final para seu projeto,&lt;br /&gt;&lt;br /&gt;gastou dinheiro com livros e livros, com a faculdade, com&lt;br /&gt;&lt;br /&gt;especialização para seu conhecimento. Em média uma faculdade que&lt;br /&gt;&lt;br /&gt;ministra cursos de Design ( produto / gráfico / moda e etc ) não sai&lt;br /&gt;&lt;br /&gt;por menos de R$500,00 em sua mensalidade. Calcule isso em quatro anos,&lt;br /&gt;&lt;br /&gt;fora gastos com cursos extra.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;&lt;strong&gt;Quanto ele vai receber por aquele projeto que desenvolveu?&lt;/strong&gt;&lt;/h4&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Queria ser bem breve sobre esse tema que tanto me incomoda.&lt;br /&gt;&lt;br /&gt;Poderíamos ficar aqui o dia todo escrevendo, pois é uma área&lt;br /&gt;&lt;br /&gt;fantástica, o universo do Design é ilimitado. Cada dia surgem soluções&lt;br /&gt;&lt;br /&gt;que me fascinam. &lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;É justamente isso que queria dizer a vocês, não falo mal das pessoas&lt;br /&gt;&lt;br /&gt;que se auto-intitulam, mas que essa profissão seja mais valorizada. E&lt;br /&gt;&lt;br /&gt;que as pessoas tenham mais embasamento do que realmente é o termo&lt;br /&gt;&lt;br /&gt;Design, antes de sair por aí falando que é isso e aquilo.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Fonte: www.imasters.com.br&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description>
		<guid>http://rodrigofm.bloggeiros.com/RodrigoFM-b1/Todos-sao-Designers-b1-p54.htm</guid>
	</item>
	<item>
		<title>Etapas produtivas de um website</title>
		<category>RodrigoFM</category>
		<pubDate>2009-07-20T13:15:43Z</pubDate>
		<description>&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;&lt;br /&gt;&lt;w:WordDocument&gt;&lt;br /&gt;&lt;w:View&gt;Normal&lt;/w:View&gt;&lt;br /&gt;&lt;w:Zoom&gt;0&lt;/w:Zoom&gt;&lt;br /&gt;&lt;w:TrackMoves/&gt;&lt;br /&gt;&lt;w:TrackFormatting/&gt;&lt;br /&gt;&lt;w:HyphenationZone&gt;21&lt;/w:HyphenationZone&gt;&lt;br /&gt;&lt;w:PunctuationKerning/&gt;&lt;br /&gt;&lt;w:ValidateAgainstSchemas/&gt;&lt;br /&gt;&lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;&lt;br /&gt;&lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;&lt;br /&gt;&lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;&lt;br /&gt;&lt;w:DoNotPromoteQF/&gt;&lt;br /&gt;&lt;w:LidThemeOther&gt;PT-BR&lt;/w:LidThemeOther&gt;&lt;br /&gt;&lt;w:LidThemeAsian&gt;X-NONE&lt;/w:LidThemeAsian&gt;&lt;br /&gt;&lt;w:LidThemeComplexScript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;&lt;br /&gt;&lt;w:Compatibility&gt;&lt;br /&gt;&lt;w:BreakWrappedTables/&gt;&lt;br /&gt;&lt;w:SnapToGridInCell/&gt;&lt;br /&gt;&lt;w:WrapTextWithPunct/&gt;&lt;br /&gt;&lt;w:UseAsianBreakRules/&gt;&lt;br /&gt;&lt;w:DontGrowAutofit/&gt;&lt;br /&gt;&lt;w:SplitPgBreakAndParaMark/&gt;&lt;br /&gt;&lt;w:DontVertAlignCellWithSp/&gt;&lt;br /&gt;&lt;w:DontBreakConstrainedForcedTables/&gt;&lt;br /&gt;&lt;w:DontVertAlignInTxbx/&gt;&lt;br /&gt;&lt;w:Word11KerningPairs/&gt;&lt;br /&gt;&lt;w:CachedColBalance/&gt;&lt;br /&gt;&lt;/w:Compatibility&gt;&lt;br /&gt;&lt;m:mathPr&gt;&lt;br /&gt;&lt;m:mathFont m:val=&quot;Cambria Math&quot;/&gt;&lt;br /&gt;&lt;m:brkBin m:val=&quot;before&quot;/&gt;&lt;br /&gt;&lt;m:brkBinSub m:val=&quot;--&quot;/&gt;&lt;br /&gt;&lt;m:smallFrac m:val=&quot;off&quot;/&gt;&lt;br /&gt;&lt;m:dispDef/&gt;&lt;br /&gt;&lt;m:lMargin m:val=&quot;0&quot;/&gt;&lt;br /&gt;&lt;m:rMargin m:val=&quot;0&quot;/&gt;&lt;br /&gt;&lt;m:defJc m:val=&quot;centerGroup&quot;/&gt;&lt;br /&gt;&lt;m:wrapIndent m:val=&quot;1440&quot;/&gt;&lt;br /&gt;&lt;m:intLim m:val=&quot;subSup&quot;/&gt;&lt;br /&gt;&lt;m:naryLim m:val=&quot;undOvr&quot;/&gt;&lt;br /&gt;&lt;/m:mathPr&gt;&lt;/w:WordDocument&gt;&lt;br /&gt;&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;&lt;br /&gt;&lt;w:LatentStyles DefLockedState=&quot;false&quot; DefUnhideWhenUsed=&quot;true&quot;&lt;br /&gt;DefSemiHidden=&quot;true&quot; DefQFormat=&quot;false&quot; DefPriority=&quot;99&quot;&lt;br /&gt;LatentStyleCount=&quot;267&quot;&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;0&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Normal&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;heading 1&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 2&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 3&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 4&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 5&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 6&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 7&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 8&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 9&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 1&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 2&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 3&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 4&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 5&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 6&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 7&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 8&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 9&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;35&quot; QFormat=&quot;true&quot; Name=&quot;caption&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;10&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Title&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;1&quot; Name=&quot;Default Paragraph Font&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;11&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtitle&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;22&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Strong&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;20&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Emphasis&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;59&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Table Grid&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; UnhideWhenUsed=&quot;false&quot; Name=&quot;Placeholder Text&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;1&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;No Spacing&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 1&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 1&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 1&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 1&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 1&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 1&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; UnhideWhenUsed=&quot;false&quot; Name=&quot;Revision&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;34&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;List Paragraph&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;29&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Quote&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;30&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Quote&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 1&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 1&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 1&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 1&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 1&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 1&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 1&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 1&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 2&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 2&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 2&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 2&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 2&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 2&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 2&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 2&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 2&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 2&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 2&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 2&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 2&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 2&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 3&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 3&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 3&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 3&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 3&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 3&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 3&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 3&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 3&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 3&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 3&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 3&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 3&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 3&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 4&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 4&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 4&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 4&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 4&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 4&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 4&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 4&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 4&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 4&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 4&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 4&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 4&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 4&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 5&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 5&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 5&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 5&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 5&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 5&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 5&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 5&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 5&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 5&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 5&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 5&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 5&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 5&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 6&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 6&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 6&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 6&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 6&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 6&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 6&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 6&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 6&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 6&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 6&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 6&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 6&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 6&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;19&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtle Emphasis&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;21&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Emphasis&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;31&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtle Reference&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;32&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Reference&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;33&quot; SemiHidden=&quot;false&quot;&lt;br /&gt;UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Book Title&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;37&quot; Name=&quot;Bibliography&quot;/&gt;&lt;br /&gt;&lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; QFormat=&quot;true&quot; Name=&quot;TOC Heading&quot;/&gt;&lt;br /&gt;&lt;/w:LatentStyles&gt;&lt;br /&gt;&lt;/xml&gt;&lt;![endif]--&gt;&lt;br /&gt;&lt;!--&lt;br /&gt;/* Font Definitions */&lt;br /&gt;@font-face&lt;br /&gt;{font-family:&quot;Cambria Math&quot;;&lt;br /&gt;panose-1:2 4 5 3 5 4 6 3 2 4;&lt;br /&gt;mso-font-charset:1;&lt;br /&gt;mso-generic-font-family:roman;&lt;br /&gt;mso-font-format:other;&lt;br /&gt;mso-font-pitch:variable;&lt;br /&gt;mso-font-signature:0 0 0 0 0 0;}&lt;br /&gt;@font-face&lt;br /&gt;{font-family:Calibri;&lt;br /&gt;panose-1:2 15 5 2 2 2 4 3 2 4;&lt;br /&gt;mso-font-charset:0;&lt;br /&gt;mso-generic-font-family:swiss;&lt;br /&gt;mso-font-pitch:variable;&lt;br /&gt;mso-font-signature:-1610611985 1073750139 0 0 159 0;}&lt;br /&gt;/* Style Definitions */&lt;br /&gt;p.MsoNormal, li.MsoNormal, div.MsoNormal&lt;br /&gt;{mso-style-unhide:no;&lt;br /&gt;mso-style-qformat:yes;&lt;br /&gt;mso-style-parent:&quot;&quot;;&lt;br /&gt;margin-top:0cm;&lt;br /&gt;margin-right:0cm;&lt;br /&gt;margin-bottom:10.0pt;&lt;br /&gt;margin-left:0cm;&lt;br /&gt;line-height:115%;&lt;br /&gt;mso-pagination:widow-orphan;&lt;br /&gt;font-size:11.0pt;&lt;br /&gt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;&lt;br /&gt;mso-ascii-font-family:Calibri;&lt;br /&gt;mso-ascii-theme-font:minor-latin;&lt;br /&gt;mso-fareast-font-family:Calibri;&lt;br /&gt;mso-fareast-theme-font:minor-latin;&lt;br /&gt;mso-hansi-font-family:Calibri;&lt;br /&gt;mso-hansi-theme-font:minor-latin;&lt;br /&gt;mso-bidi-font-family:&quot;Times New Roman&quot;;&lt;br /&gt;mso-bidi-theme-font:minor-bidi;&lt;br /&gt;mso-fareast-language:EN-US;}&lt;br /&gt;.MsoChpDefault&lt;br /&gt;{mso-style-type:export-only;&lt;br /&gt;mso-default-props:yes;&lt;br /&gt;mso-ascii-font-family:Calibri;&lt;br /&gt;mso-ascii-theme-font:minor-latin;&lt;br /&gt;mso-fareast-font-family:Calibri;&lt;br /&gt;mso-fareast-theme-font:minor-latin;&lt;br /&gt;mso-hansi-font-family:Calibri;&lt;br /&gt;mso-hansi-theme-font:minor-latin;&lt;br /&gt;mso-bidi-font-family:&quot;Times New Roman&quot;;&lt;br /&gt;mso-bidi-theme-font:minor-bidi;&lt;br /&gt;mso-fareast-language:EN-US;}&lt;br /&gt;.MsoPapDefault&lt;br /&gt;{mso-style-type:export-only;&lt;br /&gt;margin-bottom:10.0pt;&lt;br /&gt;line-height:115%;}&lt;br /&gt;@page Section1&lt;br /&gt;{size:595.3pt 841.9pt;&lt;br /&gt;margin:70.85pt 3.0cm 70.85pt 3.0cm;&lt;br /&gt;mso-header-margin:35.4pt;&lt;br /&gt;mso-footer-margin:35.4pt;&lt;br /&gt;mso-paper-source:0;}&lt;br /&gt;div.Section1&lt;br /&gt;{page:Section1;}&lt;br /&gt;--&gt;&lt;br /&gt;&lt;!--[if gte mso 10]&gt;&lt;br /&gt;&lt;style&gt;&lt;br /&gt;/* Style Definitions */&lt;br /&gt;table.MsoNormalTable&lt;br /&gt;{mso-style-name:&quot;Tabela normal&quot;;&lt;br /&gt;mso-tstyle-rowband-size:0;&lt;br /&gt;mso-tstyle-colband-size:0;&lt;br /&gt;mso-style-noshow:yes;&lt;br /&gt;mso-style-priority:99;&lt;br /&gt;mso-style-qformat:yes;&lt;br /&gt;mso-style-parent:&quot;&quot;;&lt;br /&gt;mso-padding-alt:0cm 5.4pt 0cm 5.4pt;&lt;br /&gt;mso-para-margin-top:0cm;&lt;br /&gt;mso-para-margin-right:0cm;&lt;br /&gt;mso-para-margin-bottom:10.0pt;&lt;br /&gt;mso-para-margin-left:0cm;&lt;br /&gt;line-height:115%;&lt;br /&gt;mso-pagination:widow-orphan;&lt;br /&gt;font-size:11.0pt;&lt;br /&gt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;&lt;br /&gt;mso-ascii-font-family:Calibri;&lt;br /&gt;mso-ascii-theme-font:minor-latin;&lt;br /&gt;mso-fareast-font-family:&quot;Times New Roman&quot;;&lt;br /&gt;mso-fareast-theme-font:minor-fareast;&lt;br /&gt;mso-hansi-font-family:Calibri;&lt;br /&gt;mso-hansi-theme-font:minor-latin;}&lt;br /&gt;&lt;/style&gt;&lt;br /&gt;&lt;![endif]--&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;margin-top: 7.5pt; line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 18pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;Etapas produtivas de um website&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;Este&lt;br /&gt;artigo mostra uma das várias maneiras de se dividir o processo produtivo de um&lt;br /&gt;site web. Aqui, num primeiro momento, você conhecerá as quatro etapas básicas&lt;br /&gt;para depois conhecer, um pouco mais a fundo, o planejamento.&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 13.5pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;As Etapas &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;Podemos&lt;br /&gt;dividir a produção de um site web em quatro etapas principais, explicadas,&lt;br /&gt;abaixo, resumidamente: &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 10pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;a)Planejamento: &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;margin-bottom: 0.0001pt; line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;Processo&lt;br /&gt;que engloba todo levantamento das necessidades do cliente, pesquisas de&lt;br /&gt;mercado, linguagens e estratégias de comunicação, objetivos mercadológicos,&lt;br /&gt;entre outros. &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 10pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;b)Criação: &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;margin-bottom: 0.0001pt; line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;Transformação&lt;br /&gt;das informações e definições da etapa de planejamento em idéias visuais claras&lt;br /&gt;e objetivas. Definição de estruturas de navegação, de condução do usuário da&lt;br /&gt;página &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 10pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;c)Estruturação: &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;margin-bottom: 0.0001pt; line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;Uso das&lt;br /&gt;linguagens XHTML/CSS para efetuar a codificação do lay-out do site desenvolvido&lt;br /&gt;pela equipe de criação na etapa anterior. Testes de navegabilidade e de UP LOAD&lt;br /&gt;do site. &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 10pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;d)Desenvolvimento: &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;margin-bottom: 0.0001pt; line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;Aplicação&lt;br /&gt;das linguagens de servidor para integração do site com um banco de dados para&lt;br /&gt;tornar partes do site dinâmicas, com conteúdo atualizado constantemente, muitas&lt;br /&gt;vezes permitindo uma grande participação do usuário na página, alterando&lt;br /&gt;características diversas. &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 13.5pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;O Planejamento &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;Etapa que&lt;br /&gt;pode ser dividida da seguinte forma: &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;Tema &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;Sobre o&lt;br /&gt;que será o site? Descrever de forma sucinta e objetiva o tema geral do site &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;Briefing &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;Levantar,&lt;br /&gt;junto ao cliente, informações precisas sobre o que se espera do site. Esta&lt;br /&gt;reunião deve ser um bate papo, evitando estruturas formais de perguntas e&lt;br /&gt;respostas, pois, assim, consegue-se muito mais do cliente do que se espera.&lt;br /&gt;Apesar disso, deve-se levantar, minimamente, as seguintes informações: &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;a)Público-Alvo:&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;a quem se&lt;br /&gt;destina o site? Qual a classe social, a faixa etária e o perfil geral das&lt;br /&gt;pessoas? &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;b)Definir&lt;br /&gt;o retorno esperado para o site: &lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;um site, como uma peça de comunicação, é uma&lt;br /&gt;ferramenta de marketing como qualquer outra, precisa de objetivos claros e bem&lt;br /&gt;definidos. O retorno deve ser encarado como uma meta a ser cumprida.&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;Linguagens &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;As&lt;br /&gt;linguagens de comunicação, quando bem definidas, resultam num bom retorno para&lt;br /&gt;o cliente definido como público-alvo. Apesar de haver uma grande quantidade de&lt;br /&gt;linguagens que podem ser utilizadas, podemos definir as principais da seguinte&lt;br /&gt;forma: &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;a)Moderna&lt;br /&gt;(jovem):&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;br /&gt;possibilita o uso de cores fortes, experimentalismos gráficos diferenciados,&lt;br /&gt;linguagem mais cool, solta, livre, informal. O site da &lt;/span&gt;&lt;a href=&quot;http://www.mtv.com.br/&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;; color: blue&quot;&gt;MTV&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt; é um bom exemplo deste tipo de&lt;br /&gt;linguagem visual. &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;b)Conservadora&lt;br /&gt;(madura): &lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;não deve&lt;br /&gt;causar impacto por recursos visuais ou informalidade na linguagem. Estruturas&lt;br /&gt;mais rígidas de navegação, de controle. Recomendado para sites de&lt;br /&gt;investimentos, negócios, bancos, de uma maneira geral. O site do &lt;/span&gt;&lt;a href=&quot;https://www.latinamerica.citibank.com/BRGCB/JPS/portal/Index.do&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;; color: blue&quot;&gt;Citibank&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt; é um bom exemplo. &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;c)Clean&lt;br /&gt;(suave): &lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;diz&lt;br /&gt;respeito mais ao aspecto visual do que a uma linguagem propriamente dita. As&lt;br /&gt;cores são suaves, fluidas. As imagens comunicam tranqüilidade, suavidade,&lt;br /&gt;beleza. Tudo é limpo, os espaços não são totalmente preenchidos, permitindo que&lt;br /&gt;a página &amp;quot;respire&amp;quot;. &lt;/span&gt;&lt;a href=&quot;http://www.onodera.com.br/&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;; color: blue&quot;&gt;Sites de beleza e&lt;br /&gt;estética&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt; seguem&lt;br /&gt;este padrão. &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;d)Over (forte):&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;também&lt;br /&gt;diz respeito aos aspectos visuais. Aqui, ocorre o inverso do &amp;quot;clean&amp;quot;.&lt;br /&gt;As cores são fortes, agressivas, pulsantes. Imagens em ângulos e enquadramentos&lt;br /&gt;inusitados, uso livre de grafismos fortes, experimentais. Os sentidos são&lt;br /&gt;agressivamente tocados, não há espaços para se &amp;quot;respirar&amp;quot;, tudo é&lt;br /&gt;muito intenso. &lt;/span&gt;&lt;a href=&quot;http://www.funhouseskt.com.br/site/index.html&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;; color: blue&quot;&gt;Sites de skateshops&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt; seguem este padrão.&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 13.5pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;Tecnologias e ferramentas utilizadas &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;Com base&lt;br /&gt;nas informações levantadas até o momento, pode-se definir as ferramentas e&lt;br /&gt;tecnologias que serão utilizadas, até mesmo para se ter uma melhor idéia&lt;br /&gt;&amp;quot;orçamentária&amp;quot; do projeto. Abaixo, as principais necessidades de um&lt;br /&gt;web site e exemplos de tecnologias e ferramentas para executá-las: &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;a)&lt;br /&gt;Ilustrações, logotipos, símbolos vetoriais: &lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;margin-bottom: 0.0001pt; line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://www.corel.com.br/pt/&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;; color: blue&quot;&gt;Corel&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://www.adobe.com/br/products/illustrator/&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;; color: blue&quot;&gt;Illustrator &lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;margin-bottom: 0.0001pt; line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://inkscape.org/&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;; color: blue&quot;&gt;Inkscape &lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;b) Criação de lay-outs: &lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;margin-bottom: 0.0001pt; line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://www.adobe.com/br/products/photoshop/family/&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;; color: blue&quot;&gt;Photoshop &lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://www.adobe.com/br/products/fireworks/&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;; color: blue&quot;&gt;Fireworks&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt; &lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;c)&lt;br /&gt;Tratamento de Imagens: &lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;margin-bottom: 0.0001pt; line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://www.adobe.com/br/products/photoshop/family/&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;; color: blue&quot;&gt;Photoshop &lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://www.gimp.org/&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;; color: blue&quot;&gt;Gimp &lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;d)&lt;br /&gt;Otimização de Imagens: &lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;margin-bottom: 0.0001pt; line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://www.adobe.com/br/products/fireworks/&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;; color: blue&quot;&gt;Fireworks&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt; &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://www.gimp.org/&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;; color: blue&quot;&gt;Gimp &lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;e) Edição&lt;br /&gt;Visual do código: &lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;margin-bottom: 0.0001pt; line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://www.adobe.com/br/products/dreamweaver/&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;; color: blue&quot;&gt;Dreamweaver &lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://www.w3.org/Amaya/&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;; color: blue&quot;&gt;Amaya &lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;f)&lt;br /&gt;Linguagens de estruturação: &lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;margin-bottom: 0.0001pt; line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://www.w3.org/2005/11/Translations/Lists/ListLang-pt-br.html&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;; color: blue&quot;&gt;XHTML (estrutura) &lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://www.w3.org/Style/CSS/&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;; color: blue&quot;&gt;CSS (formatação&lt;br /&gt;visual) &lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;g)&lt;br /&gt;Animações vetoriais: &lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;margin-bottom: 0.0001pt; line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://www.adobe.com/br/products/flash/&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;; color: blue&quot;&gt;Flash&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt; &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://ktoon.toonka.com/&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;; color: blue&quot;&gt;Ktoon &lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;h)&lt;br /&gt;Linguagens de Scripts: &lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;margin-bottom: 0.0001pt; line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://pt.wikipedia.org/wiki/JavaScript&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;; color: blue&quot;&gt;Javascript&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://www.mxstudio.com.br/&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;; color: blue&quot;&gt;Action&lt;br /&gt;Script(no flash) &lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;i)&lt;br /&gt;Desenvolvimento: &lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;margin-bottom: 0.0001pt; line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://pt.wikipedia.org/wiki/PHP&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;; color: blue&quot;&gt;PHP (Linguagem de Servidor Open Source) &lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://pt.wikipedia.org/wiki/ASP&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;; color: blue&quot;&gt;ASP (Linguagem de&lt;br /&gt;Servidor Paga) &lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;margin-bottom: 0.0001pt; line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;em&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;Observação:&lt;br /&gt;existem diversas outras ferramentas e linguagens no mercado que também efetuam&lt;br /&gt;tais trabalhos. &lt;/span&gt;&lt;/em&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 13.5pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;Pesquisas &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;Etapa&lt;br /&gt;destinada a levantar todos os dados necessários afim de fazer um site adequado&lt;br /&gt;ao perfil do cliente: &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;a)Pesquisar&lt;br /&gt;concorrência: &lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;quem é a&lt;br /&gt;concorrência? Qual o seu perfil? Que sites possuem? Que estratégias trabalham&lt;br /&gt;em seu sites? Que colocação possuem no mercado? Quais os pontos fortes? E os&lt;br /&gt;fracos? Oferecer, por meio de pesquisa, a informação do que ainda não se fez,&lt;br /&gt;ter a real noção do mercado em que se está entrando, conhecer a fundo todas as&lt;br /&gt;características.&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;b)Pesquisar&lt;br /&gt;o público-alvo: &lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;levantar,&lt;br /&gt;efetivamente, todos os dados sobre o público-alvo que interessam dentro do&lt;br /&gt;contexto do site. &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;c)Pesquisar&lt;br /&gt;estratégias:&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt; levantar&lt;br /&gt;dados sobre as estratégias que serão abordadas, analisar se já foi utilizada em&lt;br /&gt;outro momento (analisar e pesquisar CASES alheios), não &amp;quot;reinventar a&lt;br /&gt;roda&amp;quot;, o que já foi feito no passado e deu certo, torna-se modelo a ser&lt;br /&gt;seguido, o que deu errado, modelo do que deve ser evitado. &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 13.5pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;Planejamento Estrutural do site &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;Com todo&lt;br /&gt;o extenuante trabalho acima concluído, pode-se começar a estruturar o site de&lt;br /&gt;forma básica, não-visual. As definições abaixo, para a surpresa de muitos&lt;br /&gt;estudantes de web design, são atribuições do marketing, de maneira geral: &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;a)Quantas&lt;br /&gt;páginas, links ou seções o site terá? &lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;margin-bottom: 0.0001pt; line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;Isto&lt;br /&gt;dependerá do perfil do site, dos assuntos abordados. Um site com poucos links&lt;br /&gt;não é necessariamente um site de pouco conteúdo, da mesma forma, um site&lt;br /&gt;repleto de links e seções não é, exatamente, um manancial de boas informações&lt;br /&gt;sobre aquele tema determinado. Prudência, canja de galinha e bom senso não&lt;br /&gt;fazem mal a ninguém. &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;b)Mapa do&lt;br /&gt;site &lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;margin-bottom: 0.0001pt; line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;Estrutura&lt;br /&gt;básica da divisão de todos os links, com todas as páginas relacionadas como&lt;br /&gt;subdivisões dentro de um contexto maior. Muito mais do que&lt;br /&gt;&amp;quot;quadradinhos&amp;quot; com nomes de páginas escritos dentro, um mapa de site&lt;br /&gt;permite uma visualização global e visual do que se pretende, tornando fácil e&lt;br /&gt;visual os processos de alterações, aprovações e definições genéricas. &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;c)Arquitetura&lt;br /&gt;da Informação: &lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;margin-bottom: 0.0001pt; line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;Este tema&lt;br /&gt;daria um novo artigo por si só, de tão amplo e complexo. Definindo&lt;br /&gt;sucintamente, a arquitetura da informação passa pelo processo de separação do&lt;br /&gt;conteúdo, da condução do cliente pelo site, dos túneis de navegação, estruturas&lt;br /&gt;lineares e não-lineares de navegação, visando a criação de um web site&lt;br /&gt;intuitivo, que ajude o visitante a encontrar tudo o que deseja da forma mais&lt;br /&gt;direta e racional possível. O profissional envolvido com este tópico dedica-se&lt;br /&gt;a utilizar o principal conteúdo da web de forma a extrair todo o seu potencial:&lt;br /&gt;o &lt;/span&gt;&lt;a href=&quot;http://pt.wikipedia.org/wiki/Hipertexto/&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;; color: blue&quot;&gt;hipertexto&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;. &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;e)Textos principais:&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;margin-bottom: 0.0001pt; line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://www.baboo.com.br/absolutenm/templates/content.asp?articleid=5199&amp;amp;zoneid=24&amp;amp;resumo=&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;; color: blue&quot;&gt;Já ouviu falar em web&lt;br /&gt;writing&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;? É,&lt;br /&gt;basicamente, o ofício de escrever para web, respeitando suas características&lt;br /&gt;(textos curtos, rápidos, sintéticos, utilização do &lt;/span&gt;&lt;a href=&quot;http://pt.wikipedia.org/wiki/Lead&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;; color: blue&quot;&gt;LEAD&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt; Definir e escrever todos os textos num bom editor,&lt;br /&gt;corrigir possíveis erros (utilizar &lt;/span&gt;&lt;a href=&quot;http://www.submarino.com.br/&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;; color: blue&quot;&gt;manuais de estilo e&lt;br /&gt;redação&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt; )antes&lt;br /&gt;de aplica-los nas páginas. Evitar escrever textos diretamente no editor de&lt;br /&gt;códigos, separar esta etapa da produção. &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;f)Cores: &lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;margin-bottom: 0.0001pt; line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;A&lt;br /&gt;definição de cores de um site pode vir de vários aspectos, que vão desde as&lt;br /&gt;tonalidades padronizadas de uma empresa até o sentido conceitual que cada cor&lt;br /&gt;carrega por si própria. Existem teorias das cores genericamente aceitas, porém&lt;br /&gt;este é um conceito que muda de povo para povo, até mesmo de público-alvo para&lt;br /&gt;público-alvo. Conheça um ótimo &lt;/span&gt;&lt;a href=&quot;http://www.imasters.com.br/artigo/3000/teoria/cor_elemento_fundamental/&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;; color: blue&quot;&gt;artigo de Wellington&lt;br /&gt;Carrion&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;, sobre&lt;br /&gt;teoria das cores . É possível chegar-se a conjuntos de cores por meio de&lt;br /&gt;extenuantes pesquisas de mercado, avaliar como cada cor será aceita ou quais&lt;br /&gt;sentimentos provocarão em determinado perfil de público. &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;g)Linguagens:&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;margin-bottom: 0.0001pt; line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;Como&lt;br /&gt;falar com determinada faixa de público? Que termos devem ser empregados e&lt;br /&gt;evitados? O marketing, mais uma vez, deve definir o tipo de linguagem a ser&lt;br /&gt;utilizada e a maneira de se abordar o visitante durante a visita à página. O&lt;br /&gt;público jovem, por exemplo, pode tolerar gírias, neologismos, termos da moda e&lt;br /&gt;tudo mais. Porém, para uma faixa de público conservadora, a linguagem deve ser&lt;br /&gt;polida, cuidadosa, sem excessos. De qualquer maneira, os textos devem seguir a&lt;br /&gt;regra da simplicidade, da facilidade de entendimento. &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;h)Tipos&lt;br /&gt;de imagens:&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;margin-bottom: 0.0001pt; line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;Definição&lt;br /&gt;de que tipos de imagens serão utilizados, de acordo com a linguagem utilizada.&lt;br /&gt;As imagens podem possuir enquadramentos ousados, pouco usuais; bem como podem&lt;br /&gt;utilizar ângulos tradicionais, comportados, &amp;quot;corretos&amp;quot;. Esta é uma&lt;br /&gt;definição importantíssima para a equipe de criação, já que no design a&lt;br /&gt;utilização de imagens é essencial. &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;i)&amp;quot;Pré-Site&amp;quot;&lt;br /&gt;em Programas de apresentação:&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;margin-bottom: 0.0001pt; line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;Quando&lt;br /&gt;necessário, pode-se montar a estrutura básica de navegação, de páginas, de&lt;br /&gt;links, utilizando-se uma ferramenta típica de escritórios como o Power Point ou&lt;br /&gt;qualquer outra ferramenta voltada para a criação de aplicações em suítes de&lt;br /&gt;escritório, ferramentas normalmente de simples utilização, conhecidas por&lt;br /&gt;profissionais de todas as áreas. Esta apresentação será um guia na elaboração&lt;br /&gt;do processo criativo, tomando importantes decisões sobre a estrutura do site. &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 13.5pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;Conclusões e Considerações Finais&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;Este é um&lt;br /&gt;tema extenso, que pode ser trabalhado e encarado de maneiras diferentes e&lt;br /&gt;distintas pelas empresas e agências de web ao redor do mundo. Porém, trata-se&lt;br /&gt;de algo funcional, testado e utilizado em diversas empresas, com resultados&lt;br /&gt;positivos.&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;margin-bottom: 0.0001pt; line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;Não há,&lt;br /&gt;de maneira alguma, a intenção de propor a estrutura de planejamento definitiva,&lt;br /&gt;acima do bem e do mal, muito pelo contrário. Regras e bolachas nasceram para&lt;br /&gt;serem quebradas; sendo assim; a mudança é bem vinda e sempre necessária. O&lt;br /&gt;&amp;quot;fazer web&amp;quot; e algo muito novo, muito recente: estamos todos&lt;br /&gt;&amp;quot;apanhando&amp;quot;, aprendendo e descobrindo as melhores formas de trabalho.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;O intuito&lt;br /&gt;é o de auxiliar o estudante e o profissional de web iniciante de uma maneira&lt;br /&gt;geral, dando a oportunidade de ter algo a seguir como uma bússola de orientação&lt;br /&gt;para todos os que precisarem, de alguma forma.&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style=&quot;line-height: normal&quot; class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;Fonte: www.imasters.com.br&lt;/span&gt;&lt;strong&gt;&lt;em&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 12pt; font-family: &#039;Times New Roman&#039;,&#039;serif&#039;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p class=&quot;MsoNormal&quot; align=&quot;justify&quot;&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;</description>
		<guid>http://rodrigofm.bloggeiros.com/RodrigoFM-b1/Etapas-produtivas-de-um-website-b1-p53.htm</guid>
	</item>
	<item>
		<title>Livros e E-books Gratuitos</title>
		<category>RodrigoFM</category>
		<pubDate>2009-05-18T19:19:34Z</pubDate>
		<description>Baixe e-books e livros totalmente gratuitos aqui:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;http://www.livrosparatodos.net&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;APROVEITEM!&lt;br /&gt;</description>
		<guid>http://rodrigofm.bloggeiros.com/RodrigoFM-b1/Livros-e-E-books-Gratuitos-b1-p52.htm</guid>
	</item>
	<item>
		<title>Leitura de arquivos externos no ActionScript 3.0</title>
		<category>RodrigoFM</category>
		<pubDate>2009-05-16T13:57:38Z</pubDate>
		<description>&lt;h2 style=&quot;margin-top: 10px&quot;&gt;Leitura de arquivos externos no ActionScript 3.0&lt;/h2&gt;&lt;br /&gt;&lt;div id=&quot;strConteudo&quot;&gt;&lt;br /&gt;&lt;h4&gt;Chamando URLs externas&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;No &lt;em&gt;ActionScript 2.0&lt;/em&gt;, para chamar uma URL externa, utilizávamos o método getURL, que pedia uma String contendo o caminho da URL.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;No &lt;em&gt;ActionScript 3.0&lt;/em&gt;, todo caminho de URL é do tipo&lt;br /&gt;URLRequest, que pede como parâmetro uma String contendo o caminho da&lt;br /&gt;URL. Isso vale para qualquer chamado externo, seja com caminho local ou&lt;br /&gt;global.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Na nova versão podemos armazenar em arquivos externos não somente&lt;br /&gt;classes e interfaces, mas também funções, como é o caso abaixo com o&lt;br /&gt;navigateToURL que substitui o getURL.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class=&quot;codigo&quot;&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; flash&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;net&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;URLRequest&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; flash&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;net&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;navigateToURL&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; chama&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;URLRequest&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;URLRequest&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;http://www.leandroamano.com.br&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;navigateToURL&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;chama&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;h4&gt;Lendo arquivos externos (.txt e .xml)&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;O conteúdo do site deve sempre estar bem dividido para que assim&lt;br /&gt;haja uma fácil manutenção para o administrador do site, bem como fácil&lt;br /&gt;acesso dos usuários. Neste artigo iremos observar como funciona o&lt;br /&gt;carregamento de dados textuais externos, da maneira mais simples&lt;br /&gt;possível.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;Também podemos utilizar XML ou Flash Remoting (sistema AMF) para envio&lt;br /&gt;e recebimento de dados com o servidor, através de chamadas assíncronas.&lt;br /&gt;Este último foi estudado no artigo anterior.&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Existe uma série de utilidades para usar o servidor como acesso e/ou envio de dados, que incluem:&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;	&lt;li&gt;Enviar valores de um formulário para armazenamento num banco de dados.&lt;/li&gt;&lt;br /&gt;	&lt;li&gt;Enviar valores de um formulário para um ou mais e-mails.&lt;/li&gt;&lt;br /&gt;	&lt;li&gt;Carregar valores de um texto para criação de links ou novidades.&lt;/li&gt;&lt;br /&gt;	&lt;li&gt;Carregar valores a partir de um arquivo de servidor para exibição&lt;br /&gt;	de uma aplicação simples como uma galeria de fotos, ou mesmo uma&lt;br /&gt;	aplicação mais complexa como um e-commerce.&lt;/li&gt;&lt;br /&gt;	&lt;li&gt;Enviar valores e aguardar uma resposta como, por exemplo, um acesso restrito de usuário e senha.&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;A forma de acesso a esses dados é dada em pares de valores, por exemplo, nome=valor.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;Quando se tem mais pares de valores, é necessário utilizar o símbolo &amp;amp;, por exemplo, nome=valor&amp;amp;nome2=valor2&lt;br /&gt;&lt;h4&gt;Carregando arquivos de dados externos&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;O objeto usado será o URLLoader que substitui o LoadVars do ActionScript 2.0.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;Para carregar dados externos definiremos dois arquivos, o primeiro um&lt;br /&gt;texto simples, e o segundo um arquivo de servidor, em nosso exemplo o&lt;br /&gt;ColdFusion.&lt;br /&gt;&lt;p&gt;&lt;br /&gt;O formato de retorno vem em valores em pares, ou seja, variável=valor, determinamos então que o formato é: (flash.net.URLLoaderDataFormat.VARIABLES)&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class=&quot;codigo&quot;&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; loader&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;URLLoader&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;URLLoader&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;loader&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;dataFormat &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;URLLoaderDataFormat&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;VARIABLES&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;loader&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;load&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;URLRequest&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;texto.txt&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;));&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;É necessário saber também quando os dados estão disponíveis. O&lt;br /&gt;evento event.COMPLETE nos avisa e, quando executado, podemos aplicar um&lt;br /&gt;loop no resultado:&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class=&quot;codigo&quot;&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span class=&quot;kwd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; handleComplete&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;event&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Event&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;):&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;trace&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;O Resultado pode ser apresentado&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; i&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;String&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;in&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; resposta&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;trace&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;i &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot; = &amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; resposta&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;]);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Um exemplo completo pode ser observado abaixo:&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class=&quot;codigo&quot;&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span class=&quot;com&quot;&gt;//Arquivo texto.txt&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;nome&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Leandro&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Amano&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;amp;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;numero&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;1234&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;//Arquivo index.cfm&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;cfsetting enablecfoutputonly&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;yes&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;cfprocessingdirective suppresswhitespace&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;yes&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;cfset someText &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;teste&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;cfoutput&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;someText&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;#someText#&amp;lt;/cfoutput&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;/cfprocessingdirective&amp;gt;&lt;br /&gt;//Arquivo .fla&lt;br /&gt;import flash.net.URLLoader;&lt;br /&gt;import flash.net.URLRequest;&lt;br /&gt;import flash.net.URLLoaderDataFormat;&lt;br /&gt;import flash.events.IOErrorEvent;&lt;br /&gt;import flash.events.HTTPStatusEvent;&lt;br /&gt;import flash.events.SecurityErrorEvent;&lt;br /&gt;import flash.events.Event;&lt;br /&gt;var loader:URLLoader = new URLLoader();&lt;br /&gt;loader.dataFormat = URLLoaderDataFormat.VARIABLES;&lt;br /&gt;loader.addEventListener(IOErrorEvent.IO_ERROR, handleIOError);&lt;br /&gt;loader.addEventListener(HTTPStatusEvent.HTTP_STATUS, handleHTTPStatus);&lt;br /&gt;loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, handleSecurityError);&lt;br /&gt;loader.addEventListener(Event.COMPLETE, handleComplete);&lt;br /&gt;//loader.load(new URLRequest(&amp;quot;texto.txt&amp;quot;));&lt;br /&gt;loader.load(new URLRequest(&amp;quot;http://localhost:8500/&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;as3&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;index&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;cfm&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;));&lt;br /&gt;function handleIOError(event:IOErrorEvent):void {&lt;br /&gt;trace(&amp;quot;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Loade&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; failed&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; IO error&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;+event.text);&lt;br /&gt;}&lt;br /&gt;function handleHTTPStatus(event:HTTPStatusEvent):void {&lt;br /&gt;trace(&amp;quot;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Load&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; status&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; HTTP status&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;+event.status);&lt;br /&gt;}&lt;br /&gt;function handleSecurityError(event:SecurityErrorEvent):void {&lt;br /&gt;trace(&amp;quot;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Load&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; failed&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Security&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Error&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;+event.text);&lt;br /&gt;}&lt;br /&gt;function handleComplete(event:Event):void {&lt;br /&gt;trace(&amp;quot;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;The&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; data has successfully loaded&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;);&lt;br /&gt;var resposta:URLLoader = URLLoader(event.target);&lt;br /&gt;trace(resposta.data.nome);&lt;br /&gt;trace(resposta.data.numero);&lt;br /&gt;for (var i:String in resposta.data) {&lt;br /&gt;trace(i + &amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;+ resposta.data[i]);&lt;br /&gt;}&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;h4&gt;Objeto XML&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Desde o &lt;em&gt;ActionScript 1&lt;/em&gt; (&lt;em&gt;Flash Player 5&lt;/em&gt;) o Flash possuía a capacidade de ler objetos XML externos, baseados no DOM (&lt;em&gt;W3C Document Object Model&lt;/em&gt;), o padrão para interação com documentos XML. &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Em &lt;em&gt;ActionScript 3.0&lt;/em&gt; a classe XML foi totalmente modificada.&lt;br /&gt;XML é um tipo nativo do Flash, antigos métodos e propriedades para a&lt;br /&gt;leitura desses dados externos (&lt;em&gt;firstChild, childNodes&lt;/em&gt;, etc) se encontram agora na classe XMLDocument, localizada no pacote flash.xml.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;A &lt;em&gt;ActionScript 3.0&lt;/em&gt;  implementa o padrão &lt;em&gt;ECMAScript for XML&lt;/em&gt; (&lt;em&gt;E4X&lt;/em&gt;) que não será discutido agora.&lt;br /&gt;&lt;div class=&quot;codigo&quot;&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span class=&quot;com&quot;&gt;//Top Level class XML&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; xml&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;XML &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;doc&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;curso&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;ActionScript&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;3.0&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;/curso&amp;gt;&lt;br /&gt;&amp;lt;curso&amp;gt;Adobe Flex 3&amp;lt;/&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;curso&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;curso&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Adobe&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Dreamweaver&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; CS3&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;/curso&amp;gt;&lt;br /&gt;&amp;lt;curso&amp;gt;Adobe ColdFusion 8&amp;lt;/&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;curso&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;/doc&amp;gt;;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;h4&gt;Lendo um XML externo&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Para a leitura de um XML externo utilizaremos uma leitura de arquivo&lt;br /&gt;externo comum como vimos acima. Dentro do evento Event.COMPLETE,&lt;br /&gt;trataremos o objeto lido como um XMLDocument.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class=&quot;codigo&quot;&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; flash&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;net&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;URLLoader&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; flash&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;net&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;URLRequest&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; flash&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;xml&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;XMLDocument&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; flash&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;events&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Event&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; loader&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;URLLoader&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;URLLoader&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;loader&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;addEventListener&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Event&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;COMPLETE&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; onComplete&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;loader&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;load&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;URLRequest&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;xml_externo.xml&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;));&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; onComplete&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;e&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Event&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;):&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; xml&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;XML &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; XML&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;e&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;currentTarget&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; xmlDoc&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;XMLDocument&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;XMLDocument&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;xmlDoc&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;ignoreWhite &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;xmlDoc&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;parseXML&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;xml&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; tamanho&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;uint&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; xmlDoc&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;firstChild&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;childNodes&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;length&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; i&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;uint&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; i&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;tamanho&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; i&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;++){&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;// ActionScript 3.0&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;// Adobe Flex 3&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;// Adobe Dreamweaver CS3&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;// Adobe ColdFusion 8&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;trace&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;xmlDoc&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;firstChild&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;childNodes&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;].&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;firstChild&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;nodeValue&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;br /&gt;Fonte: www.imasters.com.br&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;</description>
		<guid>http://rodrigofm.bloggeiros.com/RodrigoFM-b1/Leitura-de-arquivos-externos-no-ActionScript-30-b1-p51.htm</guid>
	</item>
	<item>
		<title>Criando uma extensão de um .as para #include</title>
		<category>RodrigoFM</category>
		<pubDate>2009-05-16T13:56:46Z</pubDate>
		<description>&lt;h2 style=&quot;margin-top: 10px&quot;&gt;Criando uma extensão de um .as para #include&lt;/h2&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Para quem utiliza sempre um .as onde estão as funções importantes&lt;br /&gt;que compartilha em vários trabalhos no Flash, este artigo vai facilitar&lt;br /&gt;sua vida. Chega de ficar copiando o .as em todas as pastas, sem falar&lt;br /&gt;na dificuldade de atualizar esses códigos.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Versão de AS: &lt;/strong&gt;n/a &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;strong&gt;Compatibilidade: &lt;/strong&gt;Flash 6&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Dificuldade de produção:&lt;/strong&gt; 5&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;strong&gt;Dificuldade de aplicação: &lt;/strong&gt;2 &lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;span class=&quot;c1&quot;&gt;1º&lt;/span&gt; O processo de criação de uma extensão se baseia no seguinte:&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;	&lt;li&gt;Criação de um Extension Installation File, um xml com a extensão .mxi&lt;/li&gt;&lt;br /&gt;	&lt;li&gt;Compilação deste xml para criar uma extensão mxp.&lt;/li&gt;&lt;br /&gt;	&lt;li&gt;Instalação da extensão .mxp via Extension Manager.&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;span class=&quot;c1&quot;&gt;2º&lt;/span&gt; Criando o .mxi&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;A estrutura básica do xml é essa:&lt;br /&gt;&lt;div class=&quot;codigo&quot;&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;?&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;xml version&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;1.0&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; encoding&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;UTF-8&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;macromedia-extension&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;precoDinamico&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;version&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;1.0.0&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;actionscript&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;author&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;Weverton Naves&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;products&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;product&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;Flash&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;version&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;6&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;primary&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;true&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;products&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;description&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&amp;lt;![CDATA[&lt;br /&gt;Preço Dinamico Magazine Luiza.&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;br&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;Consulta o preço dos produtos na base e exibe-os no Flash.&lt;br /&gt;]]&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;description&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;ui-access&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&amp;lt;![CDATA[&lt;br /&gt;Para incluir:&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;br&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;#include &amp;quot;precoDinamico.as&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;br&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;var Produtos:Array = new Array(&amp;quot;2014359&amp;quot;, &amp;quot;2014406&amp;quot;, &amp;quot;2014359&amp;quot;);&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;br&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;chamaPreco();&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;br&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;*Os preos estaro disponveis em um Array (Precos) no mesmo escopo da chamada.&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;br&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;Valores do Array&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;br&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;Precos[ini][0] //tipo de preo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;br&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;Precos[ini][1] //preo de&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;br&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;Precos[ini][2] //preo por&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;br&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;Precos[ini][3] //qtd de parcelas&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;br&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;Precos[ini][4] //valor da parcela&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;br&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;Precos[ini][5] //mensagem dos juros&lt;br /&gt;]]&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;ui-access&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;license-agreement&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&amp;lt;![CDATA[&lt;br /&gt;@copyright 2008 - Weverton Naves - Código sobre licensa Creative Commons.&lt;br /&gt;]]&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;license-agreement&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;files&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;file&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;source&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;testePrecoDinamico.as&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;destination&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;$flash/Include&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;files&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;macromedia-extension&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Consiste nas seguintes tags:&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;span class=&quot;c2&quot;&gt;&amp;lt;macromedia-extension /&amp;gt;:&lt;/span&gt; Tag principal, onde as outras se alojam, contém os parâmetros com informações do nome, tipo e versão.&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;span class=&quot;c2&quot;&gt;&amp;lt;author /&amp;gt;: &lt;/span&gt;Informações sobre o autor da extensão.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;span class=&quot;c2&quot;&gt;&amp;lt;description /&amp;gt;:&lt;/span&gt; Descrição da extensão, para que serve, etc;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;span class=&quot;c2&quot;&gt;&amp;lt;ui-access /&amp;gt;: &lt;/span&gt;Texto que aparecerá no extension manager, normalmente são Instruções de como utilizar a extensão dentro do flash;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;span class=&quot;c2&quot;&gt;&amp;lt;license-agreemente /&amp;gt;:&lt;/span&gt; Informações sobre licensa.&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;span class=&quot;c2&quot;&gt;&amp;lt;files /&amp;gt;:&lt;/span&gt; Tag mãe das tags &lt;span class=&quot;c3&quot;&gt;&amp;lt;file /&amp;gt;&lt;/span&gt;, onde são especificados os arquivos que farão parte da extensão;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;span class=&quot;c1&quot;&gt;3º&lt;/span&gt; Compliando o código.&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;Ao salvar seu arquivo, ele se aparentará com o ícone abaixo:&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/10734/criandoextensao_img1.gif&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;Após esta etapa, só abrir o arquivo e ele abrirá automaticamente no&lt;br /&gt;Extension Manager, já com o nome do arquivo na opção &amp;quot;Select Extension&lt;br /&gt;to Package&amp;quot;.&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Após clicar em &amp;quot;OK&amp;quot;, ele abre outra janela, com a opção &amp;quot;Save&lt;br /&gt;Extension Package As...&amp;quot;, onde você seleciona onde deve salvar sua&lt;br /&gt;extensão.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/10734/criandoextensao_img2.gif&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;span class=&quot;c1&quot;&gt;4º &lt;/span&gt;Instalando a extensão&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Agora sua extensão terá o seguinte ícone:&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/10734/criandoextensao_img3.gif&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Esta etapa é fácil, só você clicar para abrir, e ela será instalada automaticamente:&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/10734/criandoextensao_img4.gif&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;A partir de agora, você pode incluir esse arquivo sem precisar&lt;br /&gt;jogá-lo na pasta do seu trabalho, só é necessário fazer a chamada&lt;br /&gt;#include &amp;quot;nomedoseuarquivo.as&amp;quot;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;span class=&quot;c1&quot;&gt;NOTAS FINAIS &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;- O programa &lt;strong&gt;MXI File Creator (Muzaak Deezign)&lt;/strong&gt; configura o arquivo completinho para você, mais fácil que fazer na mão, &lt;a href=&quot;http://www.muzakdeezign.com/mxi_creator/&quot;&gt;basta baixá-lo aqui&lt;/a&gt;.&lt;br /&gt;&lt;p&gt;&lt;br /&gt;- &lt;a href=&quot;http://help.adobe.com/en_US/ExtensionManager/2.0/mxi_file_format.pdf&quot;&gt;Este documento da adobe &lt;/a&gt;traz&lt;br /&gt;todas as especificações e tags possíveis para criação de extensões,&lt;br /&gt;para qualquer programa adobe que aceita essa funcionalidade.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Fonte: www.imasters.com.br&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;</description>
		<guid>http://rodrigofm.bloggeiros.com/RodrigoFM-b1/Criando-uma-extensao-de-um-as-para-include-b1-p50.htm</guid>
	</item>
	<item>
		<title>Flash Remoting (AMF) no ActionScript 3.0</title>
		<category>RodrigoFM</category>
		<pubDate>2009-05-16T13:55:33Z</pubDate>
		<description>&lt;h2 style=&quot;margin-top: 10px&quot;&gt;Flash Remoting (AMF) no ActionScript 3.0&lt;/h2&gt;&lt;br /&gt;&lt;div id=&quot;strConteudo&quot;&gt;&lt;br /&gt;&lt;h5&gt;Pré-requisitos&lt;/h5&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Conhecer o método de trabalho do Flash, comunicando-se com uma base&lt;br /&gt;de dados através do AMF (Action Message Format) no ActionScript 3.0.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;Programação Orientada a Objetos no Flash: Artigo de nível básico.&lt;br /&gt;&lt;h5&gt;Objetivos&lt;/h5&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Executar ações como ler, gravar, alterar e excluir dados de um Banco de Dados.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;h5&gt;Conteúdo&lt;/h5&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Primeiramente necessitamos de um banco de dados para teste (ACCESS,&lt;br /&gt;MySQL, SQLServer...), uma linguagem de servidor que trabalhe com o&lt;br /&gt;sistema AMF (ColdFusion, Java, .Net, PHP...), e claro, do próprio Flash&lt;br /&gt;utilizando ActionScript 3.0.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Lembrando que o assunto do artigo está voltado ao ActionScript 3,&lt;br /&gt;usando o AMF, assuntos como SQL e ColdFusion - os quais usarei neste&lt;br /&gt;artigo - não serão discutidos, mas o código também estará incluso no&lt;br /&gt;documento abaixo.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;SQL para a criação da Tabela com seus respectivos campos:&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;CREATE TABLE GUESTBOOK(&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;ID INT NOT NULL AUTO_INCREMENT,&lt;br /&gt;&lt;p&gt;&lt;br /&gt;NOME VARCHAR(200) NOT NULL,&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;EMAIL VARCHAR(50) NOT NULL,&lt;br /&gt;&lt;p&gt;&lt;br /&gt;MENSAGEM TEXT,&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;PRIMARY KEY(ID)&lt;br /&gt;&lt;p&gt;&lt;br /&gt;) ENGINE=MYISAM&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;h5&gt;ColdFusion para acesso ao Banco de Dados:&lt;/h5&gt;&lt;br /&gt;&lt;div class=&quot;codigo&quot;&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;cfcomponent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;&amp;lt;!-- RETORNA TODAS AS MENSAGENS --&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;cffunction&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;getMensagens&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;access&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;remote&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;returntype&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;query&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;cfquery&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;results&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;datasource&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;amf&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;dbtype&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;odbc&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;SELECT * FROM GUESTBOOK&lt;br /&gt;ORDER BY ID ASC&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;cfquery&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;cfreturn&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;results&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;cffunction&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;&amp;lt;!-- ADICIONA UMA MENSAGEM --&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;cffunction&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;setMensagem&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;access&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;remote&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;returntype&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;string&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;hint&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;Incluído com sucesso!&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;cfargument&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;nome&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;string&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;required&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;true&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;cfargument&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;email&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;string&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;required&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;true&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;cfargument&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;mensagem&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;string&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;required&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;true&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;cfquery&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;datasource&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;amf&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;dbtype&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;odbc&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;insert into GUESTBOOK(NOME,EMAIL,MENSAGEM)&lt;br /&gt;values(&#039;#nome#&#039;,&#039;#email#&#039;,&#039;#mensagem#&#039;)&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;cfquery&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;cfset&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;results&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;Incluído com sucesso!&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;cfreturn&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;results&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;cffunction&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;&amp;lt;!-- ALTERA UMA MENSAGEM --&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;cffunction&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;updateMensagem&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;access&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;remote&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;returntype&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;string&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;cfargument&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;nome&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;string&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;required&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;true&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;cfargument&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;email&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;string&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;required&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;true&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;cfargument&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;mensagem&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;string&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;required&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;true&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;cfargument&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;id&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;numeric&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;required&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;true&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;cfquery&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;datasource&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;amf&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;dbtype&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;odbc&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;UPDATE GUESTBOOK&lt;br /&gt;SET NOME=&#039;#nome#&#039;, EMAIL=&#039;#email#&#039;, MENSAGEM=&#039;#mensagem#&#039;&lt;br /&gt;WHERE ID=#id#&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;cfquery&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;cfreturn&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;Alterada com sucesso&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;cffunction&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;&amp;lt;!-- EXCLUI UMA MENSAGEM --&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;cffunction&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;deleteMensagem&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;access&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;remote&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;returntype&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;string&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;cfargument&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;id&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;numeric&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;required&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;true&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;cfquery&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;datasource&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;amf&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;dbtype&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;odbc&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;DELETE&lt;br /&gt;FROM GUESTBOOK&lt;br /&gt;WHERE ID=#id#&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;cfquery&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;cfreturn&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atv&quot;&gt;&amp;quot;Excluída com sucesso&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;cffunction&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;tag&quot;&gt;cfcomponent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Com os dados acima, basicamente manipularemos uma tabela de nome GUESTBOOK, que contém os campos ID, NOME, EMAIL e MENSAGEM.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;Um arquivo feito em ASP seguirá em anexo, juntamente ao ColdFusion.&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Ambos os arquivos acima estão na pasta wwwroot do servidor ColdFusion, dentro de uma pasta chamada amf, que eu criei.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;O arquivo ColdFusion se chama serviços.cfc (componente ColdFusion).&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Vamos agora ao Flash, nosso target neste artigo.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Primeiramente, o AMF pode retornar duas coisas quando fazemos um&lt;br /&gt;chamado. Um Erro ou um Resultado. Para isso criarei duas classes de&lt;br /&gt;eventos como vimos no artigo (&lt;a href=&quot;http://imasters.uol.com.br/artigo/8397/actionscript/disparando_um_evento_customizado/&quot;&gt;http://imasters.uol.com.br/artigo/8397/actionscript/disparando_um_evento_customizado/&lt;/a&gt;),&lt;br /&gt;uma delas será responsável pela informação do erro, caso ocorra, e&lt;br /&gt;outra pelos resultados do ColdFusion, como a query vinda do banco de&lt;br /&gt;dados ou uma informação simples, como, por exemplo, se o cadastro de um&lt;br /&gt;item foi feito com sucesso.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Classe responsável pelo status (erro, antiga onFault no ActionScript 2):&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class=&quot;codigo&quot;&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span class=&quot;kwd&quot;&gt;package&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; flash&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;events&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Event&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;class&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;StatusEvent&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;extends&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Event&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;static&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;const&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; STATUS &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;status&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; status&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Object&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;StatusEvent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;String&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; bubbles &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; cancelable &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; status&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Object&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;null&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;):&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;super&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; bubbles&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; cancelable&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;status &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; status&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;override&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; clone&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;():&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Event&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;ResultEvent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; status&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;override&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;toString&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;():&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;String&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; formatToString&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;StatusEvent&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;type&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;bubbles&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;cancelable&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;eventPhase&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;status&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Classe responsável pelo resultado (retorno do arquivo ColdFusion neste exemplo, antigo onResult no ActionScript 2):&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class=&quot;codigo&quot;&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span class=&quot;kwd&quot;&gt;package&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; flash&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;events&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Event&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;class&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;ResultEvent&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;extends&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Event&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;static&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;const&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; RESULT &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;result&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; result&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:*;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;ResultEvent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;String&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; bubbles &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; cancelable &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; result&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:*&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;null&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;):&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;super&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; bubbles&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; cancelable&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;result &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; result&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;/**&lt;br /&gt;* Creates and returns a copy of the current instance.&lt;br /&gt;* @return A copy of the current instance.&lt;br /&gt;*/&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;override&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; clone&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;():&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Event&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;ResultEvent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; result&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;/**&lt;br /&gt;* Returns a String containing all the properties of the current&lt;br /&gt;* instance.&lt;br /&gt;* @return A string representation of the current instance.&lt;br /&gt;*/&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;override&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;toString&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;():&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;String&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; formatToString&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;ResultEvent&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;type&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;bubbles&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;cancelable&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;eventPhase&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;result&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Classe Responsável pela conexão:&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class=&quot;codigo&quot;&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span class=&quot;kwd&quot;&gt;package&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; flash&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;net&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;NetConnection&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; flash&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;net&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;ObjectEncoding&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; flash&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;net&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Responder&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; flash&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;events&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;EventDispatcher&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; flash&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;events&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Event&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;class&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;RemoteConnector&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;extends&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;EventDispatcher&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;//responsável pela conexão com o banco&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;private&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; conn&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;NetConnection&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;//responsável pelo resultado ou informação do erro ocorrido&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;private&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; responder&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Responder&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;//definimos um padrão de leitura para teste local&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;RemoteConnector&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;uri&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;String&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;http://localhost:8500/flashservices/gateway&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;):&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;conn &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;NetConnection&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;conn&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;objectEncoding &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;ObjectEncoding&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;AMF0&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;conn&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;uri&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; call&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;command&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;String&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;...&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; args&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;):&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;//chama a função onResult caso ocorra tudo bem ou onStatus caso ocorra um erro, o nome das funções é indiferente, desde que as mesmas sejam renomeadas abaixo&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;responder &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Responder&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;onResult&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; onStatus&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;//chama um método co ColdFusion, seguindo pasta, arquivo e nome do método, exemplo: call(&amp;quot;amf.servicos.getMensagens&amp;quot;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;conn&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;call&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;command&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; responder&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; args&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;//dispara um ResultEvent para que possa ser reutilizado fora desta classe, já com a propriedade result com as informações do Banco de Dados&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;private&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; onResult&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;result&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:*):&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;dispatchEvent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;ResultEvent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;ResultEvent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;RESULT&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; result&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;));&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;//dispara um StatucEvent para que possa ser reutilizado fora desta classe, já com a propriedade statuc com as informações do erro&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;private&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; onStatus&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;status&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Object&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;):&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;dispatchEvent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;StatusEvent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;StatusEvent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;STATUS&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; status&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;));&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;get&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; uri&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;():&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;String&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; conn&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;uri&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Para testar o arquivo acima, usarei um .fla de teste, que contém o seguinte código no frame 1:&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class=&quot;codigo&quot;&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; com&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;leandroamano&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;remoting&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;RemoteConnector&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; com&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;leandroamano&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;events&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;ResultEvent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; com&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;leandroamano&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;events&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;StatusEvent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;//RemoteConnector&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; rc&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;RemoteConnector&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;RemoteConnector&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;rc&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;addEventListener&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;ResultEvent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;RESULT&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; onResult&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;rc&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;addEventListener&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;com&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;leandroamano&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;events&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;StatusEvent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;STATUS&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; onStatus&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;rc&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;call&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;amf.servicos.getMensagens&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;trace&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;rc&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; onResult&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;e&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;ResultEvent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;):&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;trace&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;e&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;result&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; i &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;in&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; e&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;result&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;serverInfo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;){&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;trace&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;:&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; e&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;result&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;serverInfo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;]);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;trace&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;t&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; e&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; onStatus&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;e&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;com&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;leandroamano&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;events&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;StatusEvent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;):&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;trace&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;e&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;status&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;description&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;trace&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;t&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; e&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Também criei um .fla com o código no frame 1, sem utilizar as&lt;br /&gt;classes citadas acima (somente as do próprio Adobe Flash CS3) com&lt;br /&gt;alguns elementos visuais no palco [object MainTimeline], que podem ser&lt;br /&gt;observados nos arquivos que acompanham este artigo. O código segue&lt;br /&gt;abaixo:&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class=&quot;codigo&quot;&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; flash&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;net&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;NetConnection&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; flash&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;net&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Responder&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; flash&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;net&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;ObjectEncoding&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; flash&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;display&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;DisplayObject&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; flash&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;display&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;MovieClip&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; flash&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;text&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;TextField&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; flash&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;text&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;TextFieldType&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; flash&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;text&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;TextFieldAutoSize&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; flash&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;geom&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;ColorTransform&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; flash&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;utils&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;setInterval&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; flash&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;events&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;MouseEvent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; flash&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;events&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Event&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; flash&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;events&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;EventPhase&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; fl&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;DataProvider&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; fl&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;controls&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;DataGrid&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; selecionado&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;uint&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; intervalID&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;uint&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; count&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;uint&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; gridObj&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;DataGrid&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; getChildByName&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;grid&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;as&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;DataGrid&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; nome_txt&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;TextField&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; getChildByName&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;nome&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;as&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;TextField&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; email_txt&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;TextField&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; getChildByName&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;email&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;as&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;TextField&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; mensagem_txt&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;TextField&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; getChildByName&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;mensagem&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;as&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;TextField&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; resposta_txt&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;TextField&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; getChildByName&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;resposta&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;as&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;TextField&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; insert_mc&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;MovieClip&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; getChildByName&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;inserir&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;as&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;MovieClip&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; update_mc&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;MovieClip&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; getChildByName&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;alterar&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;as&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;MovieClip&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; delete_mc&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;MovieClip&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; getChildByName&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;excluir&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;as&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;MovieClip&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; conn&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;NetConnection&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;NetConnection&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; responder&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Responder&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Responder&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;onResult&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; onFault&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; responderUpdates&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Responder&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Responder&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;onResultUpdates&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; onFault&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;gridObj&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;addEventListener&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Event&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;CHANGE&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; onChange&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;resposta_txt&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;mouseEnabled &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;resposta_txt&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;wordWrap &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;resposta_txt&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;autoSize &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;TextFieldAutoSize&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;LEFT&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; initTexto&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;String&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Para alterar os valores, clique duas vezes sobre o campo de texto desejado&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;intervalID &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; setInterval&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;displayMessage&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;40&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; initTexto&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;toUpperCase&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(),&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; resposta_txt&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; i&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;uint&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; t&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;TextField&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; i&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;numChildren&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; i&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;++){&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;getChildAt&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;is&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;TextField&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; getChildAt&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;!=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; resposta_txt&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;){&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;t &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; getChildAt&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;as&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;TextField&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;t&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;doubleClickEnabled &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;t&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;restrict &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;A-Z0-9\@\ \-\?\.&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;t&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;maxChars &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;50&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;t&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;autoSize &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;TextFieldAutoSize&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;LEFT&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;t&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;addEventListener&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;MouseEvent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;DOUBLE_CLICK&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; onDoubleClick&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;conn&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;objectEncoding &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;ObjectEncoding&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;AMF0&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;conn&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;http://localhost:8500/flashservices/gateway&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;conn&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;call&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;amf.servicos.getMensagens&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; responder&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;setColor&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;0x009900&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; insert_mc&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;insert_mc&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;buttonMode &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;insert_mc&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;addEventListener&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;MouseEvent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;CLICK&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; insertAMF&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;setColor&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;0xFF6600&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; update_mc&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;update_mc&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;buttonMode &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;update_mc&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;addEventListener&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;MouseEvent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;CLICK&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; updateAMF&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;delete_mc&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;buttonMode &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;delete_mc&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;addEventListener&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;MouseEvent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;CLICK&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; deleteAMF&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;stage&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;addEventListener&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;MouseEvent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;CLICK&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; deselect&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; onResult&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;re&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Object&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;):&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; dados&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Array&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Array&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; l&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;uint&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; l&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;re&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;serverInfo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;initialData&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;length&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; l&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;++){&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;dados&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;push&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;({&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;id&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;re&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;serverInfo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;initialData&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;l&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;][&lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;],&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;nome&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;re&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;serverInfo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;initialData&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;l&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;][&lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;],&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;email&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;re&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;serverInfo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;initialData&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;l&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;][&lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;],&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;mensagem&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;re&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;serverInfo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;initialData&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;l&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;][&lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;]});&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;gridObj&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;dataProvider &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;DataProvider&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;dados&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;sortOn&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;id&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Array&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;DESCENDING&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;));&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;gridObj&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;columns &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;id&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;nome&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;email&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;mensagem&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;];&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; colunas&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Array&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Array&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;ID&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Nome&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;E-mail&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Mensagem&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; i&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;uint&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; i&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;re&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;serverInfo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;columnNames&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;length&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; i&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;++){&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;gridObj&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;getColumnAt&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;).&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;headerText &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; colunas&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;];&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;gridObj&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;selectedIndex &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; selecionado&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;gridObj&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;dispatchEvent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Event&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Event&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;CHANGE&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;));&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; onFault&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;fe&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Object&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;):&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;intervalID &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; setInterval&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;displayMessage&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;50&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; fe&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;description&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;toUpperCase&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(),&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; resposta_txt&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;       &lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; onResultUpdates&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;re&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;String&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;):&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;intervalID &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; setInterval&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;displayMessage&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;50&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; re&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;toUpperCase&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(),&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; resposta_txt&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;conn&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;call&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;amf.servicos.getMensagens&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; responder&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; onChange&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;e&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Event&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;):&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; grid&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;DataGrid&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; e&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;currentTarget &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;as&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;DataGrid&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;selecionado &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; grid&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;selectedIndex&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;nome_txt&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;text &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; grid&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;selectedItem&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;nome&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;toUpperCase&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;email_txt&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;text &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; grid&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;selectedItem&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;email&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;toUpperCase&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;mensagem_txt&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;text &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; grid&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;selectedItem&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;mensagem&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;toUpperCase&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; onDoubleClick&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;e&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;MouseEvent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;):&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;deselect&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;MouseEvent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;MouseEvent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;CLICK&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;));&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; texto&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;TextField&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; e&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;currentTarget &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;as&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;TextField&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;texto&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;type &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;TextFieldType&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;INPUT&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;texto&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;border &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;texto&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;background &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;texto&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;backgroundColor &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;0x000000&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;texto&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;textColor &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;0xFFFFFF&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;texto&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;selectable &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; deselect&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;e&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;MouseEvent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;):&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span</description>
		<guid>http://rodrigofm.bloggeiros.com/RodrigoFM-b1/Flash-Remoting-AMF-no-ActionScript-30-b1-p49.htm</guid>
	</item>
	<item>
		<title>Tratamento de data e hora via Actionscript</title>
		<category>RodrigoFM</category>
		<pubDate>2009-05-16T13:54:37Z</pubDate>
		<description>&lt;h2 style=&quot;margin-top: 10px&quot;&gt;Tratamento de data e hora via Actionscript&lt;/h2&gt;&lt;br /&gt;&lt;div id=&quot;strConteudo&quot;&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Saber como tratar data e hora é fundamental para quem quer oferecer&lt;br /&gt;serviços ao usuário. Não somente com o propósito de exibir um relógio&lt;br /&gt;no site, mas para saber o tempo em que determinado usuário executou uma&lt;br /&gt;operação, a hora em que efetuou uma transação e armazenagem de dados.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;A ActionScript armazena datas e horas internamente como &lt;em&gt;epoch milliseconds&lt;/em&gt;, o tempo de milisegundos que passaram desde meia noite, 1 de Janeiro de 1970 no Tempo de Coordenada Universal (UTC - &lt;em&gt;Coordinated Universal Time&lt;/em&gt;), e para nossos propósitos é equivalente ao GMT (Tempo do Meridiano de Greenwich).&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Para exibir a data e a hora, utilizamos o objeto Date. Ele nada mais faz que retornar a data e hora do usuário.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class=&quot;codigo&quot;&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; data&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Date&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Date&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;trace&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;h4&gt;Retornando dados do objeto Date separadamente&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Hora&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;A propriedade hours retorna um valor entre 0 e 23.&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Minuto&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;A propriedade minutes retorna um valor entre 0 e 59.&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Segundo&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;A propriedade seconds retorna um valor entre 0 e 59.&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Dia&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;A propriedade date retorna um valor entre 0 e 23.&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Mês&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;A propriedade month retorna um valor entre 0 e 11.&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Ano&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;A propriedade fullYear retorna um valor de quatro dígitos como 2008.&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Dia da semana&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;A propriedade &lt;em&gt;day &lt;/em&gt;retorna um valor entre 0 6.&lt;br /&gt;&lt;div class=&quot;codigo&quot;&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; tempo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Date&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Date&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; horas&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;uint&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;          &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; tempo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;hours&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; minutos&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;uint&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; tempo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;minutes&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; segundos&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;uint&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;       &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; tempo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;seconds&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; dia&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;uint&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;            &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; tempo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;date&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; mes&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;uint&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;            &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; tempo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;month&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; ano&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;uint&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;            &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; tempo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;fullYear&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; diaSemana&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;uint&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; tempo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;day&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;trace&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;horas &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;:&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; minutos &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;:&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; segundos&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;trace&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;dia &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;/&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; mes &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;/&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; ano&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;trace&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;diaSemana&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;h4&gt;Recebendo o nome do mês e do dia da semana&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Para associar valores numéricos a valores textuais como segunda-feira, criamos um &lt;em&gt;array &lt;/em&gt;e trocamos o chamado do índice fixo pelo chamado do valor da data atual:&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class=&quot;codigo&quot;&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; tempo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Date&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Date&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; horas&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;uint&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;          &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; tempo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;hours&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; minutos&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;uint&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; tempo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;minutes&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; segundos&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;uint&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;       &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; tempo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;seconds&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; dia&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;uint&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;            &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; tempo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;date&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; mes&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;uint&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;            &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; tempo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;month&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; ano&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;uint&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;            &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; tempo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;fullYear&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; diaSemana&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;uint&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; tempo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;day&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; arrDiasSemana&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Array&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Domingo&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Segunda&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Terça&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Quarta&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Quinta&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Sexta&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Sabado&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;];&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; arrMeses&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Array&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Janeiro&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Fevereiro&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Março&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Abril&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Maio&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Junho&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Julho&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Agosto&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Setembro&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Outubro&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Novembro&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Dezembro&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;];&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;trace&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;arrDiasSemana&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;diaSemana&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;, &amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; dia &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot; de &amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; arrMeses&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;mes&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot; de &amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; ano &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;.&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;//Quarta, 6 de Fevereiro de 2008.&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Um exemplo completo com atualização constante na tela pode ser observado abaixo:&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class=&quot;codigo&quot;&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span class=&quot;kwd&quot;&gt;package&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; flash&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;text&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;TextField&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; flash&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;text&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;TextFieldAutoSize&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; flash&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;utils&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Timer&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; flash&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;events&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;TimerEvent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; flash&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;display&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Sprite&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;class&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;DataHora&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;extends&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Sprite&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;private&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; contador&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Timer&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;private&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; tempo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Date&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;private&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; data&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;TextField&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;private&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; hora&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;TextField&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;private&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; meses&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Array&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;DataHora&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;meses &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Janeiro&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Fevereiro&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Março&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Abril&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Maio&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Junho&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Julho&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Agosto&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Setembro&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Outubro&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Novembro&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;Dezembro&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;];&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;data &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; getChildByName&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;data_txt&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;as&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;TextField&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;hora &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; getChildByName&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;hora_txt&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;as&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;TextField&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;data&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;autoSize &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;TextFieldAutoSize&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;LEFT&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;hora&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;autoSize &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;TextFieldAutoSize&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;LEFT&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;contador &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Timer&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;1000&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;contador&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;addEventListener&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;TimerEvent&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;TIMER&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; onTimer&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;contador&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;start&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;onTimer&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;private&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; onTimer&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;e&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;TimerEvent&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;null&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;):&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;tempo &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Date&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;hora&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;text &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; zeroFill&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;tempo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;hours&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;:&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; zeroFill&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;tempo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;minutes&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;:&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; zeroFill&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;tempo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;seconds&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;data&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;text &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; tempo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;date &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot; de &amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; meses&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;tempo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;month&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot; de &amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; tempo&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;fullYear &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;.&amp;quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;private&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; zeroFill&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;valor&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Number&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;):&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;String&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;valor &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;9&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;){&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; valor&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;toString&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;else&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&amp;quot;0&amp;quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; valor&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;toString&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;h4&gt;Convertendo entre DMYHMSM e Epoch Milliseconds&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;É importante saber converter o formato &lt;em&gt;date&lt;/em&gt; em diferentes&lt;br /&gt;formatos de apresentação, pois nem sempre o sistema nos traz de forma&lt;br /&gt;aprazível estes valores. No exemplo abaixo, a propriedade time nos&lt;br /&gt;retorna a data em formato DMYHMSM (dia, mês, ano, hora, minuto,&lt;br /&gt;segundo, milisegundo). E na linha abaixo passamos no construtor um&lt;br /&gt;valor de tempo ao invés do ano, pedindo em seguida seu valor, o qual&lt;br /&gt;retornará a data como formato usual (epoch milliseconds).&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class=&quot;codigo&quot;&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; data&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Date&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Date&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;2008&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;//1199588400000 (timeValue)&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;trace&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;time&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; data2&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Date&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Date&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;lit&quot;&gt;1199588400000&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;//Sun Jan 6 00:00:00 GMT-0300 2008&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;trace&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;data2&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;);&lt;br /&gt;Fonte: www.imasters.com.br&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;</description>
		<guid>http://rodrigofm.bloggeiros.com/RodrigoFM-b1/Tratamento-de-data-e-hora-via-Actionscript-b1-p48.htm</guid>
	</item>
	<item>
		<title>Out of Bounds e Vector Mask</title>
		<category>RodrigoFM</category>
		<pubDate>2009-05-16T13:53:13Z</pubDate>
		<description>&lt;h2 style=&quot;margin-top: 10px&quot;&gt;Out of Bounds e Vector Mask&lt;/h2&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Olá pessoal, tudo certo!?&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Nessa matéria criaremos um famoso efeito, além de muito interessante&lt;br /&gt;e útil, principalmente em campanhas publicitárias. Teremos uma rápida&lt;br /&gt;aula sobre Vector Mask. Peço uma atenção especial ao 3º Passo&lt;br /&gt;(seleção), pois será ele que definirá grande parte da qualidade do&lt;br /&gt;efeito. Ok!? &amp;quot;Mãos à obra!&amp;quot;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;	&lt;li&gt;&lt;strong&gt;Artista&lt;/strong&gt;: Lincoln Soares (designsoares@hotmail.com)&lt;/li&gt;&lt;br /&gt;	&lt;li&gt;&lt;strong&gt;Descrição&lt;/strong&gt;: Out of Bounds e Vector Mask&lt;/li&gt;&lt;br /&gt;	&lt;li&gt;&lt;strong&gt;Software ultilizado&lt;/strong&gt;: Photoshop CS em Inglês.&lt;/li&gt;&lt;br /&gt;	&lt;li&gt;&lt;strong&gt;Grau de Dificuldade&lt;/strong&gt;: 6.0&lt;/li&gt;&lt;br /&gt;	&lt;li&gt;&lt;strong&gt;Ao som de&lt;/strong&gt;: Watching Over Me - Iced Earth&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Imagens utlizadas:&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/9977/Img%201%20.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/9977/Img%202.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;1º Passo&lt;/strong&gt;: Crie um novo documento (Ctrl + N),  1024 X 768 pixels, RGB, OK e importe as imagens para o documento criado.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/9977/Img%203.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/9977/Img%204.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;2º Passo&lt;/strong&gt;: Renomeie as imagens e posicione conforme&lt;br /&gt;a imagem abaixo. Com a layer da imagem do atleta selecionada, vá em&lt;br /&gt;Edit &amp;gt; Transform &amp;gt; Scale (Ctrl + T) e aumente conforme o exemplo&lt;br /&gt;abaixo:.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/9977/Img%205%20.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/9977/Img%206.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;3º Passo&lt;/strong&gt;: Esse é o passo que vai definir a&lt;br /&gt;qualidade do seu trabalho . Vamos ter que fazer uma seleção que vai&lt;br /&gt;fazer o contorno da tela da TV, mas o corpo do atleta tem que ficar&lt;br /&gt;para fora. Veja o exemplo abaixo&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;DI&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/9977/Img%207.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/9977/Img%208%20.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;4º Passo&lt;/strong&gt;. Feita a seleção, inverte-a  Select &amp;gt; Iverse (Ctrl + Shift + I) e clique em Add Vector Mask.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/9977/Img%209.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/9977/Img%2010%20.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Ok. Aproveitando a situação, vamos ter uma pequena aula sobre Vector&lt;br /&gt;Mask. Como a foto do Atleta estava em um fundo colorido, podemos notar&lt;br /&gt;algumas imperfeições na parte em que o corpo do atleta fica para fora&lt;br /&gt;da TV, o que é totalmente natural pois estamos passando a foto para um&lt;br /&gt;fundo branco. Observe:&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/9977/Img%2011.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Quando clicamos no &amp;quot;Add Vector Mask&amp;quot;, vemos que ele adiciona uma&lt;br /&gt;layer de seleção ao lado da layer da imagem e, nesta imagem, notamos&lt;br /&gt;que tem partes brancas e partes pretas, o que se conclui que:&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Branco&lt;/strong&gt;: A imagem aparece.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;strong&gt;Preto&lt;/strong&gt;: A imagem se oculta.  &lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/9977/Img%2012.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Chega de teoria, vamos para prática!&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;5ºPasso&lt;/strong&gt;: &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;Selecione a Layer Mask da layer do atleta (basta dar um clique em cima da layer) &lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/9977/Img%2013.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;6º Passo&lt;/strong&gt;: Pegue a ferramenta Brush Tool (B) e, na configuração, altere o Hardness para 0%. Assim o brush ficará esfumaçado.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/9977/Img%2014.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;7º Passo&lt;/strong&gt;: Com a cor preta, passe o brush de leve nas bordas pretas aperfeiçoando a imagem.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/9977/Img%2015.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Sua imagem final deverá ficar assim: &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/9977/Img%2016.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Coloque uma sombra para deixar mais real.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/9977/Img%2017.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Está pronto nosso efeito!&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Bem pessoal, esse foi um exemplo, e muito utilizado diga-se de&lt;br /&gt;passagem. Agora deixo a responsabilidade para criatividade de vocês. &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Veja alguns exemplos pelo mundo ai fora:&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/9977/Img%2018.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/9977/Img%2019%20.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/9977/Img%2020%20.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/9977/Img%2021.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/9977/Img%2022.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/9977/Img%2023.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/9977/Img%2024.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/9977/Img%2025%20.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/9977/Img%2026.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Fonte: www.imasters.com.br&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;</description>
		<guid>http://rodrigofm.bloggeiros.com/RodrigoFM-b1/Out-of-Bounds-e-Vector-Mask-b1-p47.htm</guid>
	</item>
	<item>
		<title>Aplicando luz artificial em fotos</title>
		<category>RodrigoFM</category>
		<pubDate>2009-05-16T13:51:47Z</pubDate>
		<description>&lt;h2 style=&quot;margin-top: 10px&quot;&gt;Aplicando luz artificial em fotos&lt;/h2&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Siga os passos abaixo para compreender a aplicação de luz artificial.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;01&lt;/strong&gt;. Pressione &lt;strong&gt;Ctrl+O&lt;/strong&gt; e abra uma&lt;br /&gt;imagem qualquer. Para este artigo usaremos a imagem abaixo, caso queira&lt;br /&gt;usar a mesma imagem clique com o botão direito do mouse sobre a foto e&lt;br /&gt;pressione o botão direito do mouse, escolha a opção &lt;strong&gt;Save Link As&lt;/strong&gt;.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/10827/imagem1.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;[para baixar esta foto clique com o botão direito e escolha Save Link As]&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;02&lt;/strong&gt;. Pressione &lt;strong&gt;Ctrl+J&lt;/strong&gt; para duplicar a layer, pressione a letra B do teclado para abrir a caixa de Color Balance e defina os valores abaixo.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/10827/imagem2.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;03&lt;/strong&gt;. Sua imagem deverá ficar como na foto abaixo.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/10827/imagem3.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;04&lt;/strong&gt;. Novamente pressione &lt;strong&gt;Ctrl+B&lt;/strong&gt; para abrir a caixa de &lt;strong&gt;Color Balance&lt;/strong&gt;, clique em &lt;strong&gt;Midtones &lt;/strong&gt;e defina os valores abaixo.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/10827/imagem4.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;05&lt;/strong&gt;. Mude o modo de blend da layer para &lt;strong&gt;Saturation &lt;/strong&gt;e defina a opacidade em &lt;strong&gt;70%&lt;/strong&gt;.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/10827/imagem5.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;06&lt;/strong&gt;. Agora clique com o botão direito do mous e sobre a textura abaixo e escolha a opção &lt;strong&gt;Save Link As&lt;/strong&gt;. Com a textura salva, pressione &lt;strong&gt;Ctrl+O&lt;/strong&gt; e abra a textura. Pressione &lt;strong&gt;Ctrl+B&lt;/strong&gt; para abrir a caixa de Color Balance e defina os valores mostrados a seguir. Feito isto pressione &lt;strong&gt;Ctrl+A&lt;/strong&gt; para selecionar o conteúdo da textura, &lt;strong&gt;Ctrl+C&lt;/strong&gt; para copiar, volte no documento da foto em que estamos trabalhando e pressione &lt;strong&gt;Ctrl+V&lt;/strong&gt; para colar.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/10827/imagem6.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/10827/imagem7.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;strong&gt;07&lt;/strong&gt;. Agora vá em Filter&amp;gt; Render&amp;gt; Lighting Effects e defina os valores abaixo.&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/10827/imagem8.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;08&lt;/strong&gt;. Sua imagem deverá ficar como na foto abaixo.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/10827/imagem9.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;09&lt;/strong&gt;. Mude o modo de blend da layer com a textura para &lt;strong&gt;Screen&lt;/strong&gt;.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/10827/imagem10.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;10&lt;/strong&gt;. Agora vá em &lt;strong&gt;Filter&amp;gt; Blur&amp;gt; Gaussian Blur&lt;/strong&gt; e defina os valores abaixo.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/10827/imagem11.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;11&lt;/strong&gt;. Clique na layer 1 (da foto original) e pressione &lt;strong&gt;Ctrl+J&lt;/strong&gt;&lt;br /&gt;para duplicar a layer. Deixe esta cópia acima de todas as outras layers&lt;br /&gt;na paleta de layers e mude o modo de blend para Soft Light.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/10827/imagem12.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;12&lt;/strong&gt;. (Opcional) Agora clique com o botão direito do&lt;br /&gt;mouse sobre a textura abaixo e escolha a opção Save Link As, com a&lt;br /&gt;textura salva pressione &lt;strong&gt;Ctrl+O&lt;/strong&gt; e abra a textura, pressione &lt;strong&gt;Ctrl+A&lt;/strong&gt; para selecionar o conteúdo da textura, &lt;strong&gt;Ctrl+C&lt;/strong&gt; para copiar, volte no documento da foto em que estamos trabalhando e pressione &lt;strong&gt;Ctrl+V&lt;/strong&gt; para colar.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/10827/imagem13.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;13&lt;/strong&gt;. Mude o modo de blend da layer da nova textura para Screen, pressione &lt;strong&gt;Ctrl+T&lt;/strong&gt; para abrir a caixa de &lt;strong&gt;Free Transform&lt;/strong&gt; e redimensione, gire ou duplique à vontade a textura.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/10827/imagem14.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;14&lt;/strong&gt;. (&lt;strong&gt;Opcional&lt;/strong&gt;) Clique aqui e baixe&lt;br /&gt;o set de brushes usados neste tutorial para criar os pequenos pontos&lt;br /&gt;brilhantes na imagem, instale o set de brushes indo em C:Arquivos de&lt;br /&gt;programasAdobeAdobe Photoshop (versão do seu&lt;br /&gt;Photoshop)PresetsBrush, salve o documento em que estamos trabalhando&lt;br /&gt;e reinicie o Photoshop, pressione &lt;strong&gt;Ctrl+O&lt;/strong&gt; e abra novamente o documento em que estamos trabalhando, pressione a letra &lt;strong&gt;B &lt;/strong&gt;do teclado para selecionar a Brush Tool e carregue o Brush que foi instalado, passe o brush próximo ao brilho aplicado.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/10827/imagem15.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;15&lt;/strong&gt;. (&lt;strong&gt;Opcional&lt;/strong&gt;) Adicione um texto em sua imagem e ao final ela estará como na foto abaixo.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/10827/imagem16.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Site de origem&lt;/strong&gt;: &lt;a href=&quot;http://www.photoshop-garden.com/view_tut.php?id=67&quot;&gt;http://www.photoshop-garden.com/view_tut.php?id=67&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Fonte: www.imasters.com.br&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;</description>
		<guid>http://rodrigofm.bloggeiros.com/RodrigoFM-b1/Aplicando-luz-artificial-em-fotos-b1-p46.htm</guid>
	</item>
	<item>
		<title>Como melhorar o aspecto de imagens tiradas com celular</title>
		<category>RodrigoFM</category>
		<pubDate>2009-05-16T13:50:38Z</pubDate>
		<description>&lt;h2 style=&quot;margin-top: 10px&quot;&gt;Como melhorar o aspecto de imagens tiradas com celular&lt;/h2&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;01&lt;/strong&gt;. Pressione Ctrl+O e abra a foto que foi tirada&lt;br /&gt;&lt;br /&gt;de uma câmera de celular. Neste artigo iremos usar a imagem abaixo&lt;br /&gt;&lt;br /&gt;(caso queira usar a mesma imagem, clique com o botão direito do mouse&lt;br /&gt;&lt;br /&gt;sobre a imagem e escolha a opção Save Link As), pressione Ctrl+J para&lt;br /&gt;&lt;br /&gt;duplicar a layer.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/11049/imagem1.jpg&quot; border=&quot;0&quot; alt=&quot;[para baixar esta foto clique com o botão direito e escolha Save Link As&quot; /&gt;&lt;span class=&quot;imgdesc&quot;&gt;][para baixar esta foto clique com o botão direito e escolha Save Link As]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;02&lt;/strong&gt;. Agora vá em Window &amp;gt; Channels para abrir a&lt;br /&gt;&lt;br /&gt;paleta de Channels, cada um dos canais, Red, Green e Blue. Clique no&lt;br /&gt;&lt;br /&gt;Channel Red e sua imagem deve ficar como a da foto abaixo.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/11049/imagem2.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;03&lt;/strong&gt;. Vá em Filter &amp;gt; Noise &amp;gt; Reduce Noise. neste filtro você terá algumas opções importantes como:&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Strength (Intensidade)&lt;/strong&gt; - Controla a intensidade de redução de ruído de luminescência aplicada a todos os canais da imagem.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Preserve Details (Preservar Detalhes)&lt;/strong&gt; - Preserva as&lt;br /&gt;&lt;br /&gt;arestas e os detalhes da imagem, como fios de cabelo ou objetos&lt;br /&gt;&lt;br /&gt;texturizados. Um valor de 100 preserva a maioria dos detalhes da&lt;br /&gt;&lt;br /&gt;imagem, mas reduz muito pouco o ruído de luminescência. Equilibre os&lt;br /&gt;&lt;br /&gt;controles Intensidade e Preservar Detalhes para ajustar a redução de&lt;br /&gt;&lt;br /&gt;ruído.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Reduce Color Noise (Reduzir Ruído de Cores)&lt;/strong&gt; - Remove os pixels aleatórios de cor. Um valor mais alto reduz mais ruído de cores.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Sharpen Details (Tornar Detalhes Nítidos)&lt;/strong&gt; - Torna a&lt;br /&gt;&lt;br /&gt;imagem mais nítida. Remover o ruído reduz a nitidez da imagem. Para&lt;br /&gt;&lt;br /&gt;restaurar a nitidez, use o controle de nitidez da caixa de diálogo ou,&lt;br /&gt;&lt;br /&gt;posteriormente, um dos outros filtros de nitidez do Photoshop.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Remove JPEG Artifacts (Remover Artefatos JPEG) &lt;/strong&gt;-&lt;br /&gt;&lt;br /&gt;Remove artefatos e halos de imagem em forma de bloco causados pelo&lt;br /&gt;&lt;br /&gt;salvamento de uma imagem configurada com baixa qualidade de JPEG.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Neste artigo foi aplicado um valor de 10 pixels para Strength, 0&lt;br /&gt;&lt;br /&gt;pixels para Preserve Details e 3 pixels para Sharpen Details com a&lt;br /&gt;&lt;br /&gt;opção Remove JPEG Artifact selecionada. Após aplicar o filtro,&lt;br /&gt;&lt;br /&gt;pressione Ctrl+F para aplicar novamente e sua imagem deve ficar&lt;br /&gt;&lt;br /&gt;parecida com a imagem abaixo.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/11049/imagem3.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;04&lt;/strong&gt;. Agora clique no Channel Green e pressione&lt;br /&gt;&lt;br /&gt;Ctrl+F duas vezes para reaplicar o filtro Reduce Noise. Faça o mesmo no&lt;br /&gt;&lt;br /&gt;Channel Blue e ao final clique no Channel RGB. Sua imagem deve ficar&lt;br /&gt;&lt;br /&gt;como a da foto abaixo.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/11049/imagem4.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;05&lt;/strong&gt;. Pressione a letra R do teclado para selecionar&lt;br /&gt;&lt;br /&gt;a Blur Tool, defina um valor entre 30 a 35% no Strength da ferramenta&lt;br /&gt;&lt;br /&gt;(na barra de opções da ferramenta no alto da tela), escolha um brush de&lt;br /&gt;&lt;br /&gt;tamanho grande e pontas suaves e passe nas áreas onde o granulado&lt;br /&gt;&lt;br /&gt;permanece na imagem. Sua imagem deve ficar como a da foto abaixo.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/11049/imagem5.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;06&lt;/strong&gt;. Agora pressione Ctrl+L para abrir a caixa de&lt;br /&gt;&lt;br /&gt;Levels e defina o valor de 1,26 para o Input Level do slider de&lt;br /&gt;&lt;br /&gt;Midtones para ajustar o brilho da imagem.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/11049/imagem6.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;07&lt;/strong&gt;. Agora pressione a letra I (i) do teclado para&lt;br /&gt;&lt;br /&gt;selecionar a Eyedropper Tool, clique em um ponto do rosto onde a cor&lt;br /&gt;&lt;br /&gt;pareça mais natural, pressione a letra B do teclado para selecionar a&lt;br /&gt;&lt;br /&gt;Brush Tool e mude o modo de blend do brush na barra de opções da&lt;br /&gt;&lt;br /&gt;ferramenta para Color, defina a opacidade entre 15 a 20% e passe nas&lt;br /&gt;&lt;br /&gt;partes da imagem que ainda estão com as cores esverdeadas.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/11049/imagem7.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;08&lt;/strong&gt;. Troque as cores para diferentes partes da&lt;br /&gt;&lt;br /&gt;imagem como camisetas, blusas, brincos, cabelos usando o mesmo&lt;br /&gt;&lt;br /&gt;processo. Ao final do nosso trabalho, sua imagem estará como na imagem&lt;br /&gt;&lt;br /&gt;abaixo.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/11049/imagem8.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Site de origem:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.phototutorial.info/?p=136&quot;&gt;http://www.phototutorial.info/?p=136&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Fonte: www.imasters.com.br&lt;br /&gt;&lt;br /&gt;</description>
		<guid>http://rodrigofm.bloggeiros.com/RodrigoFM-b1/Como-melhorar-o-aspecto-de-imagens-tiradas-com-celular-b1-p45.htm</guid>
	</item>
	<item>
		<title>Efeito de realismo para fotos</title>
		<category>RodrigoFM</category>
		<pubDate>2009-05-16T13:45:45Z</pubDate>
		<description>&lt;h2 style=&quot;margin-top: 10px&quot;&gt;Efeito de realismo para fotos&lt;/h2&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;01&lt;/strong&gt;. Pressione Ctrl+O e abra a foto escolhida para ser trabalhada, neste tutorial iremos usar a imagem abaixo.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/11539/imagem1.jpg&quot; border=&quot;0&quot; alt=&quot;Clique no link abaixo da foto para baixá-la.&quot; /&gt;&lt;span class=&quot;imgdesc&quot;&gt;Clique no link abaixo da foto para baixá-la.&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;a href=&quot;http://conteudo.imasters.uol.com.br/11539/imagem1.rar&quot;&gt;Imagem 1&lt;/a&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;02&lt;/strong&gt;. Para adicionar as bordas pressione a letra M do teclado para selecionar a &lt;strong&gt;Rectangular Marquee Tool&lt;/strong&gt;,&lt;br /&gt;crie um retângulo na área central da foto e pressione Ctrl+J, isto irá&lt;br /&gt;criar uma nova layer com a parte selecionada, retire a visibilidade da&lt;br /&gt;layer Background e sua imagem irá ficar como a da foto abaixo.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/11539/imagem2.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;03&lt;/strong&gt;. Pressione Ctrl+Shift+Alt+N para criar uma nova layer, pressione agora a letra G do teclado para selecionar a &lt;strong&gt;Paint Bucket Tool&lt;/strong&gt;,&lt;br /&gt;pressione a letra D do teclado para resetar as cores de Foreground e&lt;br /&gt;Background para preto e branco, pressione a letra X para alternar a cor&lt;br /&gt;de Foreground para branco e clique no documento, posicione a layer&lt;br /&gt;pintada de branco abaixo da layer com a cópia da foto pressionando&lt;br /&gt;Ctrl+[ ou clicando e arrastando a layer para baixo na paleta de layers,&lt;br /&gt;pressione Ctrl+Shift+Alt+N novamente para criar outra layer, pressione&lt;br /&gt;a letra X do teclado para mudar a cor de Foreground para preto e clique&lt;br /&gt;na área do seu documento para pintar a nova layer de preto, pressione&lt;br /&gt;Ctrl+[ para posicionar esta nova layer abaixo da layer branca, agora&lt;br /&gt;temos 4 layers, a primeira (de cima para baixo) com a cópia da foto, a&lt;br /&gt;segunda em branco, a terceira em preto e a última que é a foto&lt;br /&gt;original, sua imagem deverá ficar como a imagem abaixo.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/11539/imagem3.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;04&lt;/strong&gt;. Clique na layer que contém a cópia de sua foto&lt;br /&gt;(que deve estar acima da layer em branco) e pressione Ctrl+E para&lt;br /&gt;mesclar as duas layers (cópia da foto e layer branca), vá em &lt;strong&gt;Image&amp;gt; Canvas Size&lt;/strong&gt; e wm Width e Height aumente em alguns pixels o tamanho total do documento afim de deixar seu documento como o da foto abaixo.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/11539/imagem4.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;05&lt;/strong&gt;. Agora vá em &lt;strong&gt;Image&amp;gt; Rotate Canvas&amp;gt; 90° CW&lt;/strong&gt; e logo após em &lt;strong&gt;Filter&amp;gt; Distort&amp;gt; Shear&lt;/strong&gt; e defina os valores abaixo.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/11539/imagem5.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;06&lt;/strong&gt;. Agora vá em &lt;strong&gt;Image&amp;gt; Rotate Canvas&amp;gt; 90° CCW&lt;/strong&gt;, clique na layer em preto e vá em &lt;strong&gt;Filter&amp;gt; Blur&amp;gt; Gaussian Blur&lt;/strong&gt; e defina o valor abaixo e logo após deixe a layer com 60% de opacidade.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/11539/imagem6.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;07&lt;/strong&gt;. Pressione Ctrl+Shift+Alt+N para criar uma nova&lt;br /&gt;layer, deixe esta layer acima da layer que contém a cópia da foto,&lt;br /&gt;pressione a letra M do teclado para selecionar a &lt;strong&gt;Rectangular Marquee Tool&lt;/strong&gt;,&lt;br /&gt;na barra de opções da ferramenta que fica no alto da tela defina o&lt;br /&gt;valor aproximado de 25 pixels para o Feather e crie uma seleção na&lt;br /&gt;parte onde queremos adicionar um brilho, pressione a letra G do teclado&lt;br /&gt;para selecionar a &lt;strong&gt;Paint Bucket Tool&lt;/strong&gt; e pinte de branco a seleção, defina a opacidade da layer em 50%.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/11539/imagem7.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;08&lt;/strong&gt;. Pressione Ctrl+D para retirar a seleção,&lt;br /&gt;pressione Ctrl+Shift+E para mesclar todas a layers, pressione&lt;br /&gt;Ctrl+Shift+Alt+N para criar uma nova layer, pressione a letra G do&lt;br /&gt;teclado para selecionar a &lt;strong&gt;Paint Bucket Tool&lt;/strong&gt; e pinte a&lt;br /&gt;nova layer de branco, pressione Ctrl+[ ou clique e arraste a layer para&lt;br /&gt;baixo da layer que contém a foto que estamos trabalhando, feito isto&lt;br /&gt;seu efeito estará terminado.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/11539/imagem8.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Site de origem: &lt;a href=&quot;http://www.webdesign.org/web/photoshop/special-effects/realistic-photo-effect---oob.10492.html&quot;&gt;http://www.webdesign.org/web/photoshop/special-effects/realistic-photo-effect---oob.10492.html&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Fonte: www.imasters.com.br&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;</description>
		<guid>http://rodrigofm.bloggeiros.com/RodrigoFM-b1/Efeito-de-realismo-para-fotos-b1-p44.htm</guid>
	</item>
	<item>
		<title>Como finalizar e colorir desenhos feitos à mão</title>
		<category>RodrigoFM</category>
		<pubDate>2009-05-16T13:44:57Z</pubDate>
		<description>&lt;h2 style=&quot;margin-top: 10px&quot;&gt;Como finalizar e colorir desenhos feitos à mão&lt;/h2&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Após digitalizar um determinado desenho, vamos estudar técnicas para colori-los e finalizá-los. Siga os passos.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;01&lt;/strong&gt;. Preparando seu Desenho.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Tente deixar as linhas de sua ilustração o mais limpa possível. Não&lt;br /&gt;use sombreamento, pois isso dificultará próximos passos para a&lt;br /&gt;definição dos traços no Photoshop. Caso use lápis, uma boa opção é usar&lt;br /&gt;um lápis 2B que possui uma cor forte.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;02&lt;/strong&gt;. Scanner.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Um passo importante para a qualidade de seu trabalho é o momento de&lt;br /&gt;passar seu desenho pelo scanner. Definir a quantidade de dpi&#039;s certa é&lt;br /&gt;essencial para podermos trabalhar o desenho depois. Para termos uma&lt;br /&gt;imagem de tamanho bom, que permita o uso de zoom e que apresente boa&lt;br /&gt;definição, usamos na maioria dos casos 400 dpi&#039;s, e o modo de cores&lt;br /&gt;fica em Black/White (preto e branco).&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;03&lt;/strong&gt;. Após scanear.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Abra o desenho no Photoshop e duplique a layer pressionando Ctrl+J.&lt;br /&gt;Dê o nome de &amp;quot;Desenho&amp;quot; e, para a outra layer (original), dê o nome de&lt;br /&gt;&amp;quot;scan original&amp;quot;.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/11628/imagem1.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Selecione a layer &amp;quot;Desenho&amp;quot; e vá em &lt;span class=&quot;c1&quot;&gt;Image&amp;gt; Adjustments&amp;gt; Levels&lt;/span&gt; ou pressione Ctrl+L para abrir a caixa de Levels.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Aqui iremos deixar o background da imagem mais branco (para remover&lt;br /&gt;as marcas do papel) e escurecer as linhas do desenho para criar um&lt;br /&gt;maior contraste.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Com a caixa de Levels aberta (certifique-se que a opção &amp;quot;preview&amp;quot;&lt;br /&gt;está selecionada) vá puxando a seta branca até encontrar o ponto ideal&lt;br /&gt;onde as marcas do papel desaparecem deixando o fundo totalmente branco.&lt;br /&gt;Depois faça o mesmo com a seta preta, arrastando lentamente até&lt;br /&gt;encontrar o ponto ideal onde os traços da ilustração fiquem definidos e&lt;br /&gt;bem contrastados com o fundo.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/11628/imagem2.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/11628/imagem3.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;04&lt;/strong&gt;. Após o ajuste de Levels vamos remover o fundo, separando o desenho do background.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Duplique a layer e dê a ela o nome de &amp;quot;Desenho Recortado&amp;quot;.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Para remover o fundo branco existem duas maneiras, uma delas é usando &lt;span class=&quot;c1&quot;&gt;este tutorial&lt;/span&gt; que já foi postado aqui no &lt;span class=&quot;c1&quot;&gt;blog&lt;/span&gt;, mas caso o resultado não seja bom o jeito será usar a ferramenta &lt;span class=&quot;c1&quot;&gt;Magnetic Lasso Tool&lt;/span&gt; (letra L do teclado).&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Caso você tenha que usar a &lt;span class=&quot;c1&quot;&gt;Magnetic Lasso Tool&lt;/span&gt;&lt;br /&gt;(letra L do teclado), certifique-se de que o Anti-Alias esteja&lt;br /&gt;selecionado. Vá traçando ao redor das linhas do desenho, a ferramenta&lt;br /&gt;deve grudar às linhas facilmente.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/11628/imagem4.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Após criar sua seleção, pressione Delete.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/11628/imagem5.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;05&lt;/strong&gt;. Agora crie uma nova layer pressionando Ctrl+Shift+N. Dê o nome de &amp;quot;Cores&amp;quot;.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Selecione a &lt;span class=&quot;c1&quot;&gt;Pencil Tool&lt;/span&gt; (letra P do teclado)&lt;br /&gt;e escolha a cor desejada. Para um melhor controle do trabalho, crie uma&lt;br /&gt;layer para cada cor aplicada. Dessa forma, no caso de troca de cores, o&lt;br /&gt;trabalho ficará bem mais fácil. Use a &lt;span class=&quot;c1&quot;&gt;Zoom Tool&lt;/span&gt; para pintar em áreas mais complicadas.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/11628/imagem6.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Após pintar, altere o modo de blend da layer para &lt;span class=&quot;c1&quot;&gt;Darken&lt;/span&gt;. As linhas de seu desenho irão aparecer fazendo com que a cor perca sua opacidade e revele os detalhes do desenho.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/11628/imagem7.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Continue repetindo o processo até colorir toda a ilustração criando para cada cor uma layer diferente.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/11628/imagem8.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Fonte: www.imasters.com.br&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;</description>
		<guid>http://rodrigofm.bloggeiros.com/RodrigoFM-b1/Como-finalizar-e-colorir-desenhos-feitos-a-mao-b1-p43.htm</guid>
	</item>
	<item>
		<title>Efeito de destaque para áreas específicas de uma foto</title>
		<category>RodrigoFM</category>
		<pubDate>2009-05-16T13:43:45Z</pubDate>
		<description>&lt;h2 style=&quot;margin-top: 10px&quot;&gt;Efeito de destaque para áreas específicas de uma foto&lt;/h2&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;01. Pressione Ctrl+O e abra uma foto qualquer. Para&lt;br /&gt;este tutorial usaremos a foto abaixo, caso queira usar a mesma imagem&lt;br /&gt;clique com o botão direito do mouse sobre a foto e escolha a opção Save&lt;br /&gt;Link As.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12138/imagem1.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;02. Pressione Ctrl+J ou vá em Layer&amp;gt; New&amp;gt; Layer Via Copy para duplicar a layer.&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12138/imagem2.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12138/imagem3.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;03. Pressione a letra M do teclado para selecionar a Rectangular&lt;br /&gt;Marquee Tool e crie uma seleção ao redor da parte da imagem que você&lt;br /&gt;queira criar o efeito.&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12138/imagem4.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12138/imagem5.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;04. Agora pressione Ctrl+J ou vá em Layer&amp;gt; New&amp;gt; Layer Via Copy&lt;br /&gt;para duplicar apenas a parte selecionada da imagem. Vá em Layer&amp;gt;&lt;br /&gt;Hide Layers para retirar a visibilidade da layer.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12138/imagem6.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12138/imagem7.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;05. Clique na layer Background Copy e vá em Image&amp;gt;&lt;br /&gt;Adjustments&amp;gt; Desaturate ou pressione Ctrl+Shift+U para retirar a&lt;br /&gt;saturação da imagem. Pressione Ctrl+J para duplicar a layer.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12138/imagem8.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12138/imagem9.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;06. Agora vá em Filter&amp;gt; Blur&amp;gt; Gaussian Blur.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12138/imagem10.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;07. Defina os valores abaixo e pressione Ok.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12138/imagem11.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;08. Mude o modo de blend da layer para Linear Light, defina a opacidade da layer em 40%.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12138/imagem12.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12138/imagem13.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;09. Agora pressione Ctrl+Shift+Alt+N para criar uma nova layer,&lt;br /&gt;escolha uma cor qualquer e pressione Alt+Backspace (a tecla acima do&lt;br /&gt;Enter) ou pressione a letra G do teclado para selecionar a Paint Bucket&lt;br /&gt;Tool e clique no documento para preencher a layer com a cor escolhida.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12138/imagem14.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12138/imagem15.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;10. Defina o modo de blend da layer para Soft Light e a opacidade em 65%.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12138/imagem16.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12138/imagem17.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;11. Agora pressione Ctrl+E para mesclar as 3 layers que estamos&lt;br /&gt;trabalhando, a layer colorida e as duas layers copiadas da foto&lt;br /&gt;original. Pressione Ctrl+L ou vá em Image&amp;gt; Adjustments&amp;gt; Levels&lt;br /&gt;para abrir a caixa de Levels.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12138/imagem19.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;12. Defina os valores abaixo e pressione Ok.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12138/imagem20.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12138/imagem21.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;13. Agora Filter&amp;gt; Distort&amp;gt; Diffuse Glow.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12138/imagem22.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;14. Defina os valores abaixo e pressione Ok.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12138/imagem23.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12138/imagem24.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;15. Agora clique na layer 1 (que criamos a partir da seleção) e vá&lt;br /&gt;em Layer&amp;gt; Show Layers, pressione Ctrl+L ou vá em Image&amp;gt;&lt;br /&gt;Adjustments&amp;gt; Levels.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12138/imagem25.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;16. Defina os valores abaixo e pressione Ok.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12138/imagem26.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12138/imagem27.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;17. Agora clique no ícone de Add Layer Style no rodapé da paleta de layers e escolha a opção Stroke.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12138/imagem28.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;18. Defina os valores abaixo.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12138/imagem29.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;19. Agora vá em Layer&amp;gt; Layer Style&amp;gt; Outer Glow e defina os valores abaixo.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12138/imagem30.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;20. Ao final sua imagem estará como a da foto abaixo.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src=&quot;http://conteudo.imasters.uol.com.br/12138/imagem31.jpg&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;site de origem: &lt;a href=&quot;http://www.psdrockstar.com/photo-effects/tutorial-how-to-emphasize-part-of-an-image/&quot;&gt;http://www.psdrockstar.com/photo-effects/tutorial-how-to-emphasize-part-of-an-image/&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Fonte: www.imasters.com.br&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;</description>
		<guid>http://rodrigofm.bloggeiros.com/RodrigoFM-b1/Efeito-de-destaque-para-areas-especificas-de-uma-foto-b1-p42.htm</guid>
	</item>
	</channel>
</rss>