[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-dev] Interesting swf application (musical theory)
From: |
strk |
Subject: |
Re: [Gnash-dev] Interesting swf application (musical theory) |
Date: |
Sat, 10 Jan 2009 00:47:40 +0100 |
On Sat, Jan 10, 2009 at 12:09:15AM +0100, strk wrote:
> For example the first lesson (Staff, Clef and Ledger Lines) is available
> as SWF4: http://www.musictheory.net/legacy/html/id10.html
> and SWF6: http://www.musictheory.net/lessons/html/id10_en.html
>
> Gnash fails at playing the SWF6, succeeds with the SWF4.
The failure is due to XML::load function refusing to work
for an object which is not strictly a LoadableObject type.
In the SWF6 case above, a LessonLoader AS class is created
to derive from XML, and .load() is called on it.
IIRC all XML.load does is loading the whole resource into
a string and calling this.onData, so there should really
be nothing requiring strict typing.
I think it would be useful to move the LoadableObject functionality
into a service exposed by movie_root. A service that loads something
and calls onData on the passed object when done.
--strk;
GIS & Flash consultant/developer () ASCII Ribbon Campaign
http://foo.keybit.net/~strk/services.html /\ Keep it simple!