To answer you first question, in theory you could read in the swf and modify particular parts of it, however you would need to know exactly what you were looking for, swfs are compressed so there won't be a simple link to regex. To be honest I would just modify the swf to receive its parameters, its the more sensible way to do it. As for your second question CPAN has several modules which create swf's on the fly check out <A HREF=http://search.cpan.org/doc/YSAS/SWF-File-0.08/File.pm">SWF-File-0.08/File.pm but you have to think about do you really want to generate a swf and why? Would it not be easier just to modify the swf to receive the inputs ? HTH

In reply to Re: Perl Flash by ropey
in thread Perl Flash by hakkr

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.