[Laszlo-user] proposal to support setting compiler options from canvas tag

Henry Minsky henry.minsky at gmail.com
Tue Jan 29 13:12:26 PST 2008


Yes, putting it into lps.properties would be easier

In SWFWriter.java, where it currently says

   s = mProperties.getProperty("swf.frame.rate", "30");

It could default it to the LPS property


   s = mProperties.getProperty("swf.frame.rate",
LPS.getProperty("swf.frame.rate", "30"));

On Jan 29, 2008 4:07 PM, Sebastian Wagner <seba.wagner at gmail.com> wrote:
> if this is not prio1-feature, a possible faster fix might be to add a
> property to the lps.properties?
>
> so that by default, it uses the frame-rate from the lps.properties
> I think that could be quite easy, isn't it?
>  The other way would be much more elegant but I am afraid it could take
> quite long till this is into trunk or a release.
>
> sebastian
>
> 2008/1/29, Henry Minsky <henry.minsky at gmail.com>:
>
> > I'd like to propose a method for passing compiler property values to
> > the LPS compiler
> > via a new attribute in the canvas tag. We could use CSS style
> > arguments, such as
> >
> > <canvas compilerproperties="swf.frame.rate: 30; swf.text.leading: 2" >
> > ...
> > </canvas>
> >
> >
> >
> >
> >
> >
> >
> > --
> > Henry Minsky
> > Software Architect
> > hminsky at laszlosystems.com
> >
>
>
>
> --
>  Sebastian Wagner
> http://www.webbase-design.de
> http://openmeetings.googlecode.com
> http://www.laszlo-forum.de
>  seba.wagner at gmail.com



-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com


More information about the Laszlo-user mailing list