On 2007-02-27, at 05:37 EST, strk wrote:
On Mon, Feb 26, 2007 at 05:02:14PM -0500, Henry Minsky wrote:
PTW mentioned writing a zero byte file for the LFC7.lzl, and then
compiling
the main app, what happened when you tried that?
I tried this.
LFC7.lzl is, despite the extension, an SWF file (why is that?).
No good reason. This should be filed as a bug.
I substituted it with an empty SWF and the resulting main.swf
reduces to a size of about 1Kb. Still, it contains a few
DEFINEBUTTON and DEFINEMOVIECLIP instantiation of
them and some exportAssets.
What can I wipe out next, and is there really no way to specify
this as a 'lzc' command-line switch ?
The DEFINEBUTTON, etc. are the standard scaffolding that bridge
between the player runtime and our runtime library, so they are
needed in every Laszlo app. As a result no one ever considered
making them optional.
--strk;
I'm in the middle of rebuilding my development world, but I can
try a few
things when I'm back running.
The approach i suggested below should produce an executable
library file,
which is designed to be loaded into the
main application via a loadMovie() call.
On 2/26/07, Henry Minsky <[EMAIL PROTECTED]> wrote:
Can you try this
main.lzx:
<canvas>
<import href="mylib.lzx"/>
</canvas>
mylib.lzx:
<library>
<script when="immediate">
foo = 259;
</script>
</library>
If you compile the main.lzx, it should produce an auxiliary
library file
named build/main/mylib.lzx.swf, or maybe mylib.swf, I forget,
but that library file should have basically just the code in the
script
block, plus a little footer which calls back to the main movie after
loading.
On 2/26/07, strk <[EMAIL PROTECTED]> wrote:
Just to ping again on this thread...
I'm still at the point of being unable to produce a simple SWF with
OpenLaszlo.
Doing so will allow me to proceed in steps by
compiling parts of the runtime lib separately to try
at finding the problem preventing Gnash from playing *any*
OpenLaszlo-generated movie.
Last attempt was with revision 3927 (Feb 25 2007).
Source code is still the same:
<canvas> <script when="immediate"><![CDATA[
trace('hello world');
]]> </script> </canvas>
What am I doing wrong ?
--strk;
On Thu, Feb 15, 2007 at 11:32:53AM +0100, strk wrote:
On Wed, Feb 14, 2007 at 06:49:56PM -0500, Henry Minsky wrote:
Try this link
http://download.openlaszlo.org/nightly/legals/
Ok, got 4.0.x revision 3813.
Turned content of lps-4.0.x/Server/lps-4.0.x/lps/includes in
all empty
SWFs.
Compiled this script:
<canvas> <script when="immediate"><![CDATA[
trace('hello world');
]]> </script> </canvas>
But still find non-action tags in the resulting SWF:
Offset: 26 (0x001a) Block type: 32 (SWF_DEFINESHAPE3)
Offset: 58 (0x003a) Block type: 34 (SWF_DEFINEBUTTON2)
Offset: 155 (0x009b) Block type: 26 (SWF_PLACEOBJECT2) [
__offscreenkeyclip ]
...
--strk;
It was linked from the page
http://www.openlaszlo.org/download#legals
I'll try and get that patch in tomorrow for the PLACEOBJECT2 bug.
On 2/14/07, strk <[EMAIL PROTECTED]> wrote:
On Wed, Feb 14, 2007 at 04:08:06PM -0500, Henry Minsky wrote:
Basically all the tags in an lzx file compile down to function
calls to
LzInstantiateView which is defined in the LFC.
You can get an app which contains code which doesn't depend on
the LFC
by
making an app which looks like
<canvas>
<script when="immediate">
<![CDATA[
some javascript here
]]>
</script>
</canvas>
Note that we only added the when="immediate" feature a couple
weeks ago,
so
you need a new build to do this.
Are nightly builds available ? (build instruction are wrong,
refer
to a
directory
not available in SVN: jakarta-ant-1.5.1)
--strk;
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]
_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev
--
() ASCII Ribbon Campaign
/\ Keep it simple!
_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev
--
() ASCII Ribbon Campaign
/\ Keep it simple!
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]
_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev
--
() ASCII Ribbon Campaign
/\ Keep it simple!
_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev