Luke,
Yes, that is the goal of the project, however you
can't really make a runtime actionscript parser :). I
tried, very very very difficult. So what I did was
just use MTASC to handle the ui events and so forth.
Looks something like this...
var listener = new Object();
var form = new Object();
var params = new Object();
var handler = new Object();
listener.onLoad = function(success){
Global.getWindow("client").focusManager.setFocus(form.name);
}
listener.toggle = function(success){
Global.route(Application.access,"showWindow:client");
}
listener.close = function(e){
Global.destroyWindow("client");
}
UIManager.render("/client.xml",system,listener,form,params);
--- "Luke Hubbard ([EMAIL PROTECTED])"
<[EMAIL PROTECTED]> wrote:
> I have also thought about this..
> A runtime renderer seems to offer more flexibility
> than compile time
> engines like in flex and would be easy for people to
> extend for thier
> own needs.
>
> On 6/30/05, Scott Whittaker
> <[EMAIL PROTECTED]> wrote:
> > I too have been thinking of implementing such a
> project for some time but
> > have never had the time. My initial thoughts on
> the concept was to make an
> > extensible framework based on XHTML and CSS 2.0. I
> would start by building a
> > basic box model that could be used to create
> nested DIV tags with content,
> > and slowly work up to tables etc.
>
> XHTML, CSS, XFORMS... sounds a bit like deng.
>
> > Even better, utilising the fact that HTML browsers
> will ignore tags they
> > don't understand, that opens up unlimited
> extensibility through custom tags
> > and Flash-only CSS tags.
>
> Perhaps some of these concepts could be built into
> deng 2 as
> extensions, when flash 8 comes along.
>
> Something the css and xhtml route is lacking is
> layout managers. For
> me they are the key. box, grid, bag, spring etc. I
> started on layout
> mangers and manged to create a spring layout manger
> by following the
> concepts in java. This can be used to implement the
> other layout
> managers like box and grid. If we could mix blocks
> of xhtml, attach
> symbols, and have flexible layout options using diff
> layout manager
> tags i would be in heaven.
>
> -- luke
>
> _______________________________________________
> osflash mailing list
> [email protected]
>
http://osflash.org/mailman/listinfo/osflash_osflash.org
>
__________________________________
Discover Yahoo!
Find restaurants, movies, travel and more fun for the weekend. Check it out!
http://discover.yahoo.com/weekend.html
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org