PDA

View Full Version : swf generation


fabbianni
10-13-2004, 12:23 AM
Hi all...

I have 2 simple questions about laszlo... there is any workaround to generate local swf files from laszlo xml...
something like:
...
genrateTofile("generated.swf")
...

Other... There is any workaround to use laszlo with desktop applications to generate swf files
(not server model).. something like a desktop SDK.

thanks a lot

fabbianni

genegc
01-12-2005, 10:58 AM
I'm wondering the same thing. Can I use laszlo to generate a simple swf file and then just use it outside of laszlo?

Bryan
01-12-2005, 02:42 PM
I believe the ability to generate a standalone SWF file will be part of 3.0. As for desktop applications - do you mean create desktop applications with Laszlo, or is there a desktop application that can be used to create Laszlo applications...similar to the Flash IDE?

If it's the first - currently Laszlo exports to the SWF format which requires the Macromedia Flash runtime. The Flash runtime does not provide any means for desktop integration as it's designed to execute within a sandbox.

As for desktop applications to create Laszlo applications - I believe the only thing at the moment is the plug-in for Eclipse. While not as visually intuitive as the Flash IDE - it is much, much better than Notepad.

genegc
01-12-2005, 04:33 PM
Thanks for the reply Bryan.

An easy way to generate the swf (even without downloading and installing laszlo) is to go to http://www.laszlosystems.com/lps/laszlo-in-ten-minutes/
and use their tutorial to write and test your laszlo code. Then you can do a "save-page-as" on your browser and save the generated swf.