P T Withington wrote:
On 2006-12-04, at 14:49 EST, Max Carlson wrote:
P T Withington wrote:
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().
It depends on the resource you're including. Setting play="true" on
the view should suffice.
I'm talking about maintaining swf compatibility. In
example/animation/simpletest.lzx the logo starts playing immediately in
swf and does not play at all in dhtml. How do we make dhtml compatible?
Until we support full-on swf resource embedding in DHTML, you can't make
them consistent. The workaround is to use an alternate form of
animation, e.g. http://localhost:8080/legals/test/lfc/legals/animation.lzx
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).
Don't we want this to be a relative URL ('') so it's implicitly
relative to the page load?
Sure, if that works out. I was not sure what the browser would resolve
a relative url that was loaded by javacript loaded from the LFC to.
Does it resolve it to the current iframe/window? The url the script was
loaded from? Something else?
All URLs are resolved relative to the HTML page loaded in an
iframe/frame/window object.
--
Regards,
Max Carlson
OpenLaszlo.org