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
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
2 matches
Mail list logo