Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
"be consistent"
 
PerlMonks  

SWF Flash Module?

by Adam (Vicar)
on Dec 28, 2000 at 19:07 UTC ( [id://48678]=perlquestion: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.

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

I remember reading somewhere, not that long ago, that there was a Perl module to write SWF format files (Shockwave Flash). Since SWF is, as far as I know, an open standard, I don't doubt the existence of such a module. But a search of CPAN turned up nothing. Does anyone know where I could find such a module?

Corollary: If SWF can be written by Perl, can it be written directly to an http server? Could a dynamic flash be made this way? Thoughts to think.

Replies are listed 'Best First'.
Re: SWF Flash Module?
by davorg (Chancellor) on Dec 28, 2000 at 19:11 UTC
      Stable or not, the demos are very impressive. I'll definately take a look at this. Thanks.
Re: SWF Flash Module?
by Anonymous Monk on Dec 28, 2000 at 20:52 UTC
    Yeah, i have used one of the SWF modules for Flash.

    Its just a wrapper around libswf.a, created by some generous individual at SGI.

    It supports the Flash-3 command set (i.e. no Flash4/Flash5 style scripting), so extensive Flash scripting support is what you want, you may be on your own (forced to implement the SWF spec yourself) unless there is another project that includes this.

    I wasn't able to get the control i wanted over my Flash presentations with this module - i.e i couldn't get the 'jump to frame and stop' actions working properly, so eventually (I was somewhat time-constrained) i gave up using it and the project i was looking at using it for is now based on Java servlets creating GIFs on-the-fly.

    Still, for simply creating a static Flash page, the module works quite well.

    You can find it at http://the-labs.com/PerlFlash/

    Hope that helps.

      Do you know if there is any other development in that direction?

      Flash::* depends on libswf, so I wouldn't be able to install it on a server where I can only upload to my home direcotry, right?
      There are useful ready-made tools like swift-generator (http://www.swift-tools.com) which unfortunately comes without sources.
      I am very interested in generating SWF using Perl, with modules entirely in Perl not depending on anything else. But I doubt that I have the experience to write such a package, and I surely don't have the time to do so :(

      I'd like to know how many people are around that are also regularly using both Perl and Flash.
        check out SWF::Builder and SWF::File at search.cpan.org all perl and very thorough. wish there were more examples, tho. -=trickyelf>
Re: SWF Flash Module?
by isotope (Deacon) on Dec 29, 2000 at 19:38 UTC
Re: SWF Flash Module?
by sonofsamiam (Initiate) on Dec 29, 2000 at 20:49 UTC
    I've successfully done on-the-fly flash from cgis w/ Bukoo (http://www.geocities.com/yiyisun/bukoo/) and Win32::OLE. Kinda weird, kinda slow, but it worked like it was supposed to. And I wouldn't reccommend it for any kind of a heavy load. But, hey, you know...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://48678]
Approved by root
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.