Flash básico 03: Más agrupaciones
Nov 19, 07 by Juan Lebrijo about blog, Flash
Seguimos con los niveles de agrupación de Flash. Esta vez las bibliotecas que se pueden formar dentro de los ficheros. Las bibliotecas son, en mi opinión, el gran punto fuerte. Aquí se nota la calidad del software, que está totalmente orientado a objetos, supongo que por que eel mismo está programado bajo esta filosofía.

Bibliotecas

La paleta de Bibliotecas se accede: menú Ventana --> Bibliotecas Se añade un sí­mbolo a la biblioteca arrastrando el sí­mbolo a la paleta. La ventaja más importante es: reutilizar el sí­mbolo árbol 80 veces para dibujar un bosque, solo guardando las posiciones, con lo que supone para ahorrar memoria
image017.png 17.9 KB
Se pueden crear carpetas para agrupar si tienes muchos sí­mbolos (boton derecho raton). Ejemplos de agrupación en el siguente fichero (fuente):

Escenas

Las escenas son como los actos de una obra, independientes entre sí en el tiempo, pero con reutilización de actores. Tenemos la paleta de escenas en: Ventana --> Otros Paneles --> Escena
image053.png 2.53 KB
En esta paleta podemos: duplicar, crear y borrar escenas.
Flash basics 03: More groups
Nov 19, 07 by Juan Lebrijo about blog, Flash
Following with groping levels in flash. Now we are going to talk about the libraries that can formed in the files. The libraries are, in my opinion, a strong feature. Here we can see the software quality, this absolutely Objects Oriented,  due to the oriented of itself programming.

Libraries

Access to Library pallette from: Windows menu --> Libraries. You could add a symbol dragging it to the palette. The most important advantage is: remake the symbol tree 80 times to draw a wood, only saving the positions, to save less bytes.
image017.png 17.9 KB
You could create directories to group several symbols (right mouse button). Grouping examples in the following file (source):

Scenes

The escenes are the acts in a theatre work, independents in time, but reusing the actors. We have the scenes palette in: Windows --> Other Pannels --> Scene
image053.png 2.53 KB
In this palette we can: duplicate, create and delete scenes.
Publishing Webmin trough Apache
Nov 15, 07 by Juan Lebrijo about blog, Webmin
After the basic installation, we can access to Webmin: https://yourserver:10000 (mini-server Webmin own SSL server). The target is to publish trough our Apache server in a own URL: http://webmin.yourserver.com/. To do it we will use in the documentation http://www.webmin.com/apache.html, the less intrusive method. We will add the Proxy modules in Apache (the server redirects other server contents, the proxy_http module to make a Http requests proxy, and the ssl module to make cache in https protocol (it joins the miniserver):
elite:~# cd /etc/apache2/mods-enabled/
elite:/etc/apache2/mods-enabled# ln -s ../mods-available/proxy.conf proxy.conf
elite:/etc/apache2/mods-enabled# ln -s ../mods-available/proxy.load proxy.load
elite:/etc/apache2/mods-enabled# ln -s ../mods-available/proxy_http.load proxy_http.load
elite:/etc/apache2/mods-enabled# ln -s ../mods-available/ssl.conf ssl.conf
elite:/etc/apache2/mods-enabled# ln -s ../mods-available/ssl.load ssl.load
Add the following directives to our Virtual Host in Apache (in /etc/apache2/sites-available/default):
<VirtualHost *>
        ServerName webmin.tuservidor.com
        DocumentRoot /var/www/tuservidor
        ProxyRequests Off
        SSLProxyEngine On
        ProxyVia On
        <Proxy *>
                AddDefaultCharset off
                Order deny,allow
                Allow from all
        </Proxy>

        ProxyPass / https://localhost:10000/
        ProxyPassReverse / https://localhost:10000/
        ProxyPassReverseCookieDomain localhost:10000 tuservidor.com
        ProxyPassReverseCookiePath / /
</VirtualHost>
In Webmin configuration (/etc/webmin/config) add:
referer=webmin.sys.lebrijo.com
In /etc/webmin/miniserv.conf delete the line session=1 to login without cookies (I think that Webmin use GET method instead of POST method, getting variables from URL instead of cookies). Finally, in our DNS server we must reference the webmin.tuservidor.com name. Add the record in the zone db.yourserver.com:
webmin             IN      A       85.48.162.99