#
# "Flash eyes" with Swftools http://www.quiss.org/swftools/
#
#
#
.flash bbox=300x300 version=6 name="flash_eyes.swf" compress
.font myfont "../font/Automaton.swf"
.box fond width=300 height=300 color=gray fill=white line=2
.box active width=225 height=225 color=gray fill=none line=2
.circle eye_left r=70 color=black fill=none line=5
.circle eye_left_mask r=83 color=white fill=none line=30
.circle eye_right r=70 color=black fill=none line=5
.circle eye_right_mask r=83 color=white fill=none line=30
.circle pupille1 r=10 color=black fill=black
.circle pupille2 r=10 color=black fill=black
.circle nez r=50 color=orange fill=orange
.circle smile r=80 color=red fill=none line=15
.text legend font=myfont text="SwfTools Eyes" color=blue size=20%
.text legend_shadow font=myfont text="SwfTools Eyes" color=gray size=20%
.sprite pupille
.put pupille1 pin=center x=100 y=100
.put pupille2 pin=center x=200 y=100
.end
.sprite mask
.put eye_left_mask scalex=54% pin=center x=100 y=100
.put eye_left pin=center scalex=50% x=100 y=100
.put eye_right_mask scalex=54% pin=center x=200 y=100
.put eye_right pin=center scalex=50% x=200 y=100
.end
.button zone_left
.show active as=area
.on_move_in :
runMove();
.end
.end
.action:
_root.createEmptyMovieClip("move",1000);
_root.attachMovie("pupille","move",1000);
_root.createEmptyMovieClip("mask",1002);
_root.attachMovie("mask","mask",1002);
function runMove() {
move.useHandCursor=1;
move.onRollover=function(){
move.startDrag(false, -23, -58, 23, 58);
Mouse.hide();
};
}
.end
#
# Place Objects
#
.put fond
.put eye_left pin=center scalex=50% x=100 y=100
.put eye_right pin=center scalex=50% x=200 y=100
.put smile pin=center scaley=30% x=150 y=195
.put nez pin=center scalex=45% x=150 y=150
.put legend_shadow x=187 y=287 scalex=50% alpha=80%
.put legend x=185 y=285 scalex=50%
.put zone_left x=37 y=37
.end # End swf movie