Showing posts with label video tutorial. Show all posts
Showing posts with label video tutorial. Show all posts
Guide to catch up with Flash CS4
Although CS5 is out, there is still a lot of users that had not even touch the new tools in CS4.
Here is a little guide with video tutorials to catch up:
NEW Motion tween:
- Flash CS4 Motion Tweening
- Motion Tools in Flash CS4, Part 1
- Motion Tools in Flash CS4, Part 2
- Motion Tools in Flash CS4, Part 3
- Motion Tools in Flash CS4, Part 4
- Flash CS4 Motion Editor
- Flash CS4 Motion Easing
Bones tool, Inverse Kinematics:
- Making Armatures With the Bones Tool in Flash CS4
- Using Inverse Kinematics
- Creating Motion in Flash with Bones Tool
- Flash CS4 Animating Puppets
Spray and Decorator tools
Illustrator to Flash
3D Tool
- 3D Rotation in Flash CS4
- 3D Translation Tool in Flash CS4
- 3D Translation Tool in Flash CS4
- Flash CS4 3D Vanishing Point
- Flash CS4 3D Tools
Flash video encoding and components
Flash vars, ad servers y clicktag en Actionscript 2
Flash vars, ad servers y clicktag en Actionscript 2 from Emmanuel Ulloa on Vimeo.
Este es el código que desarrollé para detectar el clicktag, sea como se llame. Se puede poner en un archivo externo que se llame getClickTag.as_global.getClickTag = function() { //set localRoot as _level0 var localRoot = _level0; var ct = ""; //start searching for clickTag, clickTAG or any other combination for(var prop in localRoot) { if(prop.toLowerCase() == "clicktag") { ct = localRoot[prop]; break; } } //if ct is still empty then return the adobe.com website pointing to the ad serving guide ct = (ct != "")?ct:"http://www.adobe.com/resources/richmedia/tracking/adserving_guide/"; return ct; };
Luego en el .fla se incluye en un frame de la siguiente manera:
#include "getClickTag.as"
Y en el botón se invoca de la siguiente forma:
on(release) { getURL(_global.getClickTag(), "_blank"); }
Cómo crear una máquina de estados en AS.
Como crear una Maquina de Estados from Emmanuel Ulloa on Vimeo.
He aqui el codigo:
//Estados: cuadrado, circulo, estrella //***State Machine start var _state:String = ""; function leaveState() { switch(_state) { case "cuadrado": cuadrado_mc._xscale = cuadrado_mc._yscale = 100; break; case "circulo": circulo_mc._alpha = estrella_mc._alpha = 100; break; case "estrella": delete estrella_mc.onEnterFrame; estrella_mc._rotation = 0; break; } } function enterState() { switch(_state) { case "cuadrado": cuadrado_mc._xscale = cuadrado_mc._yscale = 200; break; case "circulo": circulo_mc._alpha = estrella_mc._alpha = 20; break; case "estrella": estrella_mc.onEnterFrame = function() { estrella_mc._rotation += 5; } break; } } function setState(val:String) { if(val != "") { leaveState(); _state = val; enterState(); } } //***State Machine end //Codigo normal cuadrado_mc.onPress = function(){setState("cuadrado")}; circulo_mc.onPress = function(){setState("circulo")}; estrella_mc.onPress = function(){setState("estrella")}; setState("cuadrado");
Subscribe to:
Posts (Atom)