[Laszlo-dev] [Gnash-dev] YouTube video via OpenLaszlo

Henry Minsky henry.minsky at gmail.com
Wed Feb 14 13:08:06 PST 2007


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.

But note that this won't excercise any of the rendering capabilities.  But
you can call the Flash APIs directly, such as createMovieClip, etc.



On 2/14/07, strk <strk at keybit.net> wrote:
>
> On Wed, Feb 14, 2007 at 03:13:02PM -0500, P T Withington wrote:
> > You could replace LFC*.lzl with an empty swf file and the compiler
> > wouldn't know any better.  That would be one way to do a 'binary'
> > search.
>
> This worked nicely, thanks !
>
> -rw-r--r-- 1 strk strk 73744 Feb 14 21:57 test-full.swf
> -rw-r--r-- 1 strk strk  1134 Feb 14 21:56 test-small.swf
>
> Now, the test-small.swf file still chokes Ming.
> Gnash reports (as expected) a call to the undefined  LzInstantiateView
> function:
>
> 21:58:48: WARNING: error in call_function: 'LzInstantiateView' is not a
> function
>
> --strk;
>
>


-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20070214/a6e940c6/attachment.html


More information about the Laszlo-dev mailing list