[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Swftools-common] alpha problem
From: |
Jacek Brzeski |
Subject: |
[Swftools-common] alpha problem |
Date: |
Tue, 18 Oct 2005 16:56:27 +0200 |
User-agent: |
Debian Thunderbird 1.0.2 (X11/20050331) |
Hey,
I'm working on one animation of a company logo and I came across some
strange problem.
I want to make a shape coming in to the scene from left side (starting
with alpha=0%), quickly getting alpha=100% and then move to right
position (in the middle of the picture).
When I'm setting alpha=100% in .frame=5 it only reaches about 50% and
stays that way. When first .change tag is in .frame 10 - it's better.
It's pretty strange, so take a glance at example:
http://www.numer9.pl/swfc/
In these two animations the only thing changed is # of frame to set
alpha=100%...
BTW - using debian sarge, swf tools 0.7.0;
Help me out, thanks!
#9
In case you want to see my source code... here it is:
.flash bbox=280x120 version=6 name="amtel_logo0.0.1.swf" fps=25 compress
# logo animation
.outline arrow_logo_outline:
M 28.178570,44.250000 L 0.50000000,25.678570 L 49.607140,0.50000000
L 10.678570,26.035720 L 28.178570,44.250000
.end
.filled arrow_logo_shape outline=arrow_logo_outline fill=#aaaaaa
color=#333333
.sprite logo
# .box box_bg 280 120 fill=black color=black
.filled arrow_logo_shape1 outline=arrow_logo_outline fill=#aaaaaa
color=#333333
.filled arrow_logo_shape2 outline=arrow_logo_outline fill=#aaaaaa
color=#333333
.filled arrow_logo_shape3 outline=arrow_logo_outline fill=#aaaaaa
color=#333333
# shadows
.filled arrow_logo_shape4 outline=arrow_logo_outline fill=#aaaaaa
color=#333333
.filled arrow_logo_shape5 outline=arrow_logo_outline fill=#aaaaaa
color=#333333
.filled arrow_logo_shape6 outline=arrow_logo_outline fill=#aaaaaa
color=#333333
.outline big_T_outline1:
M 17,0 L 240,0, L 17,0
.end
.outline big_T_outline2:
M 0,18 L 150,18 L 125,67 L 150,18 L 0,18
.end
.outline big_T_outline3:
M 155,67 L 180,18 L 223,18 L 180,18 L 155,67
.end
.filled logo_T1 outline=big_T_outline1 line=1 color=#ffffff
.filled logo_T2 outline=big_T_outline2 line=1 color=#ffffff
.filled logo_T3 outline=big_T_outline3 line=1 color=#ffffff
.frame 1
# .put box_bg
.put logo_T1 x=0 y=0
.put logo_T2 x=0 y=0
.put logo_T3 x=0 y=0
.put arrow_logo_shape1 pin=center x=-30 y=5 alpha=0%
.put arrow_logo_shape2 pin=center x=-30 y=5 alpha=0%
.put arrow_logo_shape3 pin=center x=-30 y=5 alpha=0%
.put arrow_logo_shape4 pin=center x=-50 y=5 alpha=0%
.put arrow_logo_shape5 pin=center x=-50 y=5 alpha=0%
.put arrow_logo_shape6 pin=center x=-50 y=5 alpha=0%
# change it to .frame 5 to see another version
.frame 20
.change arrow_logo_shape1 x=20 alpha=100%
.frame 30
.change arrow_logo_shape1 x=125 alpha=100%
.frame 200
.change arrow_logo_shape3 x=55
.end
.put logo pin=center x=100 y=60 scale=100%
.end # End swf movie