[Fling] Updated TypeResolver
John Grden
neoriley at gmail.com
Mon May 22 09:21:33 EDT 2006
Sorry, missed a children node:
<root>
<page name="home" src="home_%BANDWIDTH%" target="main.content.home">
<children>
<page name="news" src=... >
<assets>
<asset type="movie" src="home_bg.swf" src="..."
target="..." />
<asset type="sound"
src="home_bg_music_%BANDWIDTH%.mp3" src="..." target="..." />
<asset type="Bitmap" src="home_bg.jgp" src="..."
target="..." />
</assets>
<children>
<page name="archives" src=... />
</children>
</page>
</children>
</page>
</root>
On 5/22/06, John Grden <neoriley at gmail.com> wrote:
>
> yeah, I'm not sure what you mean with all your tech-no talk ;)
>
> I'm just saying that there has to be a relationship between the assets AND
> they location within the flash presentation. so, an XML representation is
> an obvious solution.
>
> the config files we have look something like this:
>
> <root>
> <page name="home" src="home_%BANDWIDTH%" target="main.content.home">
> <children>
> <page name="news" src=... >
> <assets>
> <asset type="movie" src="home_bg.swf" src="..."
> target="..." />
> <asset type="sound"
> src="home_bg_music_%BANDWIDTH%.mp3" src="..." target="..." />
> <asset type="Bitmap" src="home_bg.jgp"
> src="..." target="..." />
> </assets>
> <page name="archives" src=... />
> </page>
> </children>
> </page>
> </root>
>
> See how this works? Now the framework knows the relationships, and the
> assets per section. There can certainly be global assets as well.
>
> Does this make sense?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/fling_osflash.org/attachments/20060522/f02a3cc3/attachment.htm
More information about the Fling
mailing list