<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6966139231465036155</id><updated>2012-02-16T18:05:25.488-08:00</updated><category term='PHP'/><category term='Flash'/><category term='CodeIgniter'/><category term='jQuery'/><category term='Portfolio'/><category term='Javascript'/><category term='AMFPHP'/><category term='Pessoal'/><category term='AS3'/><title type='text'>The Froskie's Blog</title><subtitle type='html'>Flash, Flex, PHP, Web,  e o resto...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://froskie.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://froskie.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Gust@vo</name><uri>http://www.blogger.com/profile/13831448828604239113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>23</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6966139231465036155.post-7364753089447721843</id><published>2008-05-17T06:28:00.000-07:00</published><updated>2008-05-17T06:30:29.003-07:00</updated><title type='text'>Gringos "boca suja"</title><content type='html'>Bom, quem pode, pode. E até aproveita-se disso e &lt;span style="font-style: italic;"&gt;kick the log off the tent&lt;/span&gt;*.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.gringo.nu/v3/"&gt;Dá-lhe.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 153, 153);font-size:78%;" &gt;*Implementação infeliz de "chutou o pau da barraca".&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6966139231465036155-7364753089447721843?l=froskie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://froskie.blogspot.com/feeds/7364753089447721843/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6966139231465036155&amp;postID=7364753089447721843' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/7364753089447721843'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/7364753089447721843'/><link rel='alternate' type='text/html' href='http://froskie.blogspot.com/2008/05/gringos-boca-suja.html' title='Gringos &quot;boca suja&quot;'/><author><name>Gust@vo</name><uri>http://www.blogger.com/profile/13831448828604239113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6966139231465036155.post-7832712050333551556</id><published>2008-05-14T08:25:00.000-07:00</published><updated>2008-05-14T08:29:56.959-07:00</updated><title type='text'>Vai dar refresh...</title><content type='html'>Estou lendo as últimas no &lt;a href="http://g1.globo.com/"&gt;G1&lt;/a&gt; e vi um vídeo de tributo a &lt;span style="font-weight: bold;"&gt;Frank Sinatra&lt;/span&gt;. Demorou! Minha internet estava meio lenta mais foi carregando na boa. De repende, no meio do vídeo, a página recarrega! Isso mesmo, &lt;span style="font-weight: bold;"&gt;METATAG REFRESH&lt;/span&gt; do site!&lt;br /&gt;&lt;br /&gt;Não bastasse, não ficou nada do vídeo no &lt;span style="font-style: italic;"&gt;cache&lt;/span&gt;. Que maravilha...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6966139231465036155-7832712050333551556?l=froskie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://froskie.blogspot.com/feeds/7832712050333551556/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6966139231465036155&amp;postID=7832712050333551556' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/7832712050333551556'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/7832712050333551556'/><link rel='alternate' type='text/html' href='http://froskie.blogspot.com/2008/05/vai-dar-refresh.html' title='Vai dar refresh...'/><author><name>Gust@vo</name><uri>http://www.blogger.com/profile/13831448828604239113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6966139231465036155.post-3914180791102215188</id><published>2008-05-06T13:13:00.000-07:00</published><updated>2008-05-06T13:21:52.553-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AS3'/><category scheme='http://www.blogger.com/atom/ns#' term='Flash'/><title type='text'>Duplicar imagem carregada</title><content type='html'>Ao carregar uma imagem com o &lt;span style="font-weight: bold;"&gt;Loader&lt;/span&gt;, se você quiser adicioná-la a dois &lt;span style="font-style: italic;"&gt;MovieClips &lt;/span&gt;diferentes, não é possível. No meu caso, a imagem sempre ficava com o segundo &lt;span style="font-style: italic;"&gt;MC&lt;/span&gt;.&lt;br /&gt;&lt;pre name="code" class="javascript"&gt;&lt;br /&gt;var urlReq:URLRequest = new URLRequest("imagem.jpg");&lt;br /&gt;var imgLoader:Loader = new Loader();&lt;br /&gt;imgLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, addImage);&lt;br /&gt;&lt;br /&gt;function addImage(e:Event):void{&lt;br /&gt;   Movie1.addChild(e.target.content);&lt;br /&gt;   Movie2.addChild(e.target.content);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;imgLoader.load(urlReq);&lt;/pre&gt;&lt;br /&gt;E já que o &lt;span style="font-weight: bold;"&gt;AS3 &lt;/span&gt;não veio com &lt;span style="font-weight: bold; font-style: italic;"&gt;duplicateMovieClip&lt;/span&gt;, a solução que encontrei foi a seguinte:&lt;br /&gt;&lt;pre name="code" class="javascript"&gt;&lt;br /&gt;var urlReq:URLRequest = new URLRequest("imagem.jpg");&lt;br /&gt;var imgLoader:Loader = new Loader();&lt;br /&gt;imgLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, addImage);&lt;br /&gt;&lt;br /&gt;function addImage(e:Event):void{&lt;br /&gt;   var img_1:Bitmap = new Bitmap(e.target.content.bitmapData.clone());&lt;br /&gt;   var img_2:Bitmap = new Bitmap(e.target.content.bitmapData.clone());&lt;br /&gt;&lt;br /&gt;   Movie1.addChild(img_1);&lt;br /&gt;   Movie2.addChild(img_1);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;imgLoader.load(urlReq);&lt;/pre&gt;&lt;br /&gt;É isso aí.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6966139231465036155-3914180791102215188?l=froskie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://froskie.blogspot.com/feeds/3914180791102215188/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6966139231465036155&amp;postID=3914180791102215188' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/3914180791102215188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/3914180791102215188'/><link rel='alternate' type='text/html' href='http://froskie.blogspot.com/2008/05/duplicar-imagem-carregada.html' title='Duplicar imagem carregada'/><author><name>Gust@vo</name><uri>http://www.blogger.com/profile/13831448828604239113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6966139231465036155.post-2897806772972420042</id><published>2008-05-05T06:26:00.000-07:00</published><updated>2008-05-05T06:39:43.177-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AS3'/><category scheme='http://www.blogger.com/atom/ns#' term='Flash'/><title type='text'>ReferenceError: Error #1065</title><content type='html'>Naqueles momentos de bobeira quando você esquece completamente o código, criei uma nova classe para uma galeria:&lt;br /&gt;&lt;pre name="code" class="javascript"&gt;&lt;br /&gt;package {&lt;br /&gt; import flash.display.MovieClip;&lt;br /&gt;&lt;br /&gt; class GaleriaHome extends MovieClip {&lt;br /&gt;&lt;br /&gt;     public function GaleriaHome():void {}&lt;br /&gt;&lt;br /&gt; }&lt;br /&gt;}&lt;/pre&gt;E ganhei o erro do compilador:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ReferenceError: Error #1065: Variable GaleriaHome is not defined.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Legal. Qual o problema? Simples: não declarei a classe como pública:&lt;br /&gt;&lt;pre name="code" class="javascript"&gt;&lt;br /&gt;package {&lt;br /&gt; import flash.display.MovieClip;&lt;br /&gt;&lt;br /&gt; public class GaleriaHome extends MovieClip {&lt;br /&gt;&lt;br /&gt;     public function GaleriaHome():void {}&lt;br /&gt;&lt;br /&gt; }&lt;br /&gt;}&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6966139231465036155-2897806772972420042?l=froskie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://froskie.blogspot.com/feeds/2897806772972420042/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6966139231465036155&amp;postID=2897806772972420042' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/2897806772972420042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/2897806772972420042'/><link rel='alternate' type='text/html' href='http://froskie.blogspot.com/2008/05/referenceerror-error-1065.html' title='ReferenceError: Error #1065'/><author><name>Gust@vo</name><uri>http://www.blogger.com/profile/13831448828604239113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6966139231465036155.post-3452883677083101623</id><published>2008-05-02T13:37:00.000-07:00</published><updated>2008-05-05T07:05:01.076-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AS3'/><category scheme='http://www.blogger.com/atom/ns#' term='Flash'/><title type='text'>Link num textfield</title><content type='html'>Sim, o &lt;span style="font-weight: bold; font-style: italic;"&gt;asfunction &lt;/span&gt;foi limado do &lt;span style="font-weight: bold;"&gt;AS3&lt;/span&gt; e particularmente, achei bem melhor. Eis um exemplo de como colocar seu &lt;span style="font-weight: bold; font-style: italic;"&gt;htmlText &lt;/span&gt;pra interagir com seu código:&lt;br /&gt;&lt;pre name="code" class="javascript"&gt;&lt;br /&gt;private function writeText():void {&lt;br /&gt;   //INICIALIZA A STRING&lt;br /&gt;   var texto:String = "";&lt;br /&gt;&lt;br /&gt;   //ESCREVE O TEXTO&lt;br /&gt;   for (var i:int = 0; i &amp;lt; 5; i++) {&lt;br /&gt;       texto += "&amp;lt;a href='"+i+"'&amp;gt;Link "+i+"&amp;lt;/a&amp;gt;";&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt;   //ESCREVE O TEXTO NO TEXTFIELD&lt;br /&gt;   Textfield.htmlText = texto;&lt;br /&gt;&lt;br /&gt;   //ATRIBUI OS CLIQUES PARA A FUNCAO&lt;br /&gt;   Textfield.addEventListener(TextEvent.LINK, showInfo);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public function showInfo(e:TextEvent):void {&lt;br /&gt;   trace("Você clicou no link: " + e.text);&lt;br /&gt;}&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6966139231465036155-3452883677083101623?l=froskie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://froskie.blogspot.com/feeds/3452883677083101623/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6966139231465036155&amp;postID=3452883677083101623' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/3452883677083101623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/3452883677083101623'/><link rel='alternate' type='text/html' href='http://froskie.blogspot.com/2008/05/link-num-textfield.html' title='Link num textfield'/><author><name>Gust@vo</name><uri>http://www.blogger.com/profile/13831448828604239113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6966139231465036155.post-4813184904567110583</id><published>2008-04-12T07:04:00.000-07:00</published><updated>2008-04-15T07:51:18.662-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Flash'/><title type='text'>Meus tutoriais de Flash no iMasters.</title><content type='html'>Nossa, relembrar é viver! O primeiro &lt;span style="font-weight: bold;"&gt;tutorial de Flash&lt;/span&gt; que eu publiquei no iMasters foi há quase 3 anos atrás. Tudo em &lt;span style="font-weight: bold;"&gt;AS 2&lt;/span&gt; e &lt;span style="font-weight: bold;"&gt;Flash MX 2004&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Seguem os links:&lt;br /&gt;• &lt;a href="http://imasters.uol.com.br/artigo/4117/flash/datechooser_e_datefield/"&gt;DateChooser e DateField&lt;/a&gt;&lt;br /&gt;• &lt;a href="http://imasters.uol.com.br/artigo/3861/flash/loader_e_progress_bar/"&gt;Loader e Progress Bar&lt;/a&gt;&lt;br /&gt;• &lt;a href="http://imasters.uol.com.br/artigo/3800/flash/textarea_e_textinput/"&gt;TextArea e TextInput&lt;/a&gt;&lt;br /&gt;• &lt;a href="http://imasters.uol.com.br/artigo/3783/actionscript/combobox/"&gt;ComboBox&lt;/a&gt;&lt;br /&gt;• &lt;a href="http://imasters.uol.com.br/artigo/3749/flash/radiobutton/"&gt;RadioButton&lt;/a&gt;&lt;br /&gt;• &lt;a href="http://imasters.uol.com.br/artigo/3682/actionscript/checkbox/"&gt;CheckBox&lt;/a&gt;&lt;br /&gt;• &lt;a href="http://imasters.uol.com.br/artigo/3630/flash/componentes_ui/"&gt;Componentes UI&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Meu perfil no iMasters ainda marca que sou proprietário da "DigitalComp" que já fechou há 2 anos, hoje a &lt;a href="http://www.dothcom.net/"&gt;&lt;span style="font-weight: bold;"&gt;dothCom&lt;/span&gt;&lt;/a&gt; está bombando. Sinto que preciso melhorar a contribuição com a comunidade.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6966139231465036155-4813184904567110583?l=froskie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://froskie.blogspot.com/feeds/4813184904567110583/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6966139231465036155&amp;postID=4813184904567110583' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/4813184904567110583'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/4813184904567110583'/><link rel='alternate' type='text/html' href='http://froskie.blogspot.com/2008/04/meus-tutoriais-de-flash-no-imasters.html' title='Meus tutoriais de Flash no iMasters.'/><author><name>Gust@vo</name><uri>http://www.blogger.com/profile/13831448828604239113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6966139231465036155.post-314705065659431544</id><published>2008-04-10T05:45:00.000-07:00</published><updated>2008-04-10T13:17:09.738-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><category scheme='http://www.blogger.com/atom/ns#' term='CodeIgniter'/><title type='text'>CodeIgniter com suporte direto a jQuery</title><content type='html'>&lt;a href="http://codeigniter.com/news/expressionengine_20_fully_codeignited/"&gt;Ótimas notícias&lt;/a&gt; vindo direto do blog do CI. O próximo release deverá contar com suporte total a javascript. Eu devo confessar que não curto controlar JS pelas linguagens server side, mas é bom saber que haverá integração entre CI e jQuery, já que uso (e muito) as duas.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6966139231465036155-314705065659431544?l=froskie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://froskie.blogspot.com/feeds/314705065659431544/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6966139231465036155&amp;postID=314705065659431544' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/314705065659431544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/314705065659431544'/><link rel='alternate' type='text/html' href='http://froskie.blogspot.com/2008/04/codeigniter-com-suporte-direto-jquery.html' title='CodeIgniter com suporte direto a jQuery'/><author><name>Gust@vo</name><uri>http://www.blogger.com/profile/13831448828604239113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6966139231465036155.post-1737013595860107081</id><published>2008-04-10T05:44:00.001-07:00</published><updated>2008-04-10T13:17:29.366-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AS3'/><category scheme='http://www.blogger.com/atom/ns#' term='Flash'/><title type='text'>Coca-cola Zero</title><content type='html'>Faço &lt;a href="http://www.lucasmarcalferreira.com.br/Blog/?p=142"&gt;dele &lt;/a&gt;as minhas palavras. Simplesmente excelente o uso do papervision &lt;a href="http://www.cocacolazero.com.br/principal.html"&gt;neste site&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6966139231465036155-1737013595860107081?l=froskie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://froskie.blogspot.com/feeds/1737013595860107081/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6966139231465036155&amp;postID=1737013595860107081' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/1737013595860107081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/1737013595860107081'/><link rel='alternate' type='text/html' href='http://froskie.blogspot.com/2008/04/coca-cola-zero.html' title='Coca-cola Zero'/><author><name>Gust@vo</name><uri>http://www.blogger.com/profile/13831448828604239113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6966139231465036155.post-3209340329682271230</id><published>2008-03-27T06:02:00.000-07:00</published><updated>2008-03-27T06:09:57.529-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Pessoal'/><category scheme='http://www.blogger.com/atom/ns#' term='Flash'/><title type='text'>Yep, I'm certified</title><content type='html'>É, tudo bem, é certificado velho, mas eu sou certificado pela Adobe como Flash MX 2004 Developer. Foi a grande versão que deu uma ênfase grande do AS2, obviamente esta versão caiu no esquecimento, mas o AS não.&lt;br /&gt;&lt;br /&gt;Profissionalmente falando não me ajudou muito já que eu tirei enquanto estava em uma empresa e continuei nela, mas me abriu os olhos para o estudo mais profissional e evoluir naquilo que eu "achava" que sabia fazer.&lt;br /&gt;&lt;br /&gt;Hoje existem uma pá de certificados novos, mas eu não preciso mais provar pra ninguém porque já sou dono da &lt;a href="http://www.dothcom.net/"&gt;minha empresa&lt;/a&gt; e o portfolio já ajuda a mostrar isso. Evoluí para o AS3, que com certeza tem seus muitos prós, mas tem seus contras, como não existir um encriptador ou coisa do tipo pra ajudar a proteger o código.&lt;br /&gt;&lt;br /&gt;Só espero que eu não perca a vontade de estudar. Até porque eu vi num blog que este ano no &lt;a href="http://www.fitc.ca/"&gt;FITC &lt;/a&gt;vão falar sobre AS 4. Putz.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6966139231465036155-3209340329682271230?l=froskie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://froskie.blogspot.com/feeds/3209340329682271230/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6966139231465036155&amp;postID=3209340329682271230' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/3209340329682271230'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/3209340329682271230'/><link rel='alternate' type='text/html' href='http://froskie.blogspot.com/2008/03/yep-im-certified.html' title='Yep, I&apos;m certified'/><author><name>Gust@vo</name><uri>http://www.blogger.com/profile/13831448828604239113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6966139231465036155.post-5336896669634926563</id><published>2008-03-24T14:19:00.000-07:00</published><updated>2008-05-05T07:07:20.273-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><title type='text'>PEAR Spreadsheet Writer</title><content type='html'>De fato quando precisei gerar um relatório em &lt;span style="font-weight: bold;"&gt;Excel&lt;/span&gt;, &lt;a href="http://pear.php.net/package/Spreadsheet_Excel_Writer"&gt;um dos &lt;span style="font-style: italic;"&gt;packages&lt;/span&gt;&lt;/a&gt; da &lt;a href="http://pear.php.net/"&gt;PEAR&lt;/a&gt; que cuida do assunto ajuda pacas.&lt;br /&gt;&lt;br /&gt;Um exemplo bem simples do uso:&lt;br /&gt;&lt;pre name="code" class="php"&gt;&lt;br /&gt;// Biblioteca da PEAR&lt;br /&gt;require_once "Spreadsheet/Excel/Writer.php";&lt;br /&gt;&lt;br /&gt;// Cria uma instancia&lt;br /&gt;$xls =&amp;amp; new Spreadsheet_Excel_Writer();&lt;br /&gt;&lt;br /&gt;// Envia o cabecalho do arquivo&lt;br /&gt;$xls-&amp;gt;send("test.xls");&lt;br /&gt;&lt;br /&gt;// Adiciona uma planilha&lt;br /&gt;$sheet =&amp;amp; $xls-&amp;gt;addWorksheet('Contador');&lt;br /&gt;&lt;br /&gt;// Escreve algumas coisas&lt;br /&gt;for ( $i=0;$i&amp;lt;11;$i++){&lt;br /&gt;   $sheet-&amp;gt;write($i,0,$i);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;// Finaliza e envia para o browser&lt;br /&gt;$xls-&amp;gt;close();&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Usar a PEAR pra tudo realmente eu não curto, mas em casos como este realmente ajuda.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6966139231465036155-5336896669634926563?l=froskie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://froskie.blogspot.com/feeds/5336896669634926563/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6966139231465036155&amp;postID=5336896669634926563' title='2 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/5336896669634926563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/5336896669634926563'/><link rel='alternate' type='text/html' href='http://froskie.blogspot.com/2008/03/pear-spreadsheet-writer.html' title='PEAR Spreadsheet Writer'/><author><name>Gust@vo</name><uri>http://www.blogger.com/profile/13831448828604239113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6966139231465036155.post-3332795027159919270</id><published>2008-03-20T14:12:00.000-07:00</published><updated>2008-03-27T06:10:34.025-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Portfolio'/><category scheme='http://www.blogger.com/atom/ns#' term='Flash'/><title type='text'>Site Itá Jóias</title><content type='html'>Entregue mais um projeto da dothCom: &lt;a href="http://www.itajoias.com.br/"&gt;www.itajoias.com.br&lt;/a&gt;&lt;br /&gt;A idéia do site escuro e sem grandes elementos é para valorizar mais as imagens das peças e produtos.&lt;br /&gt;Usados:&lt;br /&gt;   • Flash CS3 - AS3&lt;br /&gt;   • AMFPHP&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6966139231465036155-3332795027159919270?l=froskie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://froskie.blogspot.com/feeds/3332795027159919270/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6966139231465036155&amp;postID=3332795027159919270' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/3332795027159919270'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/3332795027159919270'/><link rel='alternate' type='text/html' href='http://froskie.blogspot.com/2008/03/site-it-jias.html' title='Site Itá Jóias'/><author><name>Gust@vo</name><uri>http://www.blogger.com/profile/13831448828604239113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6966139231465036155.post-377614299418208545</id><published>2008-03-13T04:45:00.000-07:00</published><updated>2008-03-27T06:11:55.071-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Pessoal'/><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><title type='text'>PHP Editor (update)</title><content type='html'>Nops, definitivamente o PhpEdit tem alguns pontos desagradáveis, como diferenciar o highlight code para dentro ou fora da string. Ruim pacas.&lt;br /&gt;&lt;br /&gt;Ainda bem que o PDT não sai desta máquina nem a pau. Eu só preciso de mais memória RAM. ;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6966139231465036155-377614299418208545?l=froskie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://froskie.blogspot.com/feeds/377614299418208545/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6966139231465036155&amp;postID=377614299418208545' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/377614299418208545'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/377614299418208545'/><link rel='alternate' type='text/html' href='http://froskie.blogspot.com/2008/03/php-editor-update.html' title='PHP Editor (update)'/><author><name>Gust@vo</name><uri>http://www.blogger.com/profile/13831448828604239113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6966139231465036155.post-6502672150637412297</id><published>2008-03-12T14:10:00.000-07:00</published><updated>2008-03-27T06:12:08.472-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Pessoal'/><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><title type='text'>PHP Editor</title><content type='html'>Vou te falar, isto é uma nóia. Editor de PHP é igual time, não se discute, mas falar que bloco de notas resolve também é sacanagem.&lt;br /&gt;&lt;br /&gt;Quando você já está com o projeto grande, nada como um autocomplete das suas próprias classes. Eu comecei claro pelo &lt;a href="http://www.adobe.com/products/dreamweaver/"&gt;&lt;span style="font-weight: bold;"&gt;Dreamweaver&lt;/span&gt;&lt;/a&gt;, mirim, nem sabia programar, era tudo no design mode. Aí mudei pro &lt;a href="http://www.zend.com/products/studio/studio55"&gt;&lt;span style="font-weight: bold;"&gt;Zend Studio 5&lt;/span&gt;&lt;/a&gt;, já era outros quinhentos, mas como quase tudo feito em Java, pesado pacas e dava um monte de pau quando tinha que trabalhar arquivos ISO e UTF.&lt;br /&gt;&lt;br /&gt;Depois testei o &lt;a href="http://www.eclipse.org/pdt/"&gt;&lt;span style="font-weight: bold;"&gt;Eclipse PDT&lt;/span&gt;&lt;/a&gt;, melhor com certeza até hoje, porém é pesado e o debug com o &lt;span style="font-style: italic;"&gt;XDebug &lt;/span&gt;dele deixa a desejar. Fui testar o &lt;a href="http://www.zend.com/en/products/studio/"&gt;&lt;span style="font-weight: bold;"&gt;Zend Studio 6&lt;/span&gt;&lt;/a&gt; (for Eclipse), todo integradão e tal. Foi só clicar no botão de debug que o programa simplesmente parou de funcionar.&lt;br /&gt;&lt;br /&gt;Agora estou testando o &lt;a href="http://www.waterproof.fr/products/PHPEdit/"&gt;&lt;span style="font-weight: bold;"&gt;PhpEdit&lt;/span&gt;&lt;/a&gt;. Sei lá, daqui a pouco eu deixo só o EditPad e lasque-se o resto...&lt;br /&gt;&lt;br /&gt;P.S.: Só pra constar, para AS ninguém bate o &lt;a href="http://www.flashdevelop.org/"&gt;&lt;span style="font-weight: bold;"&gt;Flash Develop&lt;/span&gt;&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6966139231465036155-6502672150637412297?l=froskie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://froskie.blogspot.com/feeds/6502672150637412297/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6966139231465036155&amp;postID=6502672150637412297' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/6502672150637412297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/6502672150637412297'/><link rel='alternate' type='text/html' href='http://froskie.blogspot.com/2008/03/php-editor.html' title='PHP Editor'/><author><name>Gust@vo</name><uri>http://www.blogger.com/profile/13831448828604239113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6966139231465036155.post-6022194834640052097</id><published>2008-03-12T08:14:00.000-07:00</published><updated>2008-03-27T06:12:26.160-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>jQuery UI - Fechando um Dialog</title><content type='html'>O mala da versão antiga do &lt;a href="http://ui.jquery.com/"&gt;&lt;span style="font-weight: bold;"&gt;jQuery UI&lt;/span&gt;&lt;/a&gt; é que não vinha um monte de métodos e eventos, então pra fechar um &lt;span style="font-style: italic;"&gt;dialog&lt;/span&gt; com a classe &lt;span style="font-style: italic;"&gt;flora&lt;/span&gt; (padrão) foi simples como remover o elemento criado por ela:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;$(".ui-dialog.flora.ui-resizable.ui-draggable").remove();&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6966139231465036155-6022194834640052097?l=froskie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://froskie.blogspot.com/feeds/6022194834640052097/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6966139231465036155&amp;postID=6022194834640052097' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/6022194834640052097'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/6022194834640052097'/><link rel='alternate' type='text/html' href='http://froskie.blogspot.com/2008/03/jquery-ui-fechando-um-dialog.html' title='jQuery UI - Fechando um Dialog'/><author><name>Gust@vo</name><uri>http://www.blogger.com/profile/13831448828604239113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6966139231465036155.post-8692354164018573037</id><published>2008-03-11T11:26:00.001-07:00</published><updated>2008-03-27T06:12:40.788-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Pessoal'/><title type='text'>Que dia é hoje?</title><content type='html'>Opa, quase esqueci de avisar. Hoje por acaso é meu aniversário. Ae!!! 25 anos de muita... ahm... é... vida!?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6966139231465036155-8692354164018573037?l=froskie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://froskie.blogspot.com/feeds/8692354164018573037/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6966139231465036155&amp;postID=8692354164018573037' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/8692354164018573037'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/8692354164018573037'/><link rel='alternate' type='text/html' href='http://froskie.blogspot.com/2008/03/que-dia-hoje.html' title='Que dia é hoje?'/><author><name>Gust@vo</name><uri>http://www.blogger.com/profile/13831448828604239113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6966139231465036155.post-3409833969430783704</id><published>2008-03-11T11:11:00.000-07:00</published><updated>2008-05-05T08:39:20.252-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>Biblioteca Javascript</title><content type='html'>Depois de muitos testes, muita leitura e usar em pelo menos um projeto, cheguei a conclusão de que o melhor seria a &lt;a href="http://www.jquery.com/"&gt;&lt;span style="font-weight: bold;"&gt;jQuery&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Fazendo uma comparação direta com a &lt;a href="http://www.prototypejs.org/"&gt;Prototype&lt;/a&gt; e a &lt;a href="http://www.mootools.net/"&gt;Mootools&lt;/a&gt;, que são as únicas duas que eu relevei além da jQuery, descobri que o melhor "custo benefício" é ela. Só dando uma olhada numa chamada em ajax já dá pra ter a noção:&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="javascript"&gt;//prototype&lt;br /&gt;new Ajax.Updater('idDiv', 'arquivo.html', {parameters: { acao: "update" }});&lt;br /&gt;&lt;br /&gt;//mootools&lt;br /&gt;new Ajax('arquivo.html', {data:{acao:"update"}, method: 'get', update: $('idDiv')}).request();&lt;br /&gt;&lt;br /&gt;//jquery&lt;br /&gt;$("#idDiv").load('arquivo.html', {acao:"update"});&lt;/pre&gt;Claro que isto é apenas um exemplo, mas no final eu realmente preferi a jQuery. Tudo bem, já até testei e vi que os efeitos da Mootools são bem melhores que as outras duas, mas criar plugins e programação não-obstrusiva é com a jQuery. Certeza.&lt;br /&gt;&lt;br /&gt;Isso, claro, é minha opinião. Qual a sua?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6966139231465036155-3409833969430783704?l=froskie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://froskie.blogspot.com/feeds/3409833969430783704/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6966139231465036155&amp;postID=3409833969430783704' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/3409833969430783704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/3409833969430783704'/><link rel='alternate' type='text/html' href='http://froskie.blogspot.com/2008/03/biblioteca-javascript.html' title='Biblioteca Javascript'/><author><name>Gust@vo</name><uri>http://www.blogger.com/profile/13831448828604239113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6966139231465036155.post-7510073580435459330</id><published>2008-03-08T05:38:00.000-08:00</published><updated>2008-03-27T06:13:33.770-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><title type='text'>Javascript e compressão...</title><content type='html'>Não há o que dizer: &lt;span style="font-weight: bold;"&gt;comprimir &lt;/span&gt;javascript é essencial. Impossível (daqui pra frente) publicar um site sem utilizar deste tipo de recurso. Só para se ter uma idéia da diferença:&lt;br /&gt;&lt;br /&gt;• Ext+jQuery+FCKEditor = &lt;span style="font-weight: bold;"&gt;685kb&lt;/span&gt; (descomprimidos)&lt;br /&gt;• Ext+jQuery+FCKEditor = &lt;span style="font-weight: bold;"&gt;190kb&lt;/span&gt; (comprimidos)&lt;br /&gt;&lt;br /&gt;A diferença é re-dícula. Viva o &lt;a href="http://www.google.com/"&gt;Google&lt;/a&gt;!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6966139231465036155-7510073580435459330?l=froskie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://froskie.blogspot.com/feeds/7510073580435459330/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6966139231465036155&amp;postID=7510073580435459330' title='3 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/7510073580435459330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/7510073580435459330'/><link rel='alternate' type='text/html' href='http://froskie.blogspot.com/2008/03/javascript-e-compresso.html' title='Javascript e compressão...'/><author><name>Gust@vo</name><uri>http://www.blogger.com/profile/13831448828604239113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6966139231465036155.post-5305994874109464346</id><published>2008-03-07T11:30:00.000-08:00</published><updated>2008-03-27T06:13:52.444-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AS3'/><category scheme='http://www.blogger.com/atom/ns#' term='Flash'/><title type='text'>removeChild e setTimeout: solução</title><content type='html'>Bom, aparentemente é necessário "&lt;a href="http://www.kirupa.com/forum/showthread.php?p=2295719"&gt;eleminar todas as referências&lt;/a&gt;" do SWF carregado. Eu tentei, mas não adiantou. Ainda não entendi WTF o &lt;span style="font-weight: bold;"&gt;Garbage Collector&lt;/span&gt; funciona. A solução foi chamar uma função que executa um &lt;span style="font-weight: bold; font-style: italic;"&gt;clearTimeout&lt;/span&gt; antes de remover o SWF.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6966139231465036155-5305994874109464346?l=froskie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://froskie.blogspot.com/feeds/5305994874109464346/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6966139231465036155&amp;postID=5305994874109464346' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/5305994874109464346'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/5305994874109464346'/><link rel='alternate' type='text/html' href='http://froskie.blogspot.com/2008/03/removechild-e-settimeout-soluo.html' title='removeChild e setTimeout: solução'/><author><name>Gust@vo</name><uri>http://www.blogger.com/profile/13831448828604239113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6966139231465036155.post-526623836837273475</id><published>2008-03-07T04:43:00.000-08:00</published><updated>2008-03-27T06:14:04.444-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AS3'/><category scheme='http://www.blogger.com/atom/ns#' term='Flash'/><title type='text'>removeChild e setTimeout</title><content type='html'>Um SWF carregado &lt;span style="font-weight: bold;"&gt;externamente&lt;/span&gt; utiliza um intervalo de &lt;span style="font-weight: bold; font-style: italic;"&gt;setTimeout&lt;/span&gt; para carregar imagens. Porém, este SWF, ao ser removido via &lt;span style="font-weight: bold; font-style: italic;"&gt;removeChild&lt;/span&gt;, continua carregando as imagens. Verificado pelo Firebug. WTF?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6966139231465036155-526623836837273475?l=froskie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://froskie.blogspot.com/feeds/526623836837273475/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6966139231465036155&amp;postID=526623836837273475' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/526623836837273475'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/526623836837273475'/><link rel='alternate' type='text/html' href='http://froskie.blogspot.com/2008/03/removechild-e-settimeout.html' title='removeChild e setTimeout'/><author><name>Gust@vo</name><uri>http://www.blogger.com/profile/13831448828604239113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6966139231465036155.post-4871490356337628562</id><published>2008-03-05T12:27:00.000-08:00</published><updated>2008-03-27T06:14:26.656-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AMFPHP'/><category scheme='http://www.blogger.com/atom/ns#' term='Flash'/><title type='text'>AMFPHP e codificação</title><content type='html'>Ao tentar uma instalação padrão do &lt;span style="font-weight: bold;"&gt;AMFPHP 1.9b2&lt;/span&gt;, houveram problemas ao enviar um formulário de contato. A codificação estava em &lt;span style="font-weight: bold;"&gt;UTF-8&lt;/span&gt; e não houve alterações em &lt;span style="font-style: italic;"&gt;charset&lt;/span&gt; no arquivo &lt;span style="font-weight: bold;"&gt;gateway.php&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Solução&lt;/span&gt;: alterar a codificação do Flash.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Connection.objectEncoding = ObjectEncoding.AMF0&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6966139231465036155-4871490356337628562?l=froskie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://froskie.blogspot.com/feeds/4871490356337628562/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6966139231465036155&amp;postID=4871490356337628562' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/4871490356337628562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/4871490356337628562'/><link rel='alternate' type='text/html' href='http://froskie.blogspot.com/2008/03/amfphp-e-codificao.html' title='AMFPHP e codificação'/><author><name>Gust@vo</name><uri>http://www.blogger.com/profile/13831448828604239113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6966139231465036155.post-6117024019166183115</id><published>2008-03-05T05:14:00.000-08:00</published><updated>2008-05-05T08:41:38.910-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AS3'/><category scheme='http://www.blogger.com/atom/ns#' term='Flash'/><title type='text'>Flash AS 3 - Embed Fonts (parte 2)</title><content type='html'>Apenas lembrando que utilizar a tag &lt;span style="font-style: italic;"&gt;font&lt;/span&gt; em texto HTML é necessário apenas quando se quer utilizar mais de uma fonte &lt;span style="font-style: italic;"&gt;embedada&lt;/span&gt; no &lt;span style="font-style: italic; font-weight: bold;"&gt;Textfield&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Caso seja único, pode-se utilizar um &lt;span style="font-style: italic; font-weight: bold;"&gt;Textformat&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="javascript"&gt;var tfFormat:TextFormat = new TextFormat();&lt;br /&gt;tfFormat.font = "NomeDaFonte";&lt;br /&gt;tfFormat.sze = 11 (tamanho da fonte);&lt;br /&gt;&lt;br /&gt;Textfield.embedFonts = true;&lt;br /&gt;Textfield.setTextFormat(tfFormat);&lt;br /&gt;Textfield.text = "Teste";&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6966139231465036155-6117024019166183115?l=froskie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://froskie.blogspot.com/feeds/6117024019166183115/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6966139231465036155&amp;postID=6117024019166183115' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/6117024019166183115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/6117024019166183115'/><link rel='alternate' type='text/html' href='http://froskie.blogspot.com/2008/03/flash-as-3-embed-fonts-parte-2.html' title='Flash AS 3 - Embed Fonts (parte 2)'/><author><name>Gust@vo</name><uri>http://www.blogger.com/profile/13831448828604239113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6966139231465036155.post-1914865316455303936</id><published>2008-03-05T03:54:00.000-08:00</published><updated>2008-05-05T08:41:00.230-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AS3'/><category scheme='http://www.blogger.com/atom/ns#' term='Flash'/><title type='text'>Flash AS 3 - Embed Fonts</title><content type='html'>Pra nunca mais esquecer, eis o passo-a-passo de como incluir &lt;span style="font-weight: bold;"&gt;fontes personalizadas no Flash&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Crie um arquivo que será compartilhado por todos os outros. (fonts.swf)&lt;/li&gt;&lt;li&gt;Neste arquivo, incluia na biblioteca as fontes desejadas, deixando o nome da fonte &lt;span style="font-weight: bold;"&gt;igual o original&lt;/span&gt;.&lt;/li&gt;&lt;li&gt;Acesse o &lt;span style="font-weight: bold; font-style: italic;"&gt;linkage&lt;/span&gt; da fonte e exporte-a para &lt;span style="font-weight: bold; font-style: italic;"&gt;Actionscript&lt;/span&gt;, sem marcar a opção de &lt;span style="font-weight: bold; font-style: italic;"&gt;runtime&lt;/span&gt;.&lt;/li&gt;&lt;li&gt;Insira o seguinte código em um frame vazio neste arquivo:&lt;br /&gt;&lt;pre name="code" class="javascript"&gt;import flash.text.*;&lt;br /&gt;Font.registerFont(NomeDaClasseDaFonte1);&lt;br /&gt;Font.registerFont(NomeDaClasseDaFonte2);&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;Para cada fonte é necessário um registro.&lt;/li&gt;&lt;li&gt;Carregue o arquivo "fonts.swf" nos arquivos em que as fontes serão usadas utilizando o loader.&lt;/li&gt;&lt;li&gt;Ao terminar de carregar, basta configurar o &lt;span style="font-style: italic; font-weight: bold;"&gt;TextField&lt;/span&gt; para &lt;span style="font-style: italic;"&gt;embedar&lt;/span&gt; as fontes e inserir o texto em HTML como o nome da fonte:&lt;br /&gt;&lt;pre name="code" class="javascript"&gt;TextField.embedFonts = true;&lt;br /&gt;TextField.htmlText = "&amp;lt;font face='MinhaFonte'&amp;gt; Teste &amp;lt;/font&amp;gt;";&lt;/pre&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-weight: bold;"&gt;Problemas&lt;/span&gt; (ou &lt;span style="font-style: italic;"&gt;bugs&lt;/span&gt;) já conhecidos:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Ao utilizar este método, caso a fonte normal (em Static Text) seja utilizada, a fonte &lt;span style="font-style: italic;"&gt;embedada&lt;/span&gt; &lt;span style="font-weight: bold;"&gt;não aparece&lt;/span&gt;.&lt;/li&gt;&lt;li&gt;Fontes marcadas como &lt;span style="font-style: italic; font-weight: bold;"&gt;BitmapText&lt;/span&gt; não são utilizadas com o mesmo nome. Para visualizar o nome de todas as fontes, incluir este código no arquivo "fonts.swf":&lt;br /&gt;&lt;pre name="code" class="javascript"&gt;var aFonts:Array = Font.enumerateFonts(false);&lt;br /&gt;for(var i:int = 0; i&amp;lt;aFonts.length; i++){&lt;br /&gt;   trace(aFonts[i].fontName);&lt;br /&gt;}&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;Para utilizar fontes com &lt;span style="font-weight: bold;"&gt;variações&lt;/span&gt;, como negrito ou itálico, será necessário incluir outra fonte com esta variação marcada. No caso de uma Arial, incluir o linkage como ArialBold ou ArialItalic.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6966139231465036155-1914865316455303936?l=froskie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://froskie.blogspot.com/feeds/1914865316455303936/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6966139231465036155&amp;postID=1914865316455303936' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/1914865316455303936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/1914865316455303936'/><link rel='alternate' type='text/html' href='http://froskie.blogspot.com/2008/03/flash-as-3-embed-fonts.html' title='Flash AS 3 - Embed Fonts'/><author><name>Gust@vo</name><uri>http://www.blogger.com/profile/13831448828604239113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6966139231465036155.post-335671269779722504</id><published>2008-03-05T03:52:00.000-08:00</published><updated>2008-03-05T03:53:36.432-08:00</updated><title type='text'>Início do blog</title><content type='html'>É. Aquela mesma história de sempre: mais alguém criou um blog pra falar do que faz. Realmente uma novidade...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6966139231465036155-335671269779722504?l=froskie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://froskie.blogspot.com/feeds/335671269779722504/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6966139231465036155&amp;postID=335671269779722504' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/335671269779722504'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6966139231465036155/posts/default/335671269779722504'/><link rel='alternate' type='text/html' href='http://froskie.blogspot.com/2008/03/incio-do-blog.html' title='Início do blog'/><author><name>Gust@vo</name><uri>http://www.blogger.com/profile/13831448828604239113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
