ActionScript domina quien viene al frente swapDepths
1.- En este ejemplo he creado 4 clips de pelÃcula
2.- En el primer fotograma de la lÃnea de tiempo principal declaramos una variable "x"
1. var x=0
3.- En cada uno de los clips de pelÃcula les asignamos el siguiente Actionscript
1. //Al presionar comenzamos a arrastrar el clip
2. on (press) {
3. startDrag(this);
4. }
5. //Al liberar dejamos de arrastrar el clip
6. on (release) {
7. stopDrag();
8. }
9. //Al presionar o liberar
10. on (press, release) {
11. _root.x +=1; //Incrementamos el valor de la variable en 1
12. this.swapDepths(_root.x); //Le asignamos como nivel de apilamiento
13. //el valor de la variable
14. }
#useful commands:
hostname - show or set the system’s host name
ifconfig - configure a network interface
host - DNS lookup utility (host "adress.com")
route - show / manipulate the IP routing table
netstat - Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships
dnsdomainname - show the system’s DNS domain name
arp - manipulate the system ARP cache
ping, ping6 - send ICMP ECHO_REQUEST to network hosts
#useful conf files:
#DNS and resolv
/etc/hosts
/etc/resolv.conf
#eth configuration
/etc/network/interfaces
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>untitled</title>
<script type="text/javascript" src="swfobject.js"></script>
</head>
<body>
<div id="flashcontent">
This text is replaced by the Flash movie.
</div>
<script type="text/javascript">
var so = new SWFObject("movie.swf", "mymovie", "200", "100", "8", "#FFFFFF");
so.write("flashcontent");
</script>
</body>
</html>