[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-dev] Re: OpenLaszlo support (continued..)
From: |
strk |
Subject: |
Re: [Gnash-dev] Re: OpenLaszlo support (continued..) |
Date: |
Tue, 27 Feb 2007 00:03:06 +0100 |
Ok, after adding support for IMPORTASSETS2 Gnash plays the "library" file
with these two warnings onlyh:
MALFORMED SWF: Movie attempts to import symbols from itself.
WARNING: call_method invoked in something that doesn't cast to an as_object:
undefined
The first one we discussed already. Dunno if the font hack works, a testcase
would
help finding out.
The second one is due to LzInstantiateView being undefined. I think this is also
expected as the lib is not being loaded from the main file.
--strk;
On Mon, Feb 26, 2007 at 05:28:39PM -0500, Henry Minsky wrote:
> The importAssets hack is in there because it turns out that if you do that
> it imports any fonts in the loaded clip into the main app, so it's
> a way to dynamically load fonts at runtime. Unfortunately we couldn't figure
> out any way to use that to dynamically load swf assets (Laszlo resources) so
> they could be attached to clips in the main movie, Flash doesn't seem to
> allow that.
>
> On 2/26/07, strk <address@hidden> wrote:
> >
> >On Mon, Feb 26, 2007 at 05:05:54PM -0500, Henry Minsky wrote:
> >> stage="defer" or stage="late" will both work
> >
> >Ok. I tried both and both give the exactly same output in
> >build/main/mylib.lzx.swf
> >
> >'flasm' reports a single frame with 4 DOACTION blocks and in importAsset
> >which seems to be importing itself (weird).
> >The simple code is in the second DOACTION block, I guess I'll need to wipe
> >out one of those library files to get rid of the others, right ?
> >
> >Flasm output follows:
> >
> >movie 'build/main/mylib.lzx.swf' compressed // flash 7, total frames: 1,
> >frame rate: 0 fps, 500x400 px
> >
> > frame 0
> > constants 'LzInstantiateView', '_level0'
> > push 'LzInstantiateView', '_level0'
> > getVariable
> > push 'LzInstantiateView'
> > getMember
> > varEquals
> > end // of frame 0
> >
> > frame 0
> > constants 'foo'
> > push 'foo', 259
> > setVariable
> > end // of frame 0
> >
> > importAssets from 'build/main/mylib.lzx.swf'
> > end // of importAssets
> >
> > frame 0
> > constants '_parent', 'this', 'snippetLoaded', 'loader'
> > push NULL, 'this'
> > getVariable
> > push '_parent'
> > getMember
> > push 2, 'this'
> > getVariable
> > push '_parent'
> > getMember
> > push 'loader'
> > getMember
> > push 'snippetLoaded'
> > callMethod
> > pop
> > end // of frame 0
> >
> > frame 0
> > stop
> > end // of frame 0
> >end
> >
> >
> >--strk;
> >
>
>
>
> --
> Henry Minsky
> Software Architect
> address@hidden
> _______________________________________________
> Gnash-dev mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/gnash-dev
--
() ASCII Ribbon Campaign
/\ Keep it simple!
- Re: [Gnash-dev] Re: OpenLaszlo support (continued..), (continued)
- Re: [Gnash-dev] Re: OpenLaszlo support (continued..), P T Withington, 2007/02/27
- Re: [Gnash-dev] Re: OpenLaszlo support (continued..), P T Withington, 2007/02/27
- Re: [Gnash-dev] Re: OpenLaszlo support (continued..), strk, 2007/02/26
- Re: [Gnash-dev] Re: OpenLaszlo support (continued..), Henry Minsky, 2007/02/26
- Re: [Gnash-dev] Re: OpenLaszlo support (continued..), Henry Minsky, 2007/02/26
- Re: [Gnash-dev] Re: OpenLaszlo support (continued..), strk, 2007/02/26
- Re: [Gnash-dev] Re: OpenLaszlo support (continued..), Henry Minsky, 2007/02/26
- Re: [Gnash-dev] Re: OpenLaszlo support (continued..), strk, 2007/02/26
- Re: [Gnash-dev] Re: OpenLaszlo support (continued..), P T Withington, 2007/02/27
- Re: [Gnash-dev] Re: OpenLaszlo support (continued..), strk, 2007/02/27
- Re: [Gnash-dev] Re: OpenLaszlo support (continued..),
strk <=
- Re: [Gnash-dev] Re: OpenLaszlo support (continued..), P T Withington, 2007/02/27
- Re: [Gnash-dev] Re: OpenLaszlo support (continued..), strk, 2007/02/27
- [Gnash-dev] Re: OpenLaszlo support (Thank you!), Don Hopkins, 2007/02/26
- Re: [Gnash-dev] YouTube video via OpenLaszlo, Don Hopkins, 2007/02/06
Re[2]: [Gnash-dev] back again..., Udo Giacomozzi, 2007/02/09