RE: [Flashcoders] Q:Coding : from Procedural to Class based code?

2006-11-01 Thread Mark Lapasa
The primary motivation for 'converting to class based code' should be to establish a seperation of concerns. If your one routine does many things or better said 'has many responsibilities', then you need to identify those areas that do very distinct things and decouple them from the routine. Over

RE: [Flashcoders] Q:Coding : from Procedural to Class based code?

2006-11-01 Thread Mike Keesey
Well, as an initial stab, you could do something like this: package radialnav class RadialManager extends MovieClip center:Point [read-only] createItem(symbolName:String, tweenSettings:TweenSettings):RadialItem tweenIn():Void tweenOut():Void class RadialItem