Re: [flexcoders] Re: DB access in Apollo

2007-03-06 Thread Jason King
Having a stand-alone environment that can connect to a database is handy for lots of kinds of applications. If we're having a wish list here, how about the ability to use jdbc drivers and include some local db + drivers, maybe derby or sqllite. Maybe I'm having flashbacks (pardon the pun) to my p

Re: [flexcoders] Re: how do you call the super's super?

2007-03-01 Thread Jason King
This is just blue-sky guessing, but why not use prototype. class Base { updateDisplayList:Void() { /* some good code */} } class Child { updateDisplayList:Void() { // hundreds of lines of useless code } } class Grandchild { Grandchild() { Grandchild.prototype.updateDispla

Re: [flexcoders] Re: Dynamically creating item IDs

2007-03-01 Thread Jason King
I'm not mr. actionscript but a class like this should facilitate what you need. class Idgen { static var nextid:int = 0 ; static function getNext:String() { return "id" + nextid; nextid++; } static function reset:void() { nextid = 0; } } Then call Idgen.g

Re: [flexcoders] Gordon Smith - Some Answers about the Datagrid

2007-02-20 Thread Jason King
I'm not all that up on designing components but assuming its like the javabeans for guis many years ago, assuming your new component can have some kind of a properties palette where the application developer can set new attributes then I'd definitely say make them more extensible and the RAD w