<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>as2 &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/as2/</link>
	<description>Feed of posts on WordPress.com tagged "as2"</description>
	<pubDate>Sat, 28 Nov 2009 03:32:38 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Looking Back on AS2, Looking Forward to AS2 Restart]]></title>
<link>http://axway.wordpress.com/2009/11/21/looking-back-on-as2-looking-forward-to-as2-restart/</link>
<pubDate>Sat, 21 Nov 2009 22:00:30 +0000</pubDate>
<dc:creator>axway</dc:creator>
<guid>http://axway.wordpress.com/2009/11/21/looking-back-on-as2-looking-forward-to-as2-restart/</guid>
<description><![CDATA[Axway&#8217;s Chief Architect Dale Moberg reflects on the advent of AS2 and the new AS2 Restart. ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Axway&#8217;s Chief Architect Dale Moberg reflects on the advent of AS2 and the new AS2 Restart. </p>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/D2awgepMW_k&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/D2awgepMW_k&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Galeria de Fotos carrusel vertical XML y visualizador]]></title>
<link>http://diegoburgos.wordpress.com/2009/11/13/galeria-de-fotos-carrusel-vertical-xml-y-visualizador/</link>
<pubDate>Fri, 13 Nov 2009 04:25:27 +0000</pubDate>
<dc:creator>diegoburgos</dc:creator>
<guid>http://diegoburgos.wordpress.com/2009/11/13/galeria-de-fotos-carrusel-vertical-xml-y-visualizador/</guid>
<description><![CDATA[Galeria de Fotos carrusel vertical XML y visualizador, como dice el titulo visualizador llamo a que ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Galeria de Fotos carrusel vertical XML y visualizador, como dice el titulo visualizador llamo a que cuando se hace un clic en la foto miniatura, no abre una URL como en todos los casos restantes que tengo subidos, sino que Amplia la foto y luego alli podemos hacer clic para ver la URL.</p>
<p>Es Un Mersh entre 2 galerias de fotos y dejo aqui el FLA en Action Script 2</p>
<p>http://www.controlz.com.ar/di3blog/as2/carrusel_vertical_visualizador.rar</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Carrusel de Fotos en Flash 8 as2]]></title>
<link>http://diegoburgos.wordpress.com/2009/11/13/carrusel-de-fotos-en-flash-8-as2/</link>
<pubDate>Fri, 13 Nov 2009 02:04:05 +0000</pubDate>
<dc:creator>diegoburgos</dc:creator>
<guid>http://diegoburgos.wordpress.com/2009/11/13/carrusel-de-fotos-en-flash-8-as2/</guid>
<description><![CDATA[Aqui voy a dejar 2 tipos de carrosul en flash 8 en Action Script 2. Uno es creado por http://www.tut]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Aqui voy a dejar 2 tipos de carrosul en flash 8 en Action Script 2. Uno es creado por http://www.tutoriales-flash.com y el otro por Flashmo.com</p>
<p>Ambos trabajan con XML y action Script 2.</p>
<p>Para descargar aqui:</p>
<p><a href="www.controlz.com.ar/di3blog/as2/galeria_xml_thumbnails.zip">flashmo</a></p>
<p><a href="www.controlz.com.ar/di3blog/as2/carrusel.fla">Tutoriales</a></p>
<p><!--more--></p>
<p>tutorial de como hacerlo:</p>
<p><strong>COMO HACERLO.</strong><br />
Las imágenes se van a cargar en la película mediante un <strong>archivo XML</strong> como el empleado en el <a href="http://www.tutoriales-flash.com/tutorial.php?id_tuto=29" target="_blank">Tutorial para hacer una galería de imágenes con carga dinámica en Flash</a>. Es decir, un archivo XML con <a href="http://www.tutoriales-flash.com/verMiniaturas_tutos.xml" target="_blank">esta estructura</a>.</p>
<p>Los pasos básicos este tutorial son los siguientes:<br />
<img src="http://www.tutoriales-flash.com/img/pasos_carrusel.gif" alt="Pasos carrusel imágenes" width="700" height="143" /></p>
<p>Todo el código de la película está en el <strong>primer fotograma</strong>. Vamos a ir comentándolo de arriba a abajo por bloques. Al final del tutorial podéis verlo todo seguido y descargaros el archivo .fla.</p>
<p>Ajustes para la carga del xml.</p>
<p>System.useCodepage = true;<br />
XML.prototype.ignoreWhite = true;</p>
<p>Para no tener que escribir la ruta completa de las clases que usaremos más adelante.</p>
<p>import flash.display.BitmapData;<br />
import flash.geom.Rectangle;<br />
import flash.geom.Matrix;</p>
<p>Éstos son los parámetros personalizables. Si no queréis comeros la olla con el funcionamiento del ejemplo y simplemente buscáis un carrusel para poner en vuestra web, éstos son los parámetros que necesitáis definir.<br />
-<strong> ancho_carrusel</strong>. Ancho total en px que ocupará el carrusel.<br />
- <strong>ancho_miniatura</strong>. Ancho en px de cada miniatura del carrusel en su punto máximo al pasar por el centro del carrusel.<br />
- <strong>v_giro</strong>. Número mayor de cero que controla la velocidad de giro de manera inversa, es decir, para valores más bajos girará más rápido.<br />
- <strong>reflejar</strong>. Valor booleano que indica si se proyecta el reflejo del carrusel o no.<br />
- <strong>color_fondo</strong>. Color de fondo, es necesario para que el desvanecimiento del reflejo quede bien en el caso de que reflejar=true.<br />
- <strong>x0</strong>. Posición horizontal en el escenario del centro del carrusel.<br />
- <strong>y0</strong>. Posición vertical en el escenario de la parte inferior del carrusel.<br />
- <strong>url_fotos</strong>. La url de nuestro archivo XML.<br />
- <strong>dir_minis</strong>. Directorio donde están los archivos de las miniaturas.</p>
<p>var ancho_carrusel:Number = 700;<br />
var ancho_miniatura:Number = 90;<br />
var v_giro:Number=30;<br />
var reflejar:Boolean = true;<br />
var color_fondo:Number = 0xF4F4F4;<br />
var x0:Number = 365;<br />
var y0:Number = 185;<br />
var url_fotos:String=&#8221;asp/verMiniaturas_tutos.asp&#8221;;<br />
var dir_minis:String=&#8221;miniaturas/&#8221;;</p>
<p>Llegado a este punto conviene indicar que para conseguir que el efecto de reflejo quede bien, todas las imágenes han de tener las <strong>mismas dimensiones</strong> o mantener el mismo ratio alto/alto. Asímismo, los parámetros ancho_carrusel y ancho_miniatura deberán presentar <strong>valores adecuados</strong> para mostrar correctamente el carrusel según el número de imágenes a rotar.</p>
<p>A continuación, se define una serie de variables que se van a emplear en la película.<br />
- <strong>IMG_array</strong>. Matriz que almacena la info del XML, esto ocurre dentro de la función <strong>cargarMiniaturas()</strong> como se verá más adelante.<br />
- <strong>incre</strong>. Velocidad angular de rotación del carrusel, depende la posición del puntero respecto al propio carrusel.<br />
- <strong>num_fotos</strong>. Variable que almacena el número de fotos del carrusel.<br />
- <strong>num_fotos_cargadas</strong>. Variable que indica el número de miniaturas cargadas.<br />
- <strong>radio</strong>. Radio de giro del carrusel, queda definido por los valores de los parámetros personalizables anteriores.</p>
<p>var IMG_array:Array;<br />
var incre:Number = 0;<br />
var num_fotos:Number;<br />
var num_fotos_cargadas:Number;<br />
var radio:Number = (ancho_carrusel-ancho_miniatura-10)*0.5;</p>
<p>Defino el <strong>objeto XML</strong> que recibirá los datos, la ruta de la carga y cual es la función  que se ejecutará tras la carga.</p>
<p>var miniaturasXML:XML = new XML();<br />
miniaturasXML.onLoad = cargarMiniaturas;<br />
miniaturasXML.load(url_fotos);</p>
<p>La función cargarMiniaturas() es la elegida. Primero asignamos al array <strong>IMG_array</strong>, antes definido, los nodos del XML que contienen la información de cada archivo de imagen. Así, ya podemos establecer el valor de <strong>num_fotos</strong> que es la longitud del array. Si, por la razón que sea, no queremos emplear todas las imágenes que retorna el XML podemos <strong>definir manualmente</strong> el valor de num_fotos. En nuestro caso estamos empleando las propias miniaturas de los tutoriales de este sitio web, y como son unas cuantas, hemos decidido coger sólo las 17 primeras, por eso hemos comentado la línea que hay en negrita en el código para que no se ejecute y hemos establecido un valor de 17 directamente.</p>
<p>Creo estos clips vacíos:<br />
- <strong>contenedor_mc</strong>. Este clip será el de nivel superior en el carrusel, si se aplica el reflejo, el objeto BitmapData necesario se basará en él.<br />
- <strong>carrusel_miniaturas_mc</strong>. Este clip creado dentro de contenedor_mc alojará los clips de las miniaturas.</p>
<p>Después algunas operaciones de posicionamiento y ocultamiento en algunos de estos movieclips, inicializamos el contador de imágenes cargadas y nos recorremos el array con la info con un bucle for. Dentro del bucle invocamos la función <strong>crearMiniatura()</strong> pasando dos parámetros: el nombre del archivo a cargar y un valor numérico incremental que va a definir la posición de cada imagen dentro del círculo del carrusel. Esta función (que definiremos más adelante en el código) se va a encargar de cargar la imagen y darle el tamaño deseado.</p>
<p>function cargarMiniaturas():Void {<br />
IMG_array = this.firstChild.childNodes;<br />
<strong>// num_fotos = IMG_array.length;</strong><br />
num_fotos = 17;<br />
var contenedor:MovieClip = _root.createEmptyMovieClip(&#8220;contenedor_mc&#8221;, _root.getNextHighestDepth());<br />
contenedor._y = y0;<br />
contenedor._visible = false;<br />
var carrusel:MovieClip = contenedor.createEmptyMovieClip(&#8220;carrusel_miniaturas_mc&#8221;, contenedor.getNextHighestDepth());<br />
carrusel._x = x0;<br />
num_fotos_cargadas = 0;<br />
for (var k:Number = 0; k&#60;num_fotos; k++) {<br />
crearMiniatura(IMG_array[k].attributes.nombre,k);<br />
}<br />
}</p>
<p>La función <strong>crearMiniatura()</strong>, como ya hemos dicho anteriormente, se encarga de cargar cada una de las miniaturas y reescalarlas. Creamos un clip vacío llamado <strong>foto_0</strong>, <strong>foto_1</strong>,&#8230;. y dentro de éste otro llamado <strong>foto</strong> que es donde cargaremos la imagen con un objeto de la clase <strong>MovieClipLoader</strong>. En el tutorial <a href="http://www.tutoriales-flash.com/tutorial.php?id_tuto=3" target="_blank">Carga de clips externos en Flash. La clase MovieClipLoader</a> se explica el uso de esta clase.</p>
<p>Cada vez que se completa la carga de una imagen y ya está disponible se le asignan las acciones a ejecutar al hacer clic sobe ella. En nuestro caso, abre la página del tutorial correspondiente, menos en el caso de que la miniatura sea la del logo con la efe, que abre la página de principal de nuestro sitio web.</p>
<p>Se comprueba si están cargadas todas, en caso afirmativo, se ejecuta la función <strong>girar_carrusel()</strong> con un retardo de medio segundo. A cada miniatura se le asigna como propiedad orden el parámetro que recibe de la función.</p>
<p>function crearMiniatura(ruta:String, orden:Number):Void {<br />
var clip:MovieClip = contenedor_mc.carrusel_miniaturas_mc.createEmptyMovieClip(&#8220;foto_&#8221;+orden, contenedor_mc.carrusel_miniaturas_mc.getNextHighestDepth());<br />
var dentro:MovieClip = clip.createEmptyMovieClip(&#8220;foto&#8221;, clip.getNextHighestDepth());<br />
clip.orden = orden;<br />
var mi_mcl:MovieClipLoader = new MovieClipLoader();<br />
var miListener:Object = new Object();<br />
mi_mcl.addListener(miListener);<br />
mi_mcl.loadClip(dir_minis+ruta, dentro);<br />
miListener.onLoadStart = function(target_mc:MovieClip) {<br />
target_mc._alpha = 0;<br />
};<br />
miListener.onLoadProgress = function(target_mc:MovieClip, bytesLoaded:Number, bytesTotal:Number) {<br />
<strong>// aquí podéis poner acciones para mostrar una precarga</strong><br />
};<br />
miListener.onLoadInit = function(target_mc:MovieClip) {<br />
var coef:Number = target_mc._width/ancho_miniatura;<br />
target_mc._height = int(target_mc._height/coef);<br />
target_mc._width = ancho_miniatura;<br />
target_mc._alpha = 100;<br />
target_mc._x = -(int(target_mc._width*0.5));<br />
target_mc._y = 0;<br />
<strong> // función que ejecuta al pulsar cada miniatura</strong><br />
target_mc.onRelease=function(){<br />
if (ruta.indexOf(&#8220;.gif&#8221;) != -1) {<br />
var temp_array:Array = ruta.split(&#8220;.gif&#8221;);<br />
getURL(&#8220;http://www.tutoriales-flash.com/tutorial.php?id_tuto=&#8221;+temp_array[0],&#8221;_blank&#8221;);<br />
} else {<br />
getURL(&#8220;http://www.tutoriales-flash.com&#8221;_blank&#8221;);<br />
}<br />
num_fotos_cargadas++;<br />
if (num_fotos_cargadas&#62;=num_fotos) {<br />
setTimeout(_root.girar_carrusel, 500);<br />
}<br />
};<br />
}</p>
<p>La función <strong>girar_carrusel() </strong>se invoca cuando se hayan cargado todas las miniaturas y se encarga como su propio nombre indica de girar el carrusel. Hemos dividido el código en <strong>dos bloques</strong> para facilitar la comprensión de éste.</p>
<p>La programación del <strong>bloque 1</strong> se va a ejecutar sólo una vez en la película, en el momento de ejecutar la función, y básicamente comprende las rutinas necesarias para crear el efecto de espejo. Primero se crea el clip vacío <strong>reflejo_miniaturas_mc</strong> que es donde se duplicará el carrusel reflejado verticalmente. Después crearemos el clip vacío <strong>sombreado_mc</strong> por encima del anterior en que dibujaremos con la <strong>API de dibujo</strong> de Flash un rectángulo con un relleno degradado usando únicamente el valor de la variable <strong>color_fondo</strong> y distintos niveles de transparencia (alpha) del 0 a 100. Como se ve, hemos empleado el método <strong>createGradientBox</strong> de la clase <strong>Matrix</strong>, este método es especial para la generación de rellenos degradados, ya os prepararemos un tutorial o un truco explicando su aplicación, mientras tanto consultad la documentación de Flash u otras fuentes. Para finalizar este primer bloque, reposicionamos adecuadamente estos clips creados.</p>
<p>El contenido del <strong>bloque 2</strong> se va a ejecutar en cada fotograma de giro del carrusel. En primer lugar, se calcula un nuevo valor de la velocidad angular <strong>incre</strong> en función de la posición horizontal del puntero respecto al centro horizontal del carrusel <strong>x0</strong> y el valor de la variable <strong>v_giro</strong> definida al principio del código. Con este nuevo valor de incre establecido, ejecutamos el método girar() de cada una de las miniaturas por medio de un bucle for. Este método que escalará y posicionará cada miniatura se definirá más tarde.</p>
<p>A continuación de recorrernos el bucle, comprobamos de nuevo el valor de la variable reflejar, si es verdadero (true) actualizo el contenido del clip <strong>reflejo_miniaturas_mc</strong> con la imagen duplicada y reflejada del carrusel del fotograma actual. Esto lo hacemos con la ayuda de una instancia de la clase <strong>BitmapData</strong>. Primero copiamos el contenido en el objeto <strong>bmp </strong>y después lo adjuntamos (attachemanos suena mejor?) a reflejo_miniaturas_mc que como tiene la propiedad _yscale=-100 se ve reflejado respecto al original.</p>
<p>function girar_carrusel() {<br />
<strong>// inicio bloque 1 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</strong><br />
contenedor_mc._y = y0-contenedor_mc._height;<br />
if (reflejar) {<br />
var reflejo:MovieClip = _root.createEmptyMovieClip(&#8220;reflejo_miniaturas_mc&#8221;, _root.getNextHighestDepth());<br />
reflejo._yscale = -100;<br />
reflejo._y = contenedor_mc._y+contenedor_mc._height*2+1;<br />
var myMatrix:Matrix = new Matrix();<br />
myMatrix.createGradientBox(ancho_carrusel,contenedor_mc._height,Math.PI/2,0,-15);<br />
var sombreado:MovieClip = _root.createEmptyMovieClip(&#8220;sombreado_mc&#8221;, _root.getNextHighestDepth());<br />
var colors:Array = [color_fondo, color_fondo, color_fondo];<br />
var alphas:Array = [40, 90, 100];<br />
var ratios:Array = [0, 160, 255];<br />
sombreado.beginGradientFill(&#8220;linear&#8221;,colors,alphas,ratios,myMatrix);<br />
sombreado.moveTo(0,0);<br />
sombreado.lineTo(ancho_carrusel,0);<br />
sombreado.lineTo(ancho_carrusel,contenedor_mc._height);<br />
sombreado.lineTo(0,contenedor_mc._height);<br />
sombreado.lineTo(0,0);<br />
sombreado._y = y0+1;<br />
sombreado._x = x0-sombreado._width*0.5;<br />
}<br />
<strong>// fin bloque 1 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</strong><br />
<strong>// inicio bloque 2 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</strong><br />
delete contenedor_mc.onEnterFrame;<br />
contenedor_mc.onEnterFrame = function() {<br />
incre += (_root._xmouse-x0)/_root.v_giro;<br />
for (var k:Number = 0; k&#60;=num_fotos; k++) {<br />
this.carrusel_miniaturas_mc["foto_"+k].girar();<br />
}<br />
if (reflejar){<br />
var bmp:BitmapData = new BitmapData(ancho_carrusel+100, this._height, true, 0&#215;00000000);<br />
var myRectangle:Rectangle = new Rectangle(0, 0, ancho_carrusel+100, this._height);<br />
bmp.draw(this, new Matrix(), new ColorTransform(), &#8220;normal&#8221;, myRectangle,true);<br />
_root.reflejo_miniaturas_mc.attachBitmap(bmp, 1, &#8220;auto&#8221;, true);<br />
}<br />
};<br />
contenedor_mc._visible = true;<br />
<strong>// fin bloque 2 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</strong><br />
}</p>
<p>El método <strong>girar()</strong> se va definir empleando la propiedad <strong>prototype</strong>. Esto quiere decir que este método va a estar disponible para todas las instancias de una clase, en nuestro caso, la clase <strong>MovieClip</strong>. En función de la velocidad <strong>incre</strong>, del valor de la propiedad <strong>orden</strong> de la miniatura y del número de fotos totales,  <strong>num_fotos</strong>, cada miniatura se posicionará en un angulo definido en la variable <strong>degrees</strong> dentro del círculo del carrusel.</p>
<p>MovieClip.prototype.girar = function() {<br />
var degrees:Number = _root.incre+(360*this.orden/num_fotos);<br />
var radians:Number = degrees*Math.PI/180;<br />
if (Math.sin(radians)&#60;0) {<br />
this._alpha = 15;<br />
} else {<br />
this._alpha = 100;<br />
}<br />
this._x = radio*Math.cos(radians);<br />
this._xscale = (1-Math.cos(radians+Math.PI*0.5))*99-99;<br />
this.swapDepths(int(this._xscale*10));<br />
};</p>
<p>Ahora que ya tenéis el carrusel funcionando es el momento de que adaptéis el código a vuestro gusto. Aquí tenéis el archivo .fla del ejemplo, el resto, el xml de las imágenes y las imágenes en sí poned las vuestros. <a href="http://www.tutoriales-flash.com/files/carrusel.fla" target="_blank">carrusel.fla</a></p>
<p>&#160;</p>
<div id="_mcePaste" style="overflow:hidden;position:absolute;left:-10000px;top:0;width:1px;height:1px;">www.controlz.com.ar/di3blog/as2/galeria_xml_thumbnails.zip</div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Tutorial Galeria de fotos XML Flash as2]]></title>
<link>http://diegoburgos.wordpress.com/2009/11/13/tutorial-galeria-de-fotos-xml-flash-as2/</link>
<pubDate>Fri, 13 Nov 2009 01:45:12 +0000</pubDate>
<dc:creator>diegoburgos</dc:creator>
<guid>http://diegoburgos.wordpress.com/2009/11/13/tutorial-galeria-de-fotos-xml-flash-as2/</guid>
<description><![CDATA[Encontre este link que dejo a disposicion, me parecio muy bueno como muestra la creacion de funcione]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Encontre este link que dejo a disposicion, me parecio muy bueno como muestra la creacion de funciones y seguro que me ahorrara mucho tiempo cuando necesite algo similar.</p>
<p>Creacion de una Galeria de fotos flash con XML en Action Script 2http://www.tutoriales-flash.com/tutorial.php?id_tuto=29</p>
<p>Detalle:</p>
<p>Galeria de foto flash 8, AS2, XML, miniatura o thumbnails y foto grande.</p>
<p><a href="http://www.controlz.com.ar/di3blog/as2/galeria_xml_thumbnails.zip">Link de descarga</a></p>
<p>&#160;</p>
<p><!--more--></p>
<p>&#160;</p>
<p>Aqui esta el Tutorial, pero por supuesto la fuente es la puesta arriba&#8230;</p>
<p><strong>COMO HACERLO.</strong><br />
Como veremos más delante, este tutorial es el resultado de juntar varios tutoriales existentes en tutoriales-flash.com.</p>
<p>Lo primero que hay que hacer es<strong> crear las miniaturas</strong> en nuestro programa de manipulación de imágenes preferido. Tanto las miniaturas como los originales deben estar en formato <strong>JPEG no progresivo</strong>, PNG o GIF, de lo contrario, Flash Player no podrá cargarlas.</p>
<p>Una vez  que tengamos listos todos los JPEG, los metemos en dos directorios llamados <strong>originales</strong> y <strong>minis</strong>. Es importante que cada imagen tenga el <strong>mismo nombre de archivo</strong> en el original y en la miniatura.</p>
<p>Después de esto, preparamos el archivo XML que nos va a dar la lista de fotos.<br />
En este ejemplo se trata del archivo <a href="http://www.tutoriales-flash.com/php/verMiniaturas.xml" target="_blank">http://www.tutoriales-flash.com/php/verMiniaturas.xml</a> que podéis visualizar. Para aprender como enviarle a Flash un<strong> XML con la lista de archivos</strong> de determinado directorio tenéis disponible estos <strong>otros tutoriales</strong>.</p>
<p><a href="http://www.tutoriales-flash.com/tutorial.php?id_tuto=10">Recepción de datos externos en Flash. La clase XML.</a></p>
<p><a href="http://www.tutoriales-flash.com/tutorial.php?id_tuto=22">Como leer los archivos que hay en una carpeta del servidor con ASP y pasarlo a Flash.</a></p>
<p><a href="http://www.flash-food.com/leer-los-archivos-de-un-directorio-del-servidor-con-php/" target="_blank">Como leer los archivos que hay en una carpeta del servidor con PHP.</a></p>
<p>Para el resto del tutorial no saldremos de  Flash. Todo el código del ejemplo va en el<strong> primer fotograma</strong> salvo unas pequeñas acciones en los botones de pasar página. Vamos a ir poniendo el código de este primer fotograma en bloques para comentarlos.</p>
<p><strong>// acciones en fotograma 1</strong><br />
stop();<br />
System.useCodepage = true;<br />
XML.prototype.ignoreWhite = true;<br />
import mx.transitions.Tween;<br />
<strong>// separacion-&#62; distancia entre las imágenes<br />
// tanto horizontal como vertical</strong><br />
var separacion:Number = 116;<br />
<strong>// vbles para pasar de página</strong><br />
var pagina_actual:Number = 1;<br />
var num_paginas:Number;<br />
<strong>// array donde metemos los elementos del XML</strong><br />
var IMG_array:Array;<br />
<strong>// objeto XML que carga la lista de miniaturas</strong></p>
<p>Hasta aquí hemos definido una serie de <strong>ajustes iniciales</strong>.</p>
<p>var miniaturasXML:XML = new XML();<br />
miniaturasXML.onLoad = mostrarMiniaturas;<br />
miniaturasXML.load(&#8220;/asp/verMiniaturas.asp&#8221;);<br />
<strong>// funcion que se ejecuta al cargar el XML</strong><br />
function mostrarMiniaturas():Void {<br />
<strong>// contadores de columna y fila para<br />
// disponer las miniaturas</strong><br />
var fila:Number = 0;<br />
var col:Number = 0;<br />
<strong>// paso los datos del XML al array</strong><br />
IMG_array = this.firstChild.childNodes;<br />
<strong>// como caben 12 fotos por página podemos<br />
// saber el núm de páginas necesarias para<br />
// mostrar todas las fotos</strong><br />
num_paginas = Math.ceil(IMG_array.length/12);<br />
<strong>// creo el clip donde meteremos todas las miniaturas</strong><br />
var lienzo:MovieClip = _root.createEmptyMovieClip(&#8220;lienzo_miniaturas&#8221;, _root.getNextHighestDepth());<br />
<strong>// lo posiciono donde nos conviene</strong><br />
lienzo._x = 19;<br />
lienzo._y = 100;<br />
<strong>// y lo enmascaro con el clip situado en la<br />
// capa mascara. se enmascara para hacer el deslizamiento del<br />
// clip cuando tengamos muchas miniaturas y no entren todas a<br />
// la vez en pantalla (nuestro caso)</strong><br />
lienzo.setMask(mascara_mc);<br />
<strong>// recorro el array que contiene la lista con los nombres de<br />
// los archivos de las miniaturas e invoco la función crearMiniatura<br />
// que es la que carga la imagen, la recoloca, le pone un pequeño<br />
// marco y le asigna las acciones para verla ampliada</strong><br />
for (var k:Number = 0; IMG_array[k]; k++) {<br />
<strong>// extraigo la ruta del archivo de imagen<br />
//var ruta:String = &#8220;minis/&#8221;+IMG_array[k].attributes.nombre;<br />
// como sólo tengo tres columnas, cuando llegue a<br />
// la tercera, avanzo una fila y retorno a la primera</strong><br />
if (col&#62;2) {<br />
col = 0;<br />
fila++;<br />
}<br />
<strong>// creo la miniatura. extraigo la ruta del archivo de imagen<br />
// y la paso como tercer parámetro</strong><br />
crearMiniatura(col, fila, IMG_array[k].attributes.nombre);<br />
col++;<br />
}<br />
}</p>
<p>En el bloque anterior hemos definido el objeto XML que va a recibir los datos y también la función encargada de procesarlos.</p>
<p>function crearMiniatura(columnaF:Number, filaF:Number, ruta:String) {<br />
<strong>// bajo_clip es el clip que contendrá el marco de la miniatura</strong><br />
var bajo_clip:MovieClip = lienzo_miniaturas.createEmptyMovieClip(&#8220;bajo_&#8221;+filaF+&#8221;_&#8221;+columnaF, lienzo_miniaturas.getNextHighestDepth());<br />
<strong>// clip contendrá la imagen</strong><br />
var clip:MovieClip = lienzo_miniaturas.createEmptyMovieClip(&#8220;foto_&#8221;+filaF+&#8221;_&#8221;+columnaF, lienzo_miniaturas.getNextHighestDepth());<br />
<strong>// para cargar la miniatura definimos un objeto MovieClipLoader<br />
// y un objeto detector de eventos</strong><br />
var mi_mcl:MovieClipLoader = new MovieClipLoader();<br />
var miListener:Object = new Object();<br />
mi_mcl.addListener(miListener);<br />
clip.valor = &#8220;aaa&#8221;;<br />
<strong>// cargamos la imagen</strong><br />
mi_mcl.loadClip(&#8220;/minis/&#8221;+ruta, clip);<br />
miListener.onLoadStart = function(target_mc:MovieClip) {<br />
<strong>// cuando comienza la carga de la imagen<br />
// ponemos al _alpha a 0</strong><br />
target_mc._alpha = 0;<br />
};<br />
miListener.onLoadProgress = function(target_mc:MovieClip, bytesLoaded:Number, bytesTotal:Number) {<br />
<strong>// aquí podéis poner acciones para mostrar una precarga,<br />
// este caso no lo hemos considerado oportuno</strong><br />
};<br />
<strong>// cuando ya se ha completado la carga y tenemos disponible el clip </strong><br />
miListener.onLoadInit = function(target_mc:MovieClip) {<br />
<strong>// recolocamos la imagen (todavía está oculta, con _alpha=0)</strong><br />
target_mc._x = (separacion*columnaF)+(100-target_mc._width)*0.5;<br />
target_mc._y = (separacion*filaF)+(100-target_mc._height)*0.5;<br />
<strong>// recolocamos el marco que rodea a la foto</strong><br />
bajo_clip._x = target_mc._x-5;<br />
bajo_clip._y = target_mc._y-5;<br />
<strong>// dibujamos el marco</strong><br />
with (bajo_clip) {<br />
beginFill(0xffffff);<br />
lineStyle(1, 0xEEEEEE, 100);<br />
lineTo(target_mc._width+10, 0);<br />
lineTo(target_mc._width+10, target_mc._height+10);<br />
lineTo(0, target_mc._height+10);<br />
lineTo(0, 0);<br />
endFill();<br />
}<br />
<strong>// al pinchar sobre el área del marco,<br />
// mostramos la foto grande con la función<br />
// verFotoGrande</strong><br />
bajo_clip.onRelease = function() {<br />
verFotoGrande(ruta);<br />
};<br />
<strong>// muestro la miniatura animando el _alpha hasta 100</strong><br />
var myTween:Tween = new Tween(target_mc, &#8220;_alpha&#8221;, mx.transitions.easing.Regular.easeOut, 0, 100, 2, true);<br />
};<br />
}</p>
<p>Hasta aquí  hemos definido la función que crea cada una de las miniaturas. En <strong>este tutoria</strong>l tenéis material de apoyo.</p>
<p><a href="http://www.tutoriales-flash.com/tutorial.php?id_tuto=3">Carga de clips externos en Flash. La clase MovieClipLoader.</a></p>
<p>function verFotoGrande(ruta:String) {<br />
clearInterval(intervaloColor);<br />
<strong>// creo el clip donde irá la foto grande en una profundidad fija<br />
// para que se reemplace cada vez que pincho en una miniatura</strong><br />
var grande:MovieClip = _root.createEmptyMovieClip(&#8220;grande_mc&#8221;, 2*IMG_array.length+11);<br />
<strong>// igual con el clip que contendrá el marco</strong><br />
var bajo_grande:MovieClip = _root.createEmptyMovieClip(&#8220;bajo_grande_mc&#8221;, 2*IMG_array.length+10);<br />
<strong>// posición vertical fija</strong><br />
grande._y = 100;<br />
<strong>// para cargar la foto grnade definimos otro objeto MovieClipLoader<br />
// y otro objeto detector de eventos</strong><br />
var grande_mcl:MovieClipLoader = new MovieClipLoader();<br />
var grandeListener:Object = new Object();<br />
grande_mcl.addListener(grandeListener);<br />
<strong>// cargo la foto grande</strong><br />
grande_mcl.loadClip(&#8220;/originales/&#8221;+ruta, grande);<br />
grandeListener.onLoadStart = function(target_mc:MovieClip) {<br />
<strong>// aplico una transformación de color que deja el clip<br />
// tintado de blanco</strong><br />
myColor = new Color(target_mc);<br />
myColorTransform = new Object();<br />
myColorTransform = {ra:100, rb:255, ga:100, gb:255, ba:100, bb:255, aa:100, ab:0};<br />
myColor.setTransform(myColorTransform);</p>
<p>};<br />
grandeListener.onLoadProgress = function(target_mc:MovieClip, bytesLoaded:Number, bytesTotal:Number) {<br />
<strong>// aquí podéis poner acciones para mostrar una precarga,<br />
// este caso no lo hemos considerado oportuno</strong><br />
};<br />
grandeListener.onLoadInit = function(target_mc:MovieClip) {<br />
<strong>// recolocamos la imagen (todavía está oculta)</strong><br />
target_mc._x = 382+Math.round((315-target_mc._width)*0.5);<br />
<strong>// recolocamos el marco que rodea a la foto grande</strong><br />
bajo_grande._x = target_mc._x-5;<br />
bajo_grande._y = target_mc._y-5;<br />
<strong>// dibujamos el marco</strong><br />
with (bajo_grande) {<br />
beginFill(0xffffff);<br />
lineStyle(1, 0xEEEEEE, 100);<br />
lineTo(target_mc._width+10, 0);<br />
lineTo(target_mc._width+10, target_mc._height+10);<br />
lineTo(0, target_mc._height+10);<br />
lineTo(0, 0);<br />
endFill();<br />
}<br />
<strong>// con estas rutinas hacemos la transición de color desde el blanco</strong><br />
var indiceColor:Number = 255;<br />
intervaloColor = setInterval(cambiarColor, 10);<br />
function cambiarColor() {<br />
myColorTransform = {ra:100, rb:indiceColor, ga:100, gb:indiceColor, ba:100, bb:indiceColor, aa:100, ab:0};<br />
myColor.setTransform(myColorTransform);<br />
indiceColor -= 2;<br />
if (indiceColor == -1) {<br />
clearInterval(intervaloColor);<br />
}<br />
}<br />
};<br />
}</p>
<p>Ya hemos creado la foto grande. Para hacer las transición de la foto grande hemos usado el método setTransform de la clase Color. Es este otro tutorial se explica un ejemplo de su uso.</p>
<p><a href="http://www.tutoriales-flash.com/tutorial.php?id_tuto=28">Tutorial para cambiar el color de un clip en Flash, usando ActionScript.</a></p>
<p><strong>// con esta función desplazo el lienzo de las miniaturas para<br />
// pasar de página</strong><br />
function moverLienzo(posY:Number):Void {<br />
var myTween:Tween = new Tween(lienzo_miniaturas, &#8220;_y&#8221;, mx.transitions.easing.Regular.easeOut, lienzo_miniaturas._y, posY, 1, true);<br />
}<br />
<strong>// deshabilito de inicio el botón de volver atrás<br />
// ya que se muestra la página 1</strong><br />
pMenos_btn.enabled = false;<br />
pMenos_btn._alpha = 30;</p>
<p>Por último queda el código de los botones de pasar página.<br />
En <strong>página</strong>-</p>
<p>on (release) {<br />
<strong>// activo el botón página+</strong><br />
pMas_btn.enabled = true;<br />
pMas_btn._alpha = 100;<br />
moverLienzo(100-(pagina_actual-2)*464);<br />
pagina_actual&#8211;;<br />
<strong>// si llego a la primera página<br />
// ya no puedo retroceder, por tanto<br />
// deshabilito el botón</strong><br />
if (pagina_actual == 1) {<br />
pMenos_btn.enabled = false;<br />
pMenos_btn._alpha = 30;<br />
}<br />
}</p>
<p>En <strong>página+</strong></p>
<p>on (release) {<br />
<strong>// activo el botón página-</strong><br />
pMenos_btn.enabled = true;<br />
pMenos_btn._alpha = 100;<br />
moverLienzo(100-(pagina_actual*464));<br />
pagina_actual++;<br />
<strong>// si llego a la última página<br />
// ya no puedo avanzar, por tanto<br />
// deshabilito el botón</strong><br />
if (pagina_actual == num_paginas) {<br />
pMas_btn.enabled = false;<br />
pMas_btn._alpha = 30;<br />
}<br />
}</p>
<p>En este tutorial os hemos enseñado los pasos para hacer una galería de fotos, ahora es el momento de experimentar con código e introducir vuestras propias variaciones sobre el ejemplo.</p>
<p>Podéis descargaros este mismo ejemplo y ver cómo funciona: <a href="http://www.tutoriales-flash.com/files/galeria.zip">galeria.zip</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Why AS2 Restart matters for very large file transfers]]></title>
<link>http://blogs.inovis.com/2009/11/11/why-as2-restart-matters-for-very-large-file-transfers/</link>
<pubDate>Wed, 11 Nov 2009 18:31:39 +0000</pubDate>
<dc:creator>Meg Sewell</dc:creator>
<guid>http://blogs.inovis.com/2009/11/11/why-as2-restart-matters-for-very-large-file-transfers/</guid>
<description><![CDATA[Peter Corliss is a Product Manager at Inovis and is responsible for the product strategy and plannin]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Peter Corliss is a Product Manager at Inovis and is responsible for the  product strategy and planning, identifying market requirements and defining  specific features for our BizManager line of products. He is also a key  member of the agile development team for BizManager. Peter recently took out some time to explain the new specification, <a href="http://www.drummondgroup.com/html-v2/pr_11_11_09.html" target="_blank">AS2 Restart</a>.</p>
<p><img class="size-full wp-image-2108 aligncenter" title="as2restart" src="http://inovis.wordpress.com/files/2009/11/as2restart.jpg" alt="as2restart" width="250" height="112" /><!--more--></p>
<p>Q: What is AS2 Restart?</p>
<p>AS2 Restart enables companies to leverage the security and features of the AS2 protocol, while transferring very large files over networks which can be subject to connection timeouts and other failures.</p>
<p>Q: Why is it needed?</p>
<p>AS2 Restart is needed due to the increasing size of data being exchanged over networks.  These critical files – often in excess of hundreds of megabytes or even gigabytes &#8211; can be subjected to inconsistencies within connections, and the time impact of potentially having to resend from start isn’t acceptable.</p>
<p>Q: How was the idea for AS2 Restart conceived and what was the process for creating it?</p>
<p>During the initial round of interoperability testing for Chunked Transfer support as an optional AS2 profile, it was identified that simply chunking data would not be sufficient to overcome the issues with very large file transfers.  Inovis played a key role in defining the resulting AS2 Restart feature through submitting initial drafts and helping to refine the final protocol update proposal.</p>
<p>Q: Which companies can benefit from AS2 Restart the most?</p>
<p>As more industries adopt Managed File Transfer applications as part of their integral  business practice, the resulting expansion of typical data content into larger and less compressible formats; image-laden catalog data, marketing .pdf presentations, large medical images, and audio/video files are among the types of content that can now more reliably leverage the benefits of AS2.</p>
<p>Q: How will AS2 Restart affect business going forward?</p>
<p>AS2 is already a defacto standard for B2B data transfers.  EDI and XML data can now be alongside less traditional data formats which are becoming critical aspects of business communications as network bandwidth, and the size of data crossing over it, continues to increase.</p>
<p>To learn more about AS2 Restart, <a href="http://www.drummondgroup.com/html-v2/pr_11_11_09.html" target="_blank">you may read the press release here.</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Invalid content type for AS2 messages]]></title>
<link>http://biztalktalk.wordpress.com/2009/11/06/invalid-content-type-for-as2-messages/</link>
<pubDate>Fri, 06 Nov 2009 04:20:11 +0000</pubDate>
<dc:creator>Brett</dc:creator>
<guid>http://biztalktalk.wordpress.com/2009/11/06/invalid-content-type-for-as2-messages/</guid>
<description><![CDATA[Recently I ran into an issue with the Http ContentType used when sending messages using the As2EdiSe]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Recently I ran into an issue with the Http ContentType used when sending messages using the As2EdiSend pipeline.</p>
<p>Using the standard out-of-the-box pipeline, the web content type will be set to &#8220;<strong>application/EDI-EDIFACT</strong>&#8220;, regardless of the value supplied in the Party as AS2 Receiver configuration.  If your trading partner is using BizTalk as well, this is not an issue, as BizTalk, and probably some other AS2 servers, do not consider the content type before routing the AS2 payload for further parsing by an EDI interpreter.</p>
<p>However, our trading partner uses a specific AS2 server, Axway, that will only route to the EDI sub-system if the content type is, quite correctly, &#8220;<strong>application/EDIFACT</strong>&#8221; (note the small difference).  This is the correct value, according to the RFC (<a href="http://www.rfc-editor.org/rfc/rfc4130.txt">link</a> &#8211; see Section 4.2).</p>
<p>Our workaround was to add a custom pipeline component in between the EDI Assembler stage and the AS2 Encoder stage in a custom Pipeline.  This custom component only does one thing, clears the IBaseMessage.BodyPart.ContentType property of the current message stream:</p>
<pre style="padding-left:30px;"><span style="color:#0000ff;">IBaseMessagePart bodyPart = pInMsg.BodyPart;
if ((bodyPart != null))
{
// Override the default content type with the one we want to use
pInMsg.BodyPart.ContentType = "";
}
return pInMsg;</span></pre>
<p>By default, the EDI Assemble stage allocates a default value of &#8220;application/EDI-EDIFACT&#8221;.  The AS2 Encoder will lookup the appropriate content type to use from the Party configuration, but only if the content type has not been supplied.  As the EDI stage has already allocated a value, this &#8220;optional&#8221; value is rendered useless.  By &#8220;clearing&#8221; the default value, we allow the AS2 stage to use the appropriate value</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Migrasi dari AS 2.0 ke as 3.0]]></title>
<link>http://iddev.wordpress.com/2009/11/03/migrasi-dari-as-2-0-ke-as-3-0/</link>
<pubDate>Tue, 03 Nov 2009 01:10:19 +0000</pubDate>
<dc:creator>iddev</dc:creator>
<guid>http://iddev.wordpress.com/2009/11/03/migrasi-dari-as-2-0-ke-as-3-0/</guid>
<description><![CDATA[&nbsp; migrasi yuukk... Keliatannya agak sedikit sulit kalo kita sudah enjoy dengan sesuatu, seperti]]></description>
<content:encoded><![CDATA[&nbsp; migrasi yuukk... Keliatannya agak sedikit sulit kalo kita sudah enjoy dengan sesuatu, seperti]]></content:encoded>
</item>
<item>
<title><![CDATA[Criando campos de texto por AS 2.0 e AS 3.0]]></title>
<link>http://berseck.wordpress.com/2009/10/30/criando-campos-de-texto/</link>
<pubDate>Fri, 30 Oct 2009 19:10:45 +0000</pubDate>
<dc:creator>berseck</dc:creator>
<guid>http://berseck.wordpress.com/2009/10/30/criando-campos-de-texto/</guid>
<description><![CDATA[Bom hoje vou explicar como se faz campos de texto por AS 2.0 e 3.0 Para começar vocês não vão precis]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Bom hoje vou explicar como se faz campos de texto por AS 2.0 e 3.0</p>
<p>Para começar vocês não vão precisar de nada, basta abrir o flash clicar no frame e copiar e colocar o código para ver funcionar.</p>
<p>Em AS 2.0 temos a função createTextField<br />
Então vamos ver como ela funciona:</p>
<blockquote><p>
/*<br />
* Criando um campo de texto dinamico<br />
*/<br />
var campo:TextField = this.createTextField(&#8216;campo&#8217;, 1);<br />
/*<br />
* Como usar<br />
*/<br />
campo.text = &#8220;um texto de testes&#8221;;</p></blockquote>
<p>Bom como podem ver é muito fácil criar campos de texto em AS o this significa que ele vai criar onde você já está, se eu colocar _root ele vai criar no palco principal&#8230; mesmo se existir uma função chamando dentro de um MovieClip, se estiver escrito _root é no palco e se estiver this. é onde ele se encontra<br />
A declaração var campo:TextField serve apenas para indicar para o flash que aquela variavel tem as propriedades de texto então se você só digitar depois de declarar a variavel campo.(ponto) ele vai mostrar ja todas as propriedades do campo de texto que você pode usar.</p>
<p>Agora como fazer isso em AS 3.0</p>
<blockquote><p>/*<br />
* Criamos o campo de texto<br />
*/<br />
/*<br />
* IMPORTANTE NUNCA ESQUECER<br />
*/<br />
import flash.text.TextField;<br />
// Aqui eu crio o nosso campo de texto<br />
var campo:TextField = new TextField();<br />
// coloco um texto qualquer<br />
campo.text = &#8216;um texto de testes&#8217;;<br />
// adiciono ao palco<br />
addChild(campo);</p></blockquote>
<p>Como pode-se ver em AS 3.0 eh diferente de AS 2, você declara depois onde vai adicionar o campo, como eu só escrevi addChild(campo) é a mesma coisa que eu estiver colocando o campo no root do palco, se eu colocar MovieClip.addChild(campo) eu vou estar adicionando dentro de um MovieClip<br />
E lembre-se que em AS 3.0 é necessário importar todas as coisas que você estiver trabalhando&#8230; campos de texto etc.</p>
<p>E por hoje é só, espero ter ajudado as pessoas nessa passagem de AS 2.0 para 3.0</p>
<p>abs</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[More fun with AS2]]></title>
<link>http://noimportance.wordpress.com/2009/10/27/more-fun-with-as2/</link>
<pubDate>Tue, 27 Oct 2009 05:45:05 +0000</pubDate>
<dc:creator>jillyme</dc:creator>
<guid>http://noimportance.wordpress.com/2009/10/27/more-fun-with-as2/</guid>
<description><![CDATA[We are having so much fun with this curriculum, and I find myself adding more and more to it because]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>We are having so much fun with this <a href="http://www.winterpromise.net/product_info.php?cPath=21_36&#38;products_id=80&#38;osCsid=2f812907a2ba02b16e37559eb2ab3ab0" target="_blank">curriculum</a>, and I find myself adding more and more to it because the kids are so interested. We are learning about the West, and we added some books on California because I thought this would be a good time to get in some state history. We had to backtrack a little time-wise, but the kids did not seem to mine. We reviewed the early history of California (the native peoples and the missions), and we read about the Gold Rush. Books I added are:</p>
<p><a href="http://www.amazon.com/gp/product/1426300409?ie=UTF8&#38;tag=tt0f0-20&#38;linkCode=as2&#38;camp=1789&#38;creative=390957&#38;creativeASIN=1426300409">Gold Fever!: Tales from the California Gold Rush</a><img style="border:none!important;margin:0!important;" src="http://www.assoc-amazon.com/e/ir?t=tt0f0-20&#38;l=as2&#38;o=1&#38;a=1426300409" border="0" alt="" width="1" height="1" /></p>
<p><img class="size-full wp-image-205 alignleft" title="612YB0ZYC0L._BO2,204,203,200_PIsitb-sticker-arrow-click,TopRight,35,-76_AA240_SH20_OU01_" src="http://noimportance.wordpress.com/files/2009/10/612yb0zyc0l-_bo2204203200_pisitb-sticker-arrow-clicktopright35-76_aa240_sh20_ou01_.jpg" alt="612YB0ZYC0L._BO2,204,203,200_PIsitb-sticker-arrow-click,TopRight,35,-76_AA240_SH20_OU01_" width="240" height="240" /></p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p><a href="http://www.amazon.com/gp/product/0689876076?ie=UTF8&#38;tag=tt0f0-20&#38;linkCode=as2&#38;camp=1789&#38;creative=390957&#38;creativeASIN=0689876076">Twelve Travelers, Twenty Horses</a><img style="border:none!important;margin:0!important;" src="http://www.assoc-amazon.com/e/ir?t=tt0f0-20&#38;l=as2&#38;o=1&#38;a=0689876076" border="0" alt="" width="1" height="1" /></p>
<p><img class="alignleft size-full wp-image-208" title="51CT5U0vvSL_004" src="http://noimportance.wordpress.com/files/2009/10/51ct5u0vvsl_004.jpg" alt="51CT5U0vvSL_004" width="240" height="240" /></p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p><a href="http://www.amazon.com/gp/product/B002MAQSOI?ie=UTF8&#38;tag=tt0f0-20&#38;linkCode=as2&#38;camp=1789&#38;creative=390957&#38;creativeASIN=B002MAQSOI">Dragon&#8217;s Gate: Golden Mountain Chronicles: 1867</a></p>
<p><img class="alignleft size-medium wp-image-217" title="Dragon_s_Gate" src="http://noimportance.wordpress.com/files/2009/10/dragon_s_gate.jpg?w=201" alt="Dragon_s_Gate" width="201" height="300" /><a href="http://www.amazon.com/gp/product/B002MAQSOI?ie=UTF8&#38;tag=tt0f0-20&#38;linkCode=as2&#38;camp=1789&#38;creative=390957&#38;creativeASIN=B002MAQSOI"></a><img style="border:none!important;margin:0!important;" src="http://www.assoc-amazon.com/e/ir?t=tt0f0-20&#38;l=as2&#38;o=1&#38;a=B002MAQSOI" border="0" alt="" width="1" height="1" /></p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>I am a <a href="http://films4kids.wordpress.com/" target="_blank">film nut</a>, so I am taking advantage of this great time period by having the kids watch as many Westerns as they want. The kids love hearing about the O.K. Corral, so of course we watched <a href="http://en.wikipedia.org/wiki/My_Darling_Clementine"><em>My Darling Clementine</em></a>. We also watched <a href="http://en.wikipedia.org/wiki/Red_River_%28film%29" target="_blank">Red River</a> and parts of one of my favorite films, <a href="http://en.wikipedia.org/wiki/The_Searchers_%28film%29" target="_blank">The Searchers</a>. I could write pages on why that film is one of the greatest of all times, but I&#8217;ll save that for my film blog. Needless to say it is a beautiful film that I think everyone should see. However the topics are a little mature, so the kids and I just watched a few scenes together.  I am hoping to add in a few other films this week before we finish our study of the west. We have to finish the documentary <a href="http://www.shoppbs.org/product/index.jsp?productId=1452194&#38;cid=" target="_blank"><em>The West</em></a>, and we are going to read <a href="http://www.amazon.com/gp/product/0756629977?ie=UTF8&#38;tag=tt0f0-20&#38;linkCode=as2&#38;camp=1789&#38;creative=390957&#38;creativeASIN=0756629977">Annie Oakley (DK Biography)</a><img style="border:none!important;margin:0!important;" src="http://www.assoc-amazon.com/e/ir?t=tt0f0-20&#38;l=as2&#38;o=1&#38;a=0756629977" border="0" alt="" width="1" height="1" /> this week too.</p>
<p>&#160;</p>
<p>The ending of My Darling Clementine &#8211; the Gunfight at the O.K. Corral:</p>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/OCsXASEw4VA&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/OCsXASEw4VA&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Carregar arquivo conforme a hora em AS 2]]></title>
<link>http://thyquevedo.wordpress.com/2009/10/21/carregar-arquivo-conforme-a-hora-em-as-2/</link>
<pubDate>Wed, 21 Oct 2009 17:17:38 +0000</pubDate>
<dc:creator>Thiago Quevedo</dc:creator>
<guid>http://thyquevedo.wordpress.com/2009/10/21/carregar-arquivo-conforme-a-hora-em-as-2/</guid>
<description><![CDATA[Carrega arquivo conforme a hora var mDate:Date = new Date(); var horas:Number = mDate.getHours(); if]]></description>
<content:encoded><![CDATA[Carrega arquivo conforme a hora var mDate:Date = new Date(); var horas:Number = mDate.getHours(); if]]></content:encoded>
</item>
<item>
<title><![CDATA[Wanted Posters]]></title>
<link>http://noimportance.wordpress.com/2009/10/21/wanted-posters/</link>
<pubDate>Wed, 21 Oct 2009 01:45:06 +0000</pubDate>
<dc:creator>jillyme</dc:creator>
<guid>http://noimportance.wordpress.com/2009/10/21/wanted-posters/</guid>
<description><![CDATA[Another week of learning about The West. We are really enjoying this time period, and I think part o]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://www.glassgiant.com/" target="_blank"><img src="http://users.glassgiant.com/jillyme/wp-09-10-20_17-32.jpg" border="0" alt="Image created at GlassGiant.com" hspace="0" vspace="0" /></a></p>
<p>Another week of learning about The West. We are really enjoying this time period, and I think part of the reason is that we live in California. The kids seem more interested in history when it happened where they live. This week we learned about The Wild West. Part of learning about the Wild West is learning about outlaws, which the kids find fascinating. They had so much fun learning about outlaws that I decided to have them dress up as an outlaw and have them pose for wanted pictures. Here are the results:</p>
<p><a href="http://www.glassgiant.com/" target="_blank"><img src="http://users.glassgiant.com/jillyme/wp-09-10-20_17-11.jpg" border="0" alt="Image created at GlassGiant.com" hspace="0" vspace="0" /></a></p>
<p><a href="http://www.glassgiant.com/" target="_blank"><img src="http://users.glassgiant.com/jillyme/wp-09-10-20_17-16.jpg" border="0" alt="Image created at GlassGiant.com" hspace="0" vspace="0" /></a></p>
<p><a href="http://www.glassgiant.com/" target="_blank"><img src="http://users.glassgiant.com/jillyme/wp-09-10-20_17-19.jpg" border="0" alt="Image created at GlassGiant.com" hspace="0" vspace="0" /></a></p>
<p>Would you like to make your own wanted posters? There are numerous templates available on the internet. I used this <a href="http://www.glassgiant.com/wanted/" target="_blank">one</a>, and the poster was so easy to make. A fun project to add to your study of The West.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Usando Tween]]></title>
<link>http://berseck.wordpress.com/2009/10/20/usando-tween/</link>
<pubDate>Wed, 21 Oct 2009 00:25:44 +0000</pubDate>
<dc:creator>berseck</dc:creator>
<guid>http://berseck.wordpress.com/2009/10/20/usando-tween/</guid>
<description><![CDATA[Hoje vou dar um pequeno exemplo de como usar o tween do flash Fazendo uma bolinha ir e voltar de uma]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Hoje vou dar um pequeno exemplo de como usar o tween do flash<br />
Fazendo uma bolinha ir e voltar de uma posição de uma maneira simples</p>
<p>Eis o código:</p>
<blockquote><p>//Importo as classes necessárias<br />
import mx.transitions.*;<br />
import mx.transitions.easing;</p>
<p>//Crio meu tween que vai fazer a animação<br />
var primeiroTween:Tween = new Tween();<br />
//Crio minha variavel verificadora<br />
var foi:Boolean = true;</p>
<p>//Agora dou a bolinha intanciada de bola no palco a ação de clic<br />
bola.onPress = function() {<br />
	//Se foi estiver em true, ele executa a primeira ação<br />
	if(foi) {<br />
		//Aqui faço a bolinha se movimentar no eixo x de 0 a 200 em 1 segundo<br />
		primeiroTween = new Tween(bola, &#8220;_x&#8221;, Back.easeOut, 0, 200, 1, true);<br />
		//Aqui ao terminar a ação do movimento da bolinha eu troco o valor da minha variavel<br />
		//assim evito que multiplos clics façam com que ela vá para proxima ação<br />
		primeiroTween.onMotionFinished = function() {<br />
			foi = false;<br />
		}<br />
	//Aqui é se ela já foi então volta<br />
	}else {<br />
		//Para ela voltar eu uso o yoyo() que faz a ação inicial ao contrário<br />
		primeiroTween.yoyo();<br />
	}<br />
}</p></blockquote>
<p>Simples fácil e pratico</p>
<p>Agora só aplicar para outras opções <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
Té mais</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Call of Duty: Modern Warfare 2 CountDown Timer]]></title>
<link>http://newcountdown.wordpress.com/2009/10/13/call-of-duty-modern-warfare-2-countdown-timer/</link>
<pubDate>Tue, 13 Oct 2009 19:58:04 +0000</pubDate>
<dc:creator>pmiller624</dc:creator>
<guid>http://newcountdown.wordpress.com/2009/10/13/call-of-duty-modern-warfare-2-countdown-timer/</guid>
<description><![CDATA[Go to http://sublimesite.com/projects.php to see the counter in action, and get it from there If you]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><h2><span style="color:#800000;">Go to</span> <span style="color:#000000;"><a href="http://sublimesite.com/projects.php">http://sublimesite.com/projects.php</a></span> <span style="color:#800000;">to see the counter in action, and get it from there</span></h2>
<p><a href="http://sublimesite.com/projects.php">If you like it why not bookmark it or make it your homepage and watch the days countdown.<br />
</a><a href="http://newcountdown.wordpress.com/files/2009/10/screen-shot-2009-10-13-at-3-45-52-pm.png"><img class="alignnone size-medium wp-image-170" title="Screen shot 2009-10-13 at 3.45.52 PM" src="http://newcountdown.wordpress.com/files/2009/10/screen-shot-2009-10-13-at-3-45-52-pm.png?w=300" alt="Screen shot 2009-10-13 at 3.45.52 PM" width="300" height="157" /></a><br />
(picture not the actual thing)</p>
<p>I made this because I felt that the ones I found on the net were just to simple.</p>
<p>To embed it<br />
<span style="color:#ff6600;">&#60;object&#62;&#60;param name=&#8221;movie&#8221; value=&#8221;http://newcountdown.netai.net//callOfDuty.swf&#8221;&#62;&#60;embed src=&#8221;http://newcountdown.netai.net//callOfDuty.swf&#8221; width=&#8221;1024&#8243; height=&#8221;431&#8243;&#62;&#60;/object&#62;</span></p>
<p>Embed on forums<br />
<span style="color:#ff6600;"><span style="margin-left:0!important;"><code>[flash=</code></span>1024<span style="margin-left:0!important;"><code>,</code></span>431<span style="margin-left:0!important;"><code>]</code></span>http://newcountdown.netai.net//callOfDuty.swf&#8221;<span style="margin-left:0!important;"><code>[/flash]</code></span></span></p>
<p>change the size to meet your needs!!!</p>
<p>Features:</p>
<ul>
<li>Counts days, hours, minutes, seconds, and milliseconds until the game is released</li>
<li>Rolling smoke for a more advance look</li>
<li>Heart monitor&#8230; because well&#8230; it just looks cool</li>
<li>Quick, it doesn&#8217;t lag or hiccup like the other ones I&#8217;ve found</li>
<li>It&#8217;s not just for form sigs</li>
<li>And last it looks GOOD!!!</li>
</ul>
<p>If you for whatever reason can not use the flash countdown here is a php one. It&#8217;s not as good and you have to refresh the page for it to count but it works and still looks good.</p>
<p><img class="alignnone" src="http://newcountdown.netai.net//countDown.php" alt="" width="307" height="130" /><br />
(refresh page to see it work)</p>
<p>Instructions:<br />
place this url into image tags : <span style="color:#ff6600;">http://newcountdown.netai.net//countDown.php</span><br />
like so<br />
<span style="color:#ff6600;">[img]http://newcountdown.netai.net//countDown.php[/img]</span><br />
OR<br />
<span style="color:#ff6600;">&#60;img src=&#8221;http://newcountdown.netai.net//countDown.php&#8221;&#62;</span></p>
<p>Have anything that should be added or changed leave a comment.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Perdigão - Kits Natalinos 2009]]></title>
<link>http://flashdvsnow.wordpress.com/2009/10/12/perdigao-kits-natalinos-2009/</link>
<pubDate>Mon, 12 Oct 2009 15:44:36 +0000</pubDate>
<dc:creator>snowflakes82</dc:creator>
<guid>http://flashdvsnow.wordpress.com/2009/10/12/perdigao-kits-natalinos-2009/</guid>
<description><![CDATA[Empresa: Perdigão Website: www.perdigao.com.br/kitsNatalinos Projeto Design em Flash e AS2 e animaçõ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://www.perdigao.com.br/kitsNatalinos"><img class="alignnone size-medium wp-image-159" title="Perdigao - Kits Natalinos" src="http://flashdvsnow.wordpress.com/files/2009/10/2.jpg?w=300" alt="Perdigao - Kits Natalinos" width="300" height="177" /></a></p>
<p>Empresa: Perdigão<br />
Website: www.perdigao.com.br/kitsNatalinos</p>
<p><strong>Projeto</strong></p>
<p>Design em Flash e AS2 e animações sobre o produtos com sistema de orçamento online.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Carina Duek]]></title>
<link>http://flashdvsnow.wordpress.com/2009/10/12/carina-duek/</link>
<pubDate>Mon, 12 Oct 2009 15:39:40 +0000</pubDate>
<dc:creator>snowflakes82</dc:creator>
<guid>http://flashdvsnow.wordpress.com/2009/10/12/carina-duek/</guid>
<description><![CDATA[Empresa: Carina Duek Website: www.carinaduek.com.br Projeto Design em Flash e AS2. Coordenação e pro]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://www.carinaduek.com.br"><img class="alignnone size-medium wp-image-156" title="Carina Duek" src="http://flashdvsnow.wordpress.com/files/2009/10/1.jpg?w=300" alt="Carina Duek" width="300" height="149" /></a></p>
<p>Empresa: Carina Duek<br />
Website: www.carinaduek.com.br</p>
<p><strong>Projeto</strong></p>
<p>Design em Flash e AS2.<br />
Coordenação e programação em Flash AS2</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Dernières fabrikations]]></title>
<link>http://zekitchenfactory.wordpress.com/2009/09/27/dernieres-fabrikation/</link>
<pubDate>Sun, 27 Sep 2009 19:32:26 +0000</pubDate>
<dc:creator>mel</dc:creator>
<guid>http://zekitchenfactory.wordpress.com/2009/09/27/dernieres-fabrikation/</guid>
<description><![CDATA[mini site Seat Exeo Insertion du modèle Exeo ST au mini site existant. Intégration graphique et vidé]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div id="attachment_6" class="wp-caption alignnone" style="width: 460px"><a href="http://seat-exeo.fr/" target="_blank"><img src="http://zekitchenfactory.wordpress.com/files/2009/09/seat-exeo.jpg" alt="mini site Seat Exeo " title="Seat-Exeo" width="450" height="291" class="size-full wp-image-6" /></a><p class="wp-caption-text">mini site Seat Exeo </p></div>
<p>Insertion du modèle Exeo ST au mini site existant. Intégration graphique et vidéo. Ajout d&#8217;une pop up et refonte du menu. Développé en AS3.</p>
<div id="attachment_26" class="wp-caption alignnone" style="width: 510px"><a href="http://undentisteaparis.com/"><img src="http://zekitchenfactory.wordpress.com/files/2009/09/dentiste.jpg" alt="Un dentiste à Paris" title="dentiste" width="500" height="316" class="size-full wp-image-26" /></a><p class="wp-caption-text">Un dentiste à Paris</p></div>
<p>Site français/anglais réalisé en Flex &#8211; Bande son Caravane Palace.</p>
<div id="attachment_29" class="wp-caption alignnone" style="width: 510px"><a href="http://www.danielsandpartners.com/interf1.html" target="_blank"><img src="http://zekitchenfactory.wordpress.com/files/2009/09/danielsandpartners.jpg" alt="Danielsandpartners" title="DanielsandPartners" width="500" height="409" class="size-full wp-image-29" /></a><p class="wp-caption-text">Danielsandpartners</p></div>
<p>Site français/anglais réalisé en Flash, développé en AS2.</p>
<div id="attachment_7" class="wp-caption alignnone" style="width: 460px"><a href="http://friehassocies.com/" target="_blank"><img src="http://zekitchenfactory.wordpress.com/files/2009/09/frieh.jpg" alt="site Frieh &#38; Associés - Avocats à Paris" title="frieh" width="450" height="351" class="size-full wp-image-7" /></a><p class="wp-caption-text">site Frieh &#38; Associés - Avocats à Paris</p></div>
<p>Réalisation en Flash d&#8217;un site multilangues anglais/français. Développé en AS2.</p>
<div id="attachment_37" class="wp-caption alignnone" style="width: 510px"><a href="http://mykii.eu/STEF/IM/Issey.html" target="_blank"><img src="http://zekitchenfactory.wordpress.com/files/2009/09/isseymiyake.jpg" alt="mini site Flash Issey Miyake" title="IsseyMiyake" width="500" height="309" class="size-full wp-image-37" /></a><p class="wp-caption-text">mini site Flash Issey Miyake</p></div><br />
Mini site en Flash pour le Site Officiel de Madame Figaro. Développé en Flex et AS3.</p>
<p><div id="attachment_8" class="wp-caption alignnone" style="width: 460px"><a href="http://www.conforama.fr/webapp/wcs/stores/servlet/EtudiantHomeView?storeId=10001&#38;catalogId=10051&#38;langId=-2" target="_blank"><img src="http://zekitchenfactory.wordpress.com/files/2009/09/confo.jpg" alt="mini site Conforama" title="Confo" width="450" height="216" class="size-full wp-image-8" /></a><p class="wp-caption-text">mini site Conforama</p></div>
<p>Réalisation en Flash d&#8217;un mini site avec bundle, mosaïque et pop up. Développement en AS2 avec impératif de fonctionnement avec un Flash Player 8.0.22 </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[More Civil War Fun]]></title>
<link>http://noimportance.wordpress.com/2009/09/25/more-civil-war-fun/</link>
<pubDate>Fri, 25 Sep 2009 05:30:35 +0000</pubDate>
<dc:creator>jillyme</dc:creator>
<guid>http://noimportance.wordpress.com/2009/09/25/more-civil-war-fun/</guid>
<description><![CDATA[Today Tru set up a recreation of a Civil War Battle, The Battle of Fredericksburg. It was another pr]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Today Tru set up a recreation of a Civil War Battle, The Battle of Fredericksburg. It was another project from our <a href="http://www.winterpromise.net/product_info.php?cPath=21_36&#38;products_id=89&#38;osCsid=cf190a533e6d95df59d70a3db801c597" target="_blank">American Story 2</a> curriculum.  He spent a good deal of time doing it, and even got Decca involved. Decca placed the cannons for him, and Tru did everything else. After they showed me their battle scene, they acted out the huge battle. It was over within a minute, but it was fun.</p>
<div id="attachment_135" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-135" title="civil war battle 002" src="http://noimportance.wordpress.com/files/2009/09/civil-war-battle-002.jpg?w=300" alt="Of course they used their toys, it looks more like a civil war on another planet." width="300" height="225" /><p class="wp-caption-text">Of course they used their toys. It looks more like a civil war on another planet.</p></div>
<div id="attachment_137" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-137" title="civil war battle 005" src="http://noimportance.wordpress.com/files/2009/09/civil-war-battle-0051.jpg?w=300" alt="The North " width="300" height="225" /><p class="wp-caption-text">The North </p></div>
<p style="text-align:center;">vs.</p>
<p style="text-align:center;">
<div id="attachment_139" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-139" title="civil war battle 006" src="http://noimportance.wordpress.com/files/2009/09/civil-war-battle-0061.jpg?w=300" alt="The South" width="300" height="225" /><p class="wp-caption-text">The South</p></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[The ASDoc tool]]></title>
<link>http://factornine.wordpress.com/2009/09/09/the-asdoc-tool/</link>
<pubDate>Wed, 09 Sep 2009 16:39:02 +0000</pubDate>
<dc:creator>russellf9</dc:creator>
<guid>http://factornine.wordpress.com/2009/09/09/the-asdoc-tool/</guid>
<description><![CDATA[The ASDoc Tool Further to my post on Java Style Docs with ZenDoc, I&#8217;ve found and used a better]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><h4>The ASDoc Tool</h4>
<p>Further to my post on <a href="http://factornine.wordpress.com/2008/06/27/java-style-docs-with-zendoc/">Java Style Docs with ZenDoc</a>, I&#8217;ve found and used a better tool <a href="http://livedocs.adobe.com/flex/3/html/help.html?content=asdoc_6.html#186140">ASDoc</a><a>.</a></p>
<p><a>I&#8217;ve used parts of </a><a href="http://code.google.com/p/fdtkit/"> FDTKit </a> to enable an <a href="http://ant.apache.org/manual/index.html">ANT</a> script to create a directory with the documentation.</p>
<p>
The process of using FDTKit can be viewed here: <a href="http://code.google.com/p/fdtkit/wiki/Documentation">FDTKit Documentation &#38; Usage Guide</a>, theres too much information here for just running the &#8220;doc-asdoc&#8221; from the build.xml.<br />
<br />
The build.xml should be present at the &#8216;top level&#8217; of the checked out project<br />
<br />
Comments in the ActionScript Code should follow wherever possible the Java standard  : <a href="http://geosoft.no/development/javastyle.html#Comments">Javadoc comments should have the following form</a><br />
<br />
Not all the Javadoc tags are supported though, for a list of supported tags see: <a href="http://livedocs.adobe.com/flex/3/html/help.html?content=asdoc_6.html#186140"> ASDoc tags </a><br />
<br />
For using the @see tag see: <a href="http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&#38;file=asdoc_127_7.html"><br />
Using the @see tag </a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Membuat tweening dengan Tweener]]></title>
<link>http://iddev.wordpress.com/2009/09/09/membuat-tweening-dengan-tweener/</link>
<pubDate>Tue, 08 Sep 2009 23:22:31 +0000</pubDate>
<dc:creator>iddev</dc:creator>
<guid>http://iddev.wordpress.com/2009/09/09/membuat-tweening-dengan-tweener/</guid>
<description><![CDATA[tweener Kita telah belajar untuk membuat tween pada package bawaan dari flash, sekarang kita akan me]]></description>
<content:encoded><![CDATA[tweener Kita telah belajar untuk membuat tween pada package bawaan dari flash, sekarang kita akan me]]></content:encoded>
</item>
<item>
<title><![CDATA[Problem 2: 202 Server Error in As2 BizTalk]]></title>
<link>http://chibionos.wordpress.com/2009/09/06/problem-2-202-server-error-in-as2-biztalk/</link>
<pubDate>Sun, 06 Sep 2009 13:52:03 +0000</pubDate>
<dc:creator>chibionos</dc:creator>
<guid>http://chibionos.wordpress.com/2009/09/06/problem-2-202-server-error-in-as2-biztalk/</guid>
<description><![CDATA[Another error that has turned a good number of people’s hair to gray is the 202 (Accepted but still ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><font size="2" face="Cambria">Another error that has turned a good number of people’s hair to gray is the 202 (Accepted but still processing error). </font></p>
<p><font size="2" face="Cambria">Problem Description: The message that you receive will be an As2 Message and then every thing will be fine and the message will go in to active state and then the problem starts, it refuses to come out from the active state and even when you turn on the “suspend on failed request” still the same thing happens. Eventually only one thing that will guide you is the 202 error in the event log.</font></p>
<p><font size="2" face="Cambria">Solution: The error will occur when you use a Request-Response to receive an AS2 Message and then want to send a As2 A-sync MDN. This error occurs as the processing is over, but a response should be sent through the connection to close the connection. In such situation use the normal receive port and every thing should start working. If still not working please update the thread.</font></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Menggunakan Class Tween pada Flash]]></title>
<link>http://iddev.wordpress.com/2009/09/04/menggunakan-class-tween-pada-flash/</link>
<pubDate>Fri, 04 Sep 2009 00:47:22 +0000</pubDate>
<dc:creator>iddev</dc:creator>
<guid>http://iddev.wordpress.com/2009/09/04/menggunakan-class-tween-pada-flash/</guid>
<description><![CDATA[Class Tween merupakan class yang sangat dibutuhkan jika kita ingin manganimasikan suatu objek dengan]]></description>
<content:encoded><![CDATA[Class Tween merupakan class yang sangat dibutuhkan jika kita ingin manganimasikan suatu objek dengan]]></content:encoded>
</item>
<item>
<title><![CDATA[Menu Contextual em ActionScript 2]]></title>
<link>http://thyquevedo.wordpress.com/2009/09/01/menu-contextual-em-actionscript-2/</link>
<pubDate>Wed, 02 Sep 2009 00:56:12 +0000</pubDate>
<dc:creator>Thiago Quevedo</dc:creator>
<guid>http://thyquevedo.wordpress.com/2009/09/01/menu-contextual-em-actionscript-2/</guid>
<description><![CDATA[Crie numa layer, um MC transparente (Efeito alpha) contemplando todo o palco e nomeie como: menu_con]]></description>
<content:encoded><![CDATA[Crie numa layer, um MC transparente (Efeito alpha) contemplando todo o palco e nomeie como: menu_con]]></content:encoded>
</item>
<item>
<title><![CDATA[[Tutorial] Twitter no flash]]></title>
<link>http://berseck.wordpress.com/2009/08/31/twitter/</link>
<pubDate>Mon, 31 Aug 2009 23:52:33 +0000</pubDate>
<dc:creator>berseck</dc:creator>
<guid>http://berseck.wordpress.com/2009/08/31/twitter/</guid>
<description><![CDATA[Vou aqui ensinar como que se recupera os dados do seu Twitter Para começar vocês precisam saber que ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Vou aqui ensinar como que se recupera os dados do seu Twitter<br />
Para começar vocês precisam saber que seu conteudo do twitter não pode ter um cadeado&#8230; ou seja tem que ser um conteúdo aberto a todos&#8230; se for um conteúdo fechado o código não irá funcionar.</p>
<p>Então tudo que vocês vão precisar fazer é pegar um componente de scroller nos componentes do flash, ctrl + F7 abre os componentes lá você escolhe a opção UIScrollBar arraste para o palco depois delete&#8230; pois você só precisa dele na biblioteca.</p>
<p>Feito isso vamos ao código:</p>
<blockquote><p>
/*<br />
* Carregando o Twitter em seu flash<br />
* Criado por Thiago de Oliveira Cruz<br />
*/</p>
<p>//Primeiro passo é criar meu xml<br />
var TwitterXML:XML = new XML();</p>
<p>//Crio meu campo de texto<br />
var campo:TextField = this.createTextField(&#8220;campo&#8221;, 1, 20, 20, Stage.width &#8211; 50, Stage.height);<br />
//Do a propriedade de multiline para ele e wordWrap<br />
campo.multiline = true;<br />
campo.wordWrap = true;</p>
<p>/*<br />
* Crio meu scroll com o UIScrollBar<br />
* (precisa colocar esse componente na biblioteca senão, não funciona)<br />
*/<br />
this.createClassObject(mx.controls.UIScrollBar, &#8220;scroller&#8221;, -5);<br />
//Coloco o tamanho do campo igual ao palco<br />
scroller.setSize(16, Stage.height);<br />
//Digo qual a posição do X do scroll<br />
scroller._x = Stage.width &#8211; 16;<br />
//Coloco o scrill ao campo<br />
scroller.setScrollTarget(campo);</p>
<p>//Carrego o meu xml do twitter<br />
TwitterXML.load(&#8216;http://twitter.com/statuses/user_timeline/ThiagoOCruz.xml&#8217;);<br />
//Ignoro os espaços em branco<br />
TwitterXML.ignoreWhite = true;<br />
TwitterXML.onLoad = function() {<br />
//Crio um loop para pegar o conteudo do meu twitter<br />
for(var i:Number = 0; i &#60; TwitterXML.firstChild.childNodes.length; i++){<br />
//Recupero aqui apenas o campo text<br />
campo.text += this.childNodes[0].childNodes[i].childNodes[2].firstChild.nodeValue + newline + newline;<br />
}<br />
}</p></blockquote>
<p>E é só <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Agora é só se divertir com os nodes do XML e buscar as informações que você quer.</p>
<p>Abraços e até a proxima</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Problem 1: Internal Server Error, 500]]></title>
<link>http://chibionos.wordpress.com/2009/08/30/problem-1-internal-server-error-500/</link>
<pubDate>Sun, 30 Aug 2009 18:02:41 +0000</pubDate>
<dc:creator>chibionos</dc:creator>
<guid>http://chibionos.wordpress.com/2009/08/30/problem-1-internal-server-error-500/</guid>
<description><![CDATA[The error is a notorious creature that can sip hours of work from your daily life. It did for me, th]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><font face="Cambria" size="2">The error is a notorious creature that can sip hours of work from your daily life. It did for me, then I started collecting steps to go around this hurdle when I started my As2 journey.</font></p>
<p><font face="Cambria" size="2">To Start with, our friends in BizTalk Hot Rod have produced a good List we will add on that list for more convenience</font></p>
<p><font face="Cambria" size="2">You can verify the following in order to troubleshoot the 500 Internal Server</font></p>
<p><font face="Cambria" size="2"></font></p>
<ol>
<li><font face="Cambria" size="2">Verify the physical path drive:\Program Files\Microsoft BizTalk Server 2009\HttpReceive (If its a BizTalk 2009 installation for R2 it will \Program Files\Microsoft BizTalk Server 2006\HttpReceive) </font></li>
<li><font face="Cambria" size="2">On the Virtual Directory Access Permissions page, select Execute (such as ISAPI applications or CGI). </font></li>
<li><font face="Cambria" size="2">Verify the account which application pool is running is part of IIS worker process group (IIS_WPG). </font></li>
<li><font face="Cambria" size="2">Check whether at least one ReceiveLocation is listening to this HTTP URL (And only one Receive location can listen to a website) </font></li>
<li><font face="Cambria" size="2">Make sure the identity used in the application pool for the BtsHttpReceive virtual directory has access to the BiztalkMsgBoxDb. </font></li>
<li><font face="Cambria" size="2">Make sure that an Isolated host instance is created for HTTP Receive adapter. </font></li>
<li><font face="Cambria" size="2">Make sure that the receive handler is running under 32 bit host instance. This is required for AS2 functionality to work. </font></li>
<li><font face="Cambria" size="2">Make sure that IIS6 is configured to allow your BTSHTTPReceive.dll ISAPI extension to run. By default, it will block any attempt to do so until you go to the IIS manager console, into the Web Services folder and manually enable it. </font></li>
</ol>
<p><font face="Cambria" size="2"></font></p>
<p><font face="Cambria" size="2">But there are other culprits behind all of this which are hard to catch,</font></font></p>
<p><font face="Cambria" size="2">The Isolated Host and the IIS Host should run on the same account and should that has SQL access permission. In the act of solving the 500 Internal Server error the main rules should not be broken and this is one of them.</font></p>
<p><font face="Cambria" size="2">And another major pain is the worker process, w3wp process that will be running, so as mentioned above you will check the app Pool and change the account. But the worker process which has been spawn before will be running with the old account you will notice it Task manager under the user account column value of the process. So after any change that you do to the app pool kill the process and do a recycle of the app pool. After that check if the worker process is running with the account.</font></p>
<p><font face="Cambria" size="2">The most helpful tool for Debugging is the Event log. Never over look it, there will be warning as well as errors, please go through them and you will know the exact reason for the failure 9 out of 10 times. Checking the event log and following its guidance makes you a better 500 Internal Server Error debugger (or in general a better debugger).</font></p>
<p><font face="Cambria" size="2">If you have any other way to Tackle 500 Internal Server error in BizTalk when encountering As2, please comment about it <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . There is always a new or a better method and it will be more helpful if its shared.</font></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[AS3 &amp; AS2: Using filters in TweenLite v.11.1]]></title>
<link>http://timshaya.wordpress.com/2009/10/21/as3-as2-using-filters-in-tweenlite-v-11-1/</link>
<pubDate>Wed, 21 Oct 2009 17:40:51 +0000</pubDate>
<dc:creator>tim</dc:creator>
<guid>http://timshaya.wordpress.com/2009/10/21/as3-as2-using-filters-in-tweenlite-v-11-1/</guid>
<description><![CDATA[AS2 and AS3 &#8211; Most other engines are only developed for AS2 or AS3 but not both. &#8212; http:]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><blockquote><p>AS2 and AS3 &#8211; Most other engines are only developed for AS2 or AS3 but not both. &#8212; <a href="http://blog.greensock.com/tweenlite/">http://blog.greensock.com/tweenlite/</a></p></blockquote>
<p>This is an overview of how to use filters via the popular animation engine <a href="http://blog.greensock.com/tweenlite/">TweenLite</a>. For the purposes of this tutorial I&#8217;m simply using the &#8220;delay&#8221; property to time the overall animation flow. Check out the relevant <a href="http://forums.greensock.com/">forum</a> for info on how to manage animation sequences using TimeLineLite. Here&#8217;s a Zip with <a href="http://www.filedropper.com/howtotlfilters" target="_blank">the .fla</a>.</p>
<p>The AS3 code:</p>
<pre class="brush: java;">
import com.greensock.*;
import com.greensock.easing.*;
import com.greensock.plugins.*;

TweenPlugin.activate([BlurFilterPlugin]);

/*
 * assumes you have graphic assets named couple1, couple2 on the stage
 * for pure AS3 apps, use the embed Flex meta tag to embed the asset
 * and wrap this code in a class file
 */

var _tweenSpeed1:Number = 0.55;
var _tweenSpeed2:Number = 1;
var _tweenSpeed3:Number = 0.33;
var _blurYamount1:uint = 60;
var _noBlur:uint = 0;

//init blur filter &#38; position on hidden assets, using TweenLite
TweenLite.to(couple1, 0.33, {delay:0, y:200, blurFilter:{blurY:_blurYamount1}});
TweenLite.to(couple2, 0.33, {delay:0, y:200, blurFilter:{blurY:_blurYamount1}});

//remove blur as the hidden asset animates onto the stage
TweenLite.to(couple1, _tweenSpeed3, {delay:1, blurFilter:{blurY:_noBlur}, y:0, ease:Sine.easeOut, overwrite:false});

//move the asset off stage, as per storyboard, blur it again, as you move it
TweenLite.to(couple1, _tweenSpeed2, {delay:3, blurFilter:{blurY:_blurYamount1}, y:200, ease:Elastic.easeOut, overwrite:false});

//remove blur as the hidden asset animates onto the stage
TweenLite.to(couple2, _tweenSpeed1, {delay:3.5, blurFilter:{blurY:_noBlur}, y:10, overwrite:false});

//move the asset off stage, as per storyboard, blur it again, as you move it
TweenLite.to(couple2, _tweenSpeed2, {delay:6, blurFilter:{blurY:_blurYamount1}, y:200, ease:Elastic.easeOut, overwrite:false});
</pre>
<p>For Flash banners, for example, it&#8217;s often easier to use AS2, because a) Designers don&#8217;t know AS3, b) you&#8217;ll get that extra 1% or so of users who don&#8217;t have Flash Player 9 or 10 yet and c) some versions of Flash 9 player had an AS3 preload bug on IE on Windows that didn&#8217;t allow a file to preload itself properly. Why not just do the AS3 workaround with an empty wrapper SWF that preloads the main SWF? Depending on the situation, sometimes, for smaller files like banners, it&#8217;s easier to send the client 1 SWF with everything in it, than saying, &#8220;hey, do you have an external assets server that I can upload the extra SWFs to so the banner can load it in at run-time?&#8221; I&#8217;ve had cases where a client uses an Ad Server that they either don&#8217;t quite know how to fully use or that&#8217;s weirdly set to only accept 1 SWF. I&#8217;ve read about server load-balancing issues forcing Flash guys to dump everything into 1 SWF as well.  Basically, if your client has those restrictions, as a Flash Developer, you&#8217;re stuck with these limitations and, usually, no amount of &#8220;hey, but look at how much more elegant my code is if i break the SWF up into several pieces&#8221; will help .</p>
<p>Anyways, here&#8217;s the AS2 code:</p>
<pre class="brush: java;">
import com.greensock.*;
import com.greensock.easing.*;
import com.greensock.plugins.*;

TweenPlugin.activate([BlurFilterPlugin]);

var tweenSpeed1:Number = 2;
var blurYamount1:Number = 60;
var noBlur:Number = 0;

//init blur filter &#38; position on hidden asset
TweenLite.to(couple1, 0, {delay:0, _y:200, blurFilter:{blurY:blurYamount1}});
TweenLite.to(couple2, 0, {delay:0, _y:200, blurFilter:{blurY:blurYamount1}});

//remove blur as the hidden asset animates onto the stage
TweenLite.to(couple1, tweenSpeed1-1, {delay:2, blurFilter:{blurY:noBlur}, _y:0, overwrite:false});

//move the asset off stage, as per storyboard, blur it again, as you move it
TweenLite.to(couple1, tweenSpeed1, {delay:4, blurFilter:{blurY:blurYamount1}, _y:200, ease:Elastic.easeOut, overwrite:false});

//remove blur as the hidden asset animates onto the stage
TweenLite.to(couple2, tweenSpeed1-1.25, {delay:4.5, blurFilter:{blurY:noBlur}, _y:10, overwrite:false});

//move the asset off stage, as per storyboard, blur it again, as you move it
TweenLite.to(couple2, tweenSpeed1, {delay:7, blurFilter:{blurY:blurYamount1},_y:200, ease:Elastic.easeOut, overwrite:false});
</pre>
</div>]]></content:encoded>
</item>

</channel>
</rss>
