Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

How to compile perl source to SWF file? I have source in perl, but have no special modules(hosting plan have no this)
  • Comment on How to compile perl source to SWF file?

Replies are listed 'Best First'.
Re: How to compile perl source to SWF file?
by Your Mother (Archbishop) on Oct 02, 2004 at 19:25 UTC

    Well, I'll be damned. I didn't know SWF::Builder existed till just now. It comes with "asc.plx - SWF ActionScript compiler script."

    Looks interesting and fun. But it also looks like about a million times more difficult than using Macromedia Flash (which has automatic "tweening" for all the difficult things like animations and alpha changes) as diotalevi mentioned.

      And I may be reading it all wrong, but it looks like you can code as Perl object method calls that "build up" to a SWF file. That is, it looks like you could code either *.as ActionScript source files or *.pl code!

      AND, I just looked at what _else_ Yasuhiro Sasama has done, SWF::File . From one part of the readme:

      SAMPLE SCRIPT
      dumpswf.plx parses a SWF file and converts it to a perl script that outputs the same SWF file.
      These two modules together, is this like GD was for GIF files, allowing dynamic creation and output of SWF files?

      (Gaaah! Now I'm really worried I'll see even more of them Flash! creations? Bleaah!)

        I meant Perl perl interface to Ming. http://ming.sourceforge.net/ But I need online version for this Flash creator. Hosting service have no and does not support any SWF modules.
Re: How to compile perl source to SWF file?
by diotalevi (Canon) on Oct 02, 2004 at 18:54 UTC
Re: How to compile perl source to SWF file?
by mattr (Curate) on Oct 03, 2004 at 17:04 UTC
    The SWF modules look great, I always wanted something like that. There is also an interesting article about vnc2swf.