[Fling] Updated TypeResolver
Grant Davies
grant at bluetube.com
Mon May 22 08:55:18 EDT 2006
I'm wondering how useful it is to load a bunch of assets from an xml file... I can see if if you were writing an image viewer or something but not sure about every day use. I know in all my projects I want a group of assets loaded on demand not really pre-determined by xml, are you sure you're not trying to fit a round peg in a square hole ?
Grant
________________________________
From: Chris Allen [mailto:mrchrisallen at gmail.com]
Sent: Sun 5/21/2006 11:32 AM
To: Grant Davies
Cc: Fling at osflash.org; John Grden; Samuel Agesilas
Subject: Re: Updated TypeResolver
On 5/19/06, Grant Davies <grant at bluetube.com> wrote:
>
> rock on dude, nice job, did you ever figure out that whole boolean isssue ?
>
Yep, I sure did. Most of those problems were from using typeof
instead of instanceof in the wrong places and the ordering of these.
There was also the problem of me being a a dumb ass on occasion too.
;-) The unit test proved to be very useful to verify that all of the
types are being determined correctly.
> Let me know what you need me to work on next..
Well, I was thinking that it would be great to work on getting
AssetLoader to load via a configuration file (xml for example). So,
with this in mind, we can take the Spring approach and work on a
simple IoC setup. We will need a good class loader, another class that
reads the xml file and a basic ApplicationContext implementation. Luke
had made a start to this a while ago, I will be glad to share with you
his implementation. In fact I will just post it in SVN in another
section so you can see it on Monday morning. I would prefer to keep
the same syntax that Spring uses for these files. e.g. <beans><bean>
etc...
Other obvious things that need to be finished are the other Assets.
John is working on the Video/FLV asset and perhaps he can whip up the
LoadVars one as well. I will finish the AssetManager class on Monday.
Let me know your thoughts on all of this.
-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/fling_osflash.org/attachments/20060522/f5c6debd/attachment.htm
More information about the Fling
mailing list