[screenweaver] ping
Michael Stuhr
michael.stuhr at gmail.com
Sat Sep 3 12:52:25 PDT 2005
Martijn de Visser schrieb:
>Good to have you on the list, Michael!
>
>
Heja!
>Not all, thanks for your thoughts. We indeed should move to AS2, which
>is also why I want to rebuild the whole thing from scratch.
>
AS2 is not a religion for me. i just put it in there to suit all those
geek needs :-)
Sometimes it's easier when you do AS1.
> Also, by
>creating seperate classes, maintainability should be improved a lot.
>Like I said, the AS1 code I wrote back then isn't exaclty a masterpiece
>oif art :-)
>
>
Well, it worked. That's what it should do, right ? And all i have to add
to that is: That's when you do closed source:
you can do what you want, as long as it works; nobody will ever see it
:-), and it's qay, i mean way better than most of what i did, just to
make that clear.
>I also want to generate the Editor GUI via XML to further improve
>maintainability.
>
>
That's what i thought too. I thought of this GUI like an extended Winamp
skin :-)
Let me clear my thoughts: When we have a core engine running (just a
bunch of AS classes, some Methods) we need to parse the xml to connect
the UI-Clip(s) with the API (core). So we'd need a core.swf and an
ui.swf, and a xml right ?
But can we generalize support for multiple Frameworks ? I firstly
thought of supporting V2 Components; although some of them are hardly to
skin, they provide a solid base. i'd prefer some OS-UI, but apart from
BBC Components which i've never used, i see no low level usage
Component-pack, or did i miss sth ?
I'm sorry, but cannot get my mind clear right now, we had 35° C today,
and i've been working 7 hours in the sun; building a shelter for the
kids' car fleet :-) now i'm drinking a cool beer, longing to play some
FIFA;
sorry
micha
---------------
Some loose thoughts:
xml could read like this:
<UI id="0000">
<Label id="0001" x="10" y="10">
<text><![CADATA[<b>A Label</b>]]></text>
</Label>
<Fieldset id="0002">
<Legend id="0003"><![CADATA[<b>Some UI things</b>]]></Legend>
<Button type="toggle" id="0004" x="10" y="30">
<label><![CADATA[<b>A Button Label</b>]]></label>
</Button>
<!-- etc pp. -->
</Fieldset>
</UI>
UI is needed as root, but every childnode's NodeName should be the
identifier of a clip inside ui.swf. The id's would come into game like,
if we'd have a List of id's (each stands for a function / method of our
API) in the core ...
---------------------------
More information about the screenweaver
mailing list