swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] A couple of questions


From: Matthias Kramm
Subject: Re: [Swftools-common] A couple of questions
Date: Wed, 3 Nov 2004 19:09:57 +0100
User-agent: Mutt/1.5.6i

On Sun, Oct 31, 2004 at 09:28:30AM -0500, Chris Flowers wrote:
> I just got the Oct 30 win32 build and the frame 0 label fix works ( thanks), 
> however the syntax is a bit strange.
> 
> For example:
> 
> .flash bbox=320x240 fps=30 version=6 compress background=#CCCCCC    
>     
>   .box b1 100 100 color=black fill=blue
>   .put b1 x=10 y=10
> 
>   .frame 0 name="mylabel"
>   .frame 1
> 
>   
>   .jump b1 20 20
>   .frame 2
> 
>   .jump b1 30 30
>   .action: stop(); .end
>   .frame 3
>     
> .end
> 
> This will create a 3 frame movie, not 4 as you might expect.

A ".frame 0" command usually doesn't do anything, as you are in frame 0
at the start of the movie anyway.
So the first ".frame" command in your syntax above only gives
the first frame a name, but it does not start a new frame. (Otherwise 
the ".put" before the ".frame 0" would have to target, well... frame -1?)

> This will create a 3 frame movie, not 4 as you might expect.

Actually, it is a 4 frame movie. However the last frame is empty (the
"contents" of that frame are everything between ".frame 3" and ".end")

Greetings

Matthias






reply via email to

[Prev in Thread] Current Thread [Next in Thread]