gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] Re: Hello world working with OpenLaszlo


From: strk
Subject: Re: [Gnash-dev] Re: Hello world working with OpenLaszlo
Date: Thu, 1 Mar 2007 15:35:10 +0100

I've found at least *one* of the nogo points.

Commenting out this line:

LzLoadQueue.timeoutDel = new LzDelegate( LzLoadQueue , "checkTimeout" );

In kernel/swf/LzLoadQueue.as, get successfully to my trace.

I've changed the code to:

_global.trace('initializing LzLoadQueue.timeoutDel');
LzLoadQueue.timeoutDel = new LzDelegate( LzLoadQueue , "checkTimeout" );
_global.trace('LzLoadQueue.timeoutDel (not) initialized');

The second trace is *never* reached.

Now, looking at LzDelegate class definition:

./events/LaszloEvents.lzs

Which function is the constructor ? Is it 'initialize' ?

--strk;


On Thu, Mar 01, 2007 at 09:01:52AM -0500, P T Withington wrote:
> Ah.  Sorry about the confusion.  Not sure why what I wrote does not  
> work.
> 
> On 2007-03-01, at 08:59 EST, strk wrote:
> 
> >Found a workaround:
> >
> >'_global.trace("message");' bypass the surveillance.
> >
> >--strk;
> >
> >On Thu, Mar 01, 2007 at 01:53:21PM +0100, strk wrote:
> >>On Thu, Mar 01, 2007 at 05:57:03AM -0500, P T Withington wrote:
> >>
> >>>That looks like a 'feature' in the compiler.  It seems that it
> >>>intentionally compiles away any `trace` calls.  Perhaps this was to
> >>>avoid debug output in production.
> >>>
> >>>Try building your LFC with:
> >>>
> >>>  buildlfc -DcompileTrace=flash ...
> >>
> >>No difference, no even additional warnings.
> >>Note that the trace() calls I'm adding to  .lzs files,
> >>LIke:
> >>
> >>On top of LaszloLibrary.lzs:
> >>
> >>trace("LaszloLibrary.lzs included");
> >>
> >>--strk;
> >>
> >>
> >>_______________________________________________
> >>Gnash-dev mailing list
> >>address@hidden
> >>http://lists.gnu.org/mailman/listinfo/gnash-dev
> >
> >-- 
> >
> > ()   ASCII Ribbon Campaign
> > /\   Keep it simple!
> >

-- 

 ()   ASCII Ribbon Campaign
 /\   Keep it simple! 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]