Phil: do you want to take my changes and check in what is working so far? (Or tell me to just check this in if that is simpler.)

Max: What about starting animations automatically? How do we do that? Note that example/animation/simpletest.lzx?lzr=dhtml does not auto-play, but runs fine if you say v.play().

Both: And, we don't really want the ApplicationRoot to come from the wrapper. This should be computed by the app from the browser URL (will have to be for Solo deploy).

We can address the 2nd two issues after checking in what we have so far.

On 2006-12-04, at 13:23 EST, Max Carlson wrote:

P T Withington wrote:
Change 20061204-ptw-6 by [EMAIL PROTECTED] on 2006-12-04 07:50:39 EST
    in /Users/ptw/OpenLaszlo/legals-1
Summary: Almost working version of Phill's patch
Details:
    Here are my tweaks to Phill's patch (to LzSprite and
html-response). With these changes animation/simpletest.lzx loads
    without errors, and if, in the debugger, I say `v.play`, I get
    animation!  Max, presumably we need to auto-play multi-frame
resources when they load? Or, we need one more bit out of the SWF
    that says whether it should play on load?
Tests:
    examples/animation/simpletest.lzx v.play()
Files:
M      WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
M      WEB-INF/lps/server/src/org/openlaszlo/utils/FileUtils.java
M WEB-INF/lps/server/src/org/openlaszlo/compiler/ ObjectWriter.java M WEB-INF/lps/server/src/org/openlaszlo/compiler/ DHTMLWriter.java
M      WEB-INF/lps/server/src/org/openlaszlo/compiler/SWFWriter.java
M WEB-INF/lps/server/src/org/openlaszlo/compiler/ FileResolver.java
M      WEB-INF/lps/templates/html-response.xslt
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20061204- ptw-6.tar

Approved! With Tucker's changes, I see both server and application resources being loaded. All sample apps work, including lzpix and the components sampler. This is super-cool!

Say, does anyone have a copy of Henry's SOLO wizard?

--
Regards,
Max Carlson
OpenLaszlo.org

Reply via email to