Change 20080129-hqm-4 by [EMAIL PROTECTED] on 2008-01-29 16:17:22 EST
    in /cygdrive/c/users/hqm/openlaszlo/trunk/WEB-INF/lps/server/src
    for http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/server/src

Summary: allow swf frame rate to be configured from lps.properties file

New Features: allow swf frame rate to be configured from lps.properties file

Bugs Fixed:

Technical Reviewer: max
QA Reviewer: ptw
Doc Reviewer: liorio

Documentation:

Release Notes:

Details:

setting swf.frame.rate in config/lps.properties will set the swf frame
rate compiled
into an app


Tests:

set lps.properties: swf.frame.rate = 12

compile an app

look at it with flasm, see frame rate = 12


Files:
M      org/openlaszlo/compiler/SWFWriter.java


Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080129-hqm-4.tar


On Jan 29, 2008 4:12 PM, Henry Minsky <[EMAIL PROTECTED]> wrote:
> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>:
> >
> > > 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
> > > [EMAIL PROTECTED]
> > >
> >
> >
> >
> > --
> >  Sebastian Wagner
> > http://www.webbase-design.de
> > http://openmeetings.googlecode.com
> > http://www.laszlo-forum.de
> >  [EMAIL PROTECTED]
>
>
>
> --
>
> Henry Minsky
> Software Architect
> [EMAIL PROTECTED]
>



-- 
Henry Minsky
Software Architect
[EMAIL PROTECTED]

Reply via email to