[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Swftools-common] Simple question
From: |
Huub Schaeks |
Subject: |
RE: [Swftools-common] Simple question |
Date: |
Sat, 20 Sep 2008 09:17:23 +0200 |
Hello Eric
Sorry about the messy layout in my previous response. I hope this works better:
The message you got first was just a warning. The resulting
.swf file should work just fine.
The x and y parameters were moved to a separate .move command because there
are a few new commands (.move, .smove and .sweep (whose name may change
in a new official release)) that change only the x and y parameters.
The code for the example would change to this if you use .move for x and y
parameters:
.put s1 x=50 y=50 scalex=110 scaley=110
.frame 50 .move s1 x=0 y=0
.change s1 scalex=210 scaley=210 red=-1+255 green=-1+255 blue=-1+255 #invert
.frame 100
.move s1 x=100 y=50
.change s1 scalex=110 scaley=110 red=0 green=+0 blue=+0 #remove red
.frame 150
.move s1 x=0 y=0
.change s1 scalex=210 scaley=210 red=+0 green=2 blue=-1+255 #amplify green,
invert blue
.frame 200
.move s1 x=50 y=100
.change s1 scalex=110 scaley=110 red=2-128 green=-2+255 blue=+0.7+40 #alien
glow
.frame 250
.move s1 x=0 y=0
.change s1 scalex=210 scaley=210 red=8-1024 green=8-1024 blue=8-1024 #palette
reduce
.frame 300
.move s1 x=0 y=0
.change s1 scalex=210 scaley=210 red=+0 green=+0 blue=+0 #back to normal
.frame 350
.move s1 x=105 y=105
.change s1 scalex=0 scaley=0 luminance=0 #fadeout
Why the new commands? .smove makes the object traverse a spline
path and .sweep (?) is used for circular trajectories.
Syntaxes:
.move x= y= ( x and y coordinates of target position)
.smove x= y= ( x and y coordinates of target position)
.sweep x= y= r= dir= arc= ( x and y coordinates of target position, radius of
the circle, direction of
traversal (clockwise or counterclockwise), arc (short or long)
determines whether the long or the short route is taken. This is a
necessary parameter because for any given x, y and r there are 2 possible
circles)
Regards
Huub
> From: address@hidden
> To: address@hidden
> Subject: RE: [Swftools-common] Simple question
> Date: Fri, 19 Sep 2008 21:24:08 +0200
>
>
> Hello EricThe message you got first was just a warning. The resulting .swf
> file should work just fine. The x and y parameters were moved to a separate
> .move command because there are a few commands (.move, .smove and .sweep
> (whose name may change in a new official release)) that change only the x and
> y parameters. The code for the example would change to this if you use .move
> for x and y parameters: .put s1 x=50 y=50 scalex=110 scaley=110 .frame 50
> .move s1 x=0 y=0 .change s1 scalex=210 scaley=210 red=-1+255 green=-1+255
> blue=-1+255 #invert .frame 100 .move s1 x=100 y=50 .change s1 scalex=110
> scaley=110 red=0 green=+0 blue=+0 #remove red .frame 150 .move s1 x=0 y=0
> .change s1 scalex=210 scaley=210 red=+0 green=2 blue=-1+255 #amplify green,
> invert blue .frame 200 .move s1 x=50 y=100 .change s1 scalex=110 scaley=110
> red=2-128 green=-2+255 blue=+0.7+40 #alien glow .frame 250 .move s1 x=0 y=0
> .change s1 scalex=210 scaley=210 red=8-1024 green=8-1024 blue=8-1024 #palette
> reduce .frame 300 .move s1 x=0 y=0 .change s1 scalex=210 scaley=210 red=+0
> green=+0 blue=+0 #back to normal .frame 350 .move s1 x=105 y=105 .change s1
> scalex=0 scaley=0 luminance=0 #fadeoutWhy the new commands? .smove makes the
> object traverse a spline path and .sweep (?) is used for circular
> trajectories. Syntaxes:.move x= y= ( x and y coordinates of target
> position).smove x= y= ( x and y coordinates of target position).sweep x= y=
> r= dir= arc= ( x and y coordinates of target position, radius of the circle,
> direction of traversal (clockwise or counterclockwise), arc (short or long)
> determines whether the long or the short route is taken. This is a necessary
> parameter because for a given x, y and r there are 2 possible
> circles)RegardsHuub> Date: Fri, 19 Sep 2008 14:05:25 -0400> From:
> address@hidden> To: address@hidden> Subject: [Swftools-common] Simple
> question>> Newbie to swfc. I tried to run example 1.2 on>
> http://www.swftools.org/swfc/swfc.html. Got below error when I compiled> the
> program.>> "photo.sc", line 7 column 75: warning- As of version 0.8.2 using
> the> .change command to modify an object's position on the stage is>
> considered deprecated. Future versions may consider x and y parameters> for
> the .change command to be illegal; please use the .move command.>> After
> changed ".change" to ".move" command, got following error.>> "photo.sc", line
> 7 column 22: error- Illegal argument "scalex" to .move>> May I know the
> syntax for scale and move command? Where can I find the> updated user guide
> or manual?>> Thanks.> - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> - - - - - - - - - - - - - - - ->> This message is intended only for the
> personal and confidential use of the designated recipient(s) named above. If
> you are not the intended recipient of this message you are hereby notified
> that any review, dissemination, distribution or copying of this message is
> strictly prohibited. This communication is for information purposes only and
> should not be regarded as an offer to sell or as a solicitation of an offer
> to buy any financial product, an official confirmation of any transaction, or
> as an official statement of Lehman Brothers. Email transmission cannot be
> guaranteed to be secure or error-free. Therefore, we do not represent that
> this information is complete or accurate and it should not be relied upon as
> such. All information is subject to change without notice.>> --------> IRS
> Circular 230 Disclosure:> Please be advised that any discussion of U.S. tax
> matters contained within this communication (including any attachments) is
> not intended or written to be used and cannot be used for the purpose of (i)
> avoiding U.S. tax related penalties or (ii) promoting, marketing or
> recommending to another party any transaction or matter addressed herein.>>
> _________________________________________________________________
> De leukste online filmpjes vind je op MSN Video!
> http://video.msn.com/video.aspx?mkt=nl-nl
>
_________________________________________________________________
De leukste online filmpjes vind je op MSN Video!
http://video.msn.com/video.aspx?mkt=nl-nl