|
From: | Henry Minsky |
Subject: | Re: [Gnash-dev] Hello world working with OpenLaszlo |
Date: | Thu, 1 Mar 2007 08:08:49 -0500 |
I thought Henry put the change in to get the byte length to agree.
Henry?
On 2007-03-01, at 04:38 EST, strk wrote:
> Some additional info. Here's the gprocessor -v output :
>
> Base url set to: file:///tmp/laszlo/main.swf
> Movie file:///tmp/laszlo/main.swf added to library
> 10:35:56: MALFORMED SWF: swf_event::read(), event_length = 111, but
> read 110. Skipping excessive bytes.
> 10:35:56: MALFORMED SWF: swf_event::read(), event_length = 109, but
> read 108. Skipping excessive bytes.
> 10:35:56: MALFORMED SWF: swf_event::read(), event_length = 78, but
> read 77. Skipping excessive bytes.
> 10:35:56: MALFORMED SWF: swf_event::read(), event_length = 76, but
> read 75. Skipping excessive bytes.
> 10:35:56: ACTIONSCRIPT ERROR: call_method invoked in something that
> doesn't cast to an as_object: undefined
> 10:35:56: TRACE: Hello world
> 10:35:56: ACTIONSCRIPT ERROR: call_method invoked in something that
> doesn't cast to an as_object: undefined
>
> You may note that the MALFORMED SWF message is still there, so that
> off-by-one bug
> in the compiler isn't fixed yet. Dunno if it has to do anything
> with the further
> problems.
>
> The call_method errors are due to 'LzCanvas' and 'canvas' being
> undefined.
>
> --strk;
>
> On Thu, Mar 01, 2007 at 10:25:15AM +0100, strk wrote:
>> I finally handled to have an 'hello world' trace working.
>> This is the source code:
>>
>> <canvas>
>> <script when="immediate">
>> trace("Hello world");
>> </script>
>> </canvas>
>>
>> Note that 'when="immediate"' is required for this to work.
>>
>> Also, this *only* works if I wipe out LFC7.lzl, making it
>> an *empty* SWF (any target version seems fine).
>>
>>
>> I'm now proceeding by incrementally adding components
>> of the LFC7.lzl back in, but I don't understand a simple thing:
>> what language are the .lzs written in ? :)
>> I tried adding trace() calls there, but w/out success, it seems..
>>
>> --strk;
>>
>>
>> _______________________________________________
>> Gnash-dev mailing list
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/gnash-dev
>
> --
>
> () ASCII Ribbon Campaign
> /\ Keep it simple!
>
[Prev in Thread] | Current Thread | [Next in Thread] |