[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] Actionscript acting stupid...
From: |
Chris |
Subject: |
Re: [Swftools-common] Actionscript acting stupid... |
Date: |
Thu, 27 Jan 2011 06:07:47 +0100 |
>On Wed, 26 Jan 2011 21:01:46 +0000
>John Sullivan <address@hidden> wrote:
> .put on an image doesn't, which means the three cherries are
> then not independently placeable.
If that were strictly true, then surely something like this:
# ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~
.flash filename="text.swf" bbox=300x200 version=8 fps=60 compress
.png png "image.png"
.action:
interval = setInterval(moveit, 1000);
function moveit() {
xpoint = Math.random() * 200;
png._x=xpoint;
}
.end
.put png x=0 y=20 scale=15%
.end
#~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~
shouldn't work? But it does.
Regards,
Chris.
--
Chris <address@hidden>