[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Swftools-common] Re: new python example
From: |
Matthias Kramm |
Subject: |
[Swftools-common] Re: new python example |
Date: |
Sun, 7 Aug 2005 18:00:51 +0200 |
User-agent: |
Mutt/1.5.6i |
On Mon, Jul 25, 2005 at 02:21:29PM -0600, Garett Shulman wrote:
> Hello I was wondering if it would be at all possible to create a simple
> pyswf animation example that draws a random shape and then moves it
> around. All of the python examples seem to use images. I can't seem to
> figure out how to draw shapes and move them around in a box. Thanks. -Garett
The attached python script should give you a hint. It draws a simple
shape and then moves it in a straight line.
The string in the SWF.Shape() constructor ("moveTo 10,10 lineTo 100,10...")
uses the same syntax as swfc in it's .outline directives.
Greetings
Matthias
test_shape.py
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Swftools-common] Re: new python example,
Matthias Kramm <=