Flash basics 07: ActionScript
Dec 17, 07 by Juan Lebrijo about blog, Flash
Apart from the good planning in object orientation. Flash havs this Script language which effort the applications. In the future we will do a series of posts analyzing its posibilities. Nowadays show you how we can iniciate the use of this. To see the actions of an object (for example a button) we have the Actions palette. Windows --> Actions:
image047.png 87.2 KB
In the figure:
  • At left we have:
    • Up: libraries with all functions of ActionScript
    • Down: all the objects in the file containing ActionScript code
  • At right have the script which we are programming.
Warning: to action it, we must make a movie clip:
image039.png 2.5 KB
Although better is, to order correctly, create a movie clip and group all good. To see the objects which have ActionScript, we have in Actions palette a window:
image041.png 14 KB
To see the ActionScript options we can see the following example (source): With the buttons down-left we can do:
  • Sun: Jump to the 50th frame in the scene.
  • Cloud: Reboot the scene
  • Drag & Drop: Go to anothe scene which contains a template of the Flash common libraries.
Tunning my XP Desktop (and II)
Dec 13, 07 by Juan Lebrijo about blog, design, Windows
Here I leave another pair of ideas to customize our desktop: a Dock style task bar and a screensaver to colaborate with scientific projects at idle inactivity times of your PC.

Tasks bar

At first we have the Dock style task bar. Start bar typical from Macintosh: Dock y un salvapantallas para colaborar en proyectos científicos en los periodos de inactividad del PC.

Barra de tareas

La primera es la barra de herramientas tipo Dock (muelle ó bahí­a). La barra de inicio tí­pica de Mac:
bar.PNG 21.3 KB
This bar is a little application qhich executes in background filling a bit of memory. It have much customize posibilities. The application is called Rocketdock and is developed by Punk Labs.

Screesaver (SETI@home project)

With this application, at inactivity computer periods (when sceensaver ups), proccess data for a scientific project.
  • The client: In my computer I install a software (BOINC client) which gets the data portions to analyze. It analyze data. And when finished the analysis connects to server to leave the results, and ask for new portions. All this wor can be realize when screensaver gets up.
  • The server (Berkeley): collects telescope data (from Arecibo) and divide them in portions to share with the distributed BOIN clients. After collect the data proccessed.
You can choose among some projects, every gives a screensaver when data proccessing. I have chosen the SETI@home project, which provides an spectacular screensaver. It shows spectral density of signal analyzed, and other gaussians analysis. Through these calculations they are finding some signal of inteligence in the out space. I wil leave an screensaver image: [singlepic=5,320,240]
Tuneando mi escritorio XP (y II)
Dec 13, 07 by Juan Lebrijo about blog, design, Windows
Aquí os dejo otro para de ideas para personalizar vuestro escritorio: una barra de tareas estilo Dock y un salvapantallas para colaborar en proyectos científicos en los periodos de inactividad del PC.

Barra de tareas

La primera es la barra de herramientas tipo Dock (muelle ó bahí­a). La barra de inicio tí­pica de Mac:
bar.PNG 21.3 KB
La barra es una aplicacioncita que se ejecuta en segundo plano ocupando poca memoria. Tiene muchas posibilidades de personalización. La aplicación se llama Rocketdock desarrollada por Punk Labs.

El Salvapantallas (proyecto SETI@home)

Se trata de que en los periodos que esté inactivo nuestro PC (cuando salta el salvapantallas) lo aprovechemos procesando datos para un proyecto cientí­fico.
  • El cliente: En mi PC instalo un programa (cliente BOINC) que recogerá las porciones de datos a analizar. Los analizará. Cuando acabe se conectará al servidor a entregar los resultados y a solicitar una porción nueva a analizar. Todo este trabajo se realiza cuando salte el salvapantallas.
  • El servidor (en Berkeley): Recoge los datos del telescopio (Arecibo) y los divide en fragmentos para repartirlos entre los clientes que tiene distribuidos. Luego recoge los datos procesados.
Puedes elegir entre varios proyectos, cada uno te da un salvapantallas cuando se estén procesando sus datos. Yo he elegido el proyecto SETI@home, que proporciona un salvapantallas muy espectacular. Te muestra en 3D la densidad espectral de la señal analizada, y otros análisis gaussianos. Mediante estos cálculos se busca alguna señal de vida inteligente en el espacio. Os dejo una imagen del salvapantallas: [singlepic=5,320,240]