>
> On Sat, Aug 21, 2010 at 7:10 PM, Max Carlson < <[email protected]>
> [email protected]> wrote:
>
>> Can you use RegExps instead of string ops for the parser in embednew.js?
>> Also, could the parsing/unparsing code be shared by embednew.js,
>> dev-console.lzx, LzDebug and LzKernelUtils?
>>
>
> I was having trouble in LzDebug.makeWindow() with calling out from the app
> to lzembed to get the parser service; it seemed like the lz.embed code was
> not initialized yet when LzDebug tried to call it. Maybe that code runs too
> early in the app init process to reliably
> talk to lz.embed ? So that's why I ended up putting a copy of the options
> parser into the LFC
> (in LzKernelUtils).
>
>
> Sure, but why not share the same include across both places?
>
>
You mean include the same file into the LFC and into embed.js? I guess I
could
do that, although that would mean I would not want to use regexps because
they
aren't available in natively in swf8. Also, where should the source file
live?