Perl::Flash PerlFlash

2001-07-20 Thread Jónas Tryggvi Jóhannsson

Hi,
I'm wondering if anyone has any experience with the Perl::Flash
(http://www.2shortplanks.com/flash/) or the PerlFlash
(http://www.the-labs.com/PerlFlash/) packages.  The deal is that both
modules have problems with converting images (gif  jpeg) to the SWF format.
When this is done, the modules both seem to print out blank spaces where the
picture should've went.
Has anyone experience this problem or/and fixed it perhaps, or is this just
a stupid mistake on my behalf?

I've included the code I use to do this below (in case this is a programming
error).
Any suggestions/comments would be well appreciated.

P.S. If anyone knows about any other PERL Flash modules, please don't
hesitate to mention them ;)

CODE: (PerlFlash Test (http://www.the-labs.com/PerlFlash/)
===
#!/usr/bin/perl -w

  ###
  # PerlFlash Wrapper test  #
  ###

use Flash;

Flash::open('test.swf',256,256,20);
Flash::ortho2(-100,100,-100,100);
Flash::defineBitmap(1,test.jpg);
Flash::placeObject(1,50);
Flash::showFrame();
Flash::close;
===

Magnus Thor Jonsson
http://www.adlib.is/




Re: Perl::Flash PerlFlash

2001-07-20 Thread Nouguier Olivier

Jónas Tryggvi Jóhannsson wrote:

 P.S. If anyone knows about any other PERL Flash modules, please don't
 hesitate to mention them ;)


hi,
Look at http://www.opaque.net/ming/ there is perl a binding that works well

--
My mother always used to tell me, The early bird gets the worm.
The message seemed pretty clear to me: If you sleep late, you're
a lot less likely to be killed by a bird.
-- Elliott Downing






Re: Perl::Flash PerlFlash

2001-07-20 Thread Robin Berjon

On Friday 20 July 2001 16:42, Jónas Tryggvi Jóhannsson wrote:
 I'm wondering if anyone has any experience with the Perl::Flash
 (http://www.2shortplanks.com/flash/) or the PerlFlash
 (http://www.the-labs.com/PerlFlash/) packages.  The deal is that both
 modules have problems with converting images (gif  jpeg) to the SWF
 format.

I don't know if this could be related to your problem but last I checked 
those modules hadn't been updated in quite a while, and were both incomplete 
in terms of implementation. If their authors have stopped working on them, 
then it is possible that there are pending bugs that are unresolved, and may 
unfortunately never be fixed.

 P.S. If anyone knows about any other PERL Flash modules, please don't
 hesitate to mention them ;)

Well, it's probably not _the_ answer but have you considered using SVG 
instead of Flash ? SVG can do what Flash does and more, and its only problem 
(lack of wide user base) is being solved at great pace by the fact that Adobe 
are bundling their SVG plugin with Acrobat Reader, meaning millions of people 
are getting SVG every day. SVG is XML so it's really easy to generate it from 
Perl (just like HTML) using some template system or AxKit. Just gzip the 
output and you're done :)

-- 
___
Robin Berjon [EMAIL PROTECTED] -- CTO
k n o w s c a p e : // venture knowledge agency www.knowscape.com
---
Give a man a fish and he will eat for a day. Teach him how to fish, 
and he will sit in a boat  drink beer all day.




Re: Perl::Flash PerlFlash

2001-07-20 Thread Robin Berjon

On Friday 20 July 2001 16:58, Robin Berjon wrote:
 Well, it's probably not _the_ answer but have you considered using SVG
 instead of Flash ? SVG can do what Flash does and more, and its only
 problem (lack of wide user base) is being solved at great pace by the fact
 that Adobe are bundling their SVG plugin with Acrobat Reader, meaning
 millions of people are getting SVG every day. SVG is XML so it's really
 easy to generate it from Perl (just like HTML) using some template system
 or AxKit. Just gzip the output and you're done :)

I forgot to mention this, but if you want to get a feel of how SVG can be 
produced from Perl, then there's a really good article on xml.com: 
http://www.xml.com/pub/a/2001/07/11/creatingsvg.html

-- 
___
Robin Berjon [EMAIL PROTECTED] -- CTO
k n o w s c a p e : // venture knowledge agency www.knowscape.com
---
Change is inevitable except from a vending machine.





[OT] Re: Perl::Flash PerlFlash

2001-07-20 Thread Soheil Seyfaie


hi,

I'm the author of the ming XS code. I posted it to the ming mailing list a
while back but didn't have the chance to fix all bugs/memory leaks. I
don't really recommend using it under mod_perl. Though I got involved in
other projects and didn't work on it for a long time, I have a much
improved version which I never posted. Please contact me privately if you
need further info (I assume that ming is OT).

Thanks
Soheil

On Fri, 20 Jul 2001, Nouguier Olivier wrote:

 Jónas Tryggvi Jóhannsson wrote:
 
  P.S. If anyone knows about any other PERL Flash modules, please don't
  hesitate to mention them ;)
 
 
 hi,
 Look at http://www.opaque.net/ming/ there is perl a binding that works well
 
 --
 My mother always used to tell me, The early bird gets the worm.
 The message seemed pretty clear to me: If you sleep late, you're
 a lot less likely to be killed by a bird.
 -- Elliott Downing
 
 
 
 




Re: Perl::Flash PerlFlash

2001-07-20 Thread Leon Brocard

Jónas Tryggvi Jóhannsson sent the following bits through the ether:

 I'm wondering if anyone has any experience with the Perl::Flash
 (http://www.2shortplanks.com/flash/) or the PerlFlash

Yes, I've been helping Simon Wistow with Perl::Flash stuff. He's
presenting a talk about it at the O'Reilly Open Source conference next
week and the code has changed a lot recently (and not the website
;-). However, at the moment it's more geared towards parsing Flash
files rather than generating them. Please check out the CVS code at:
http://sourceforge.net/projects/gravel/ or join the mailing list at
http://www.astray.com/mailman/listinfo/gravel or come and talk to us
in the conference ;-)

Leon
-- 
Leon Brocard.http://www.astray.com/
Iterative Software...http://www.iterative-software.com/

... That phrase is true ---   --- That phrase is false