swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] rfxview updated for mouse scrolling.


From: peter kostov
Subject: Re: [Swftools-common] rfxview updated for mouse scrolling.
Date: Wed, 05 Nov 2008 12:53:19 +0200
User-agent: Thunderbird 2.0.0.17 (X11/20081004)

Matthias Kramm wrote:
On Tue, Nov 04, 2008 at 06:24:28PM +0000, Ian Wilkinson <address@hidden> wrote:
I've attached the code to this message, just place it after the dragrefresh = setInterval(refreshDrag, 20);

Thanks!

Are there any other changes you were planning to make to it that I might be able to implement?

Certainly- the TODO list for rfxview is long. :)
Page flipping, text search, printing are probably the top #3.
Any help you might lend is more than welcome.

While I've got your attention I'd like to ask a couple of quick questions;
The documentation for both swfc and the sc file format seems either a little out of date or incomplete.

I know. Next iteration of documentation-writing is on the horizon.
Right now, I'm still busy with the AS3.0 compiler though.

Is there a reference somewhere to exactly what commands can be put in a sc file and what the parameters are each command?

If you're not afraid of "The Source", there's an array called
"arguments[]" in src/swfc.c, which is actually quite readable.
(There probably should be some documentation autogenerated from that
 in the future)

Attached is a txt file with a list of commands and their arguments that I extracted from swfc.c. It was very useful for me :)

Peter

The swifty package in CVS is not mentioned on the swftools site, nor can google find any reference to it, other than the mailing list. I believe it to be a GUI for producing sc files, if so what state is it in, how do you go about running it (I have no experience with Tcl/Tk).

Afraid swifty was discontinued by the author (even though it was a quite
nice project). There are some GUIs out there for writing swfc scripts
though. Check the mailing list archives for links.

Greetings

Matthias







--
http://receptibg.com - рецепти, готварство и хранене, менюта, статии, идеи и полезни съвети
-------
Boryana & Peter Kostovi,
web design & webdevelopment
home site: http://bgwebdeveloper.com
Command, arguments

"flash", "bbox=autocrop background=black version=6 fps=50 name= filename= 
@compress=default @change-sets-all=no @export=1"
"frame", "n=<plus>1 name= @cut=no @anchor=no"
 
    // "import" type stuff
"swf", "name filename"
"shape", "name filename"
"jpeg", "name filename quality=80%"
"png", "name filename"
"movie", "name filename"
"sound", "name filename"
"font", "name filename glyphs="
"soundtrack", c_soundtrack, "filename"
"quicktime", c_quicktime, "url"

    // generators of primitives
"define", "name value=0"
"point", "name x=0 y=0"
"gradient", "name @radial=0 rotate=0 scale= scalex= scaley= x= y= width= 
height= r= shear=" //extra parameters like .texture
"interpolation", "name function=linear speed=1.3 amplitude=0 bounces=2 
growth=1.5 damping=2 slope=0"
"outline", "name format=simple"
"textshape", "name font size=100% text"

    // filters
"blur", "name blur= blurx= blury= passes=1"
"gradientglow", "name gradient blur= blurx= blury= angle=0.0 distance=0.0 
strength=1.0 @innershadow=0 @knockout=0 @composite=0 @ontop=0 passes=1"
"dropshadow", "name color blur= blurx= blury= angle=0.0 distance=0.0 
strength=1.0 @innershadow=0 @knockout=0 @composite=0 passes=1"
"bevel", "name shadow highlight blur= blurx= blury= angle=0.0 distance=0.0 
strength=1.0 @innershadow=0 @knockout=0 @composite=0 @ontop=0 passes=1"

    // character generators
"box", "name width height color=white line=1 @fill=none"
"circle", "name r color=white line=1 @fill=none"
"filled", "name outline color=white line=1 @fill=none"

"egon", "name vertices color=white line=1 @fill=none"
"text", "name text font size=100% color=white"
"edittext", "name font= size=100% width height text="" color=white maxlength=0 
variable="" @password=0 @wordwrap=0 @multiline=0 @html=0 @noselect=0 
@readonly=0 @border=0 @autosize=0 align="
"morphshape", "name start end"
"button", "name"
"show", "name x=0 y=0 red=+0 green=+0 blue=+0 alpha=+0 luminance= scale= 
scalex= scaley= blend= filter= pivot= pin= shear= rotate= ratio= above= below= 
as="
"on_press", "position=inside"
"on_release", "position=anywhere"
"on_move_in", "state=not_pressed"
"on_move_out", "state=not_pressed"
"on_key", "key=any"

    // control tags
"play", "name loop=0 @nomultiple=0"
"stop", "name= "
"nextframe", "name"
"previousframe", "name"

    // object placement tags
"put", "<i> x=0 y=0 red=+0 green=+0 blue=+0 alpha=+0 luminance= scale= scalex= 
scaley= blend= filter= pivot= pin= shear= rotate= ratio= above= below="
"startclip", "<i> x=0 y=0 red=+0 green=+0 blue=+0 alpha=+0 luminance= scale= 
scalex= scaley= blend= filter= pivot= pin= shear= rotate= ratio= above= below="
"move", "name x= y= interpolation=linear"
"smove", "name x= y= interpolation=linear"
"sweep", "name x= y= r= dir=counterclockwise arc=short interpolation=linear"
"change", "name x= y= red= green= blue= alpha= luminance= scale= scalex= 
scaley= blend= filter= pivot= pin= shear= rotate= ratio= above= below= 
interpolation=linear"
"arcchange", "name pivot= angle= red= green= blue= alpha= luminance= scale= 
scalex= scaley= blend= filter= pivot= pin= shear= rotate= ratio= above= below="
"schange", "name red= green= blue= alpha= luminance= scale= scalex= scaley= 
blend= filter= pivot= pin= shear= rotate= ratio= above= below= 
interpolation=linear"
"jump", "name x= y= red= green= blue= alpha= luminance= scale= scalex= scaley= 
blend= filter= pivot= pin= shear= rotate= ratio= above= below="
"del", c_del, "name"

pin= "center", "bottom-center", "top-center", "top-left","top-right", 
"right-center", "left-center", "bottom-left" and "bottom-right"

    // virtual object placement
"texture", "<i> x=0 y=0 width= height= scale= scalex= scaley= r= shear= rotate="

    // switching
"toggle", "name fixed_alignment="

    // commands which start a block
"startclip", (see above)
"sprite", "name scalinggrid="
"action", "filename="
"initaction", "name filename="

"end", ""


reply via email to

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