|
MX-Mouth
6
12
638 bytes
970 bytes
2003-12-05 00:00:00
2005-10-08 13:58:20
Oldes (oliva.david@seznam.cz)

Simulate talking mouth
|
|
background 0.0.0
spr_mouth: Sprite [
doAction [
clear()
lineStyle( 0 #000000 50 )
beginFill( #FF2222 )
moveTo( -8 0 )
y: random 16
curveTo( 0 (0 - (y / 2)) 8 0 )
curveTo( 0 (y ) -8 0 )
endFill()
]
show 2 frames
end
]
importAssets [spr_eye "eye"] %examples/compiled/swf5-eyeball2.swf
spr_face: Sprite [
place spr_mouth at 0x0
place spr_eye [at -9x-10 scale 0.29]
place spr_eye [at 9x-10 scale 0.29]
showFrame
end
]
spr_body: Sprite [
shp_body: shape [fill color #909090 circle 15]
place shp_body
spr_head: Sprite [
shp_head: shape [fill color #AAAAAA circle 20]
place shp_head at 0x-8
face: place spr_face at 0x0
showFrame end
]
place spr_head at 0x-10
showFrame end
]
place spr_body at 160x120
showFrame
end
|