[Twisted-web] generating Canvas.swf without needing Flash
dp at ulaluma.com
Sat Feb 12 15:00:43 MST 2005
On Feb 11, 2005, at 5:57 PM, Stefano Debenedetti wrote:
> I have done some experiments  in generating the Canvas.swf file
> using the excellent and free-of-charge KineticFusion SWF compiler 
> instead of the expensive Flash IDE.
This sounds absolutely wonderful. Thank you for trying this; I never
would have had time to do so.
> At first I simply used an empty RVML file (KF's XML format for
> representing SWFs) and tried to include the original canvas.as from
> SVN trunk but I got some (I guess trivial) compilation errors due to
> KineticFusion being slightly pickier than Flash on ECMAScript syntax.
If the errors are trivial, I am +100 on someone pointing me at an
environment where I can try this and see the errors, and a guide on how
to fix said errors. I would prefer to create ecmascript-compliant code
as much as possible (both in canvas and livepage, if possible -- don't
> So I decompiled the original Canvas.swf, cut and pasted all the
> ECMAScript code to a new canvas.as and included that one and not only
> it works like a charm but the resulting SWF is slightly smaller too.
> Maybe this will enable future Nevow releases to ship without the
> Canvas.fla file, which is then redundant and introduces a dependency
> on Flash for people willing to grok it.
Yes. I will attempt to get an environment where Canvas.swf can be
generated without Flash asap; it irritates me that I have to have Flash
running, which is ugly and a pig, just to press Command-0 every time I
change the .as file.
More information about the Twisted-web