More information about the Underscore mailing list

[_] any chance of a skillswap about flash OOP

Matt Kane ascorbic at gmail.com
Wed Oct 17 14:05:59 BST 2007

On 17 Oct 2007, at 13:54, juan kennaugh wrote:

> 1. Well - lots of the stuff I do have animations in movieclips and  
> other
> things which can't be created with the drawing API. So lots of my  
> stuff
> is taylor made to suit a particular job. So if I have to make a video
> player, it's easier just to stick and FLVplayer instance in a  
> movieClip,
> stick some buttons in there and drop it on the stage. I could put all
> the code in an imported bunch of classes - but it's likely that next
> time I do a video player, it will by made differently - so unless I  
> make
> an OOP video player that encompasses every possible use I could  
> have for
> it, It would be quicker to just copy and paste some code and amend it.
>
> I don't really make applications (where I can see OOP would be really
> useful)
>
> 2. Am I right in thinking that those frameworks are just big sets of
> classes - when using them, do you just use the methods of the provided
> classes or do you extend the classes?
>

Or rather than cutting and pasting code, put it in a class, and  
subclass it if your new project requires something to be changed.  
What sort of stuff changes between projects and what stays the same?


--
Matt Kane, Lead Developer, Clementine
http://www.clevr.com/
http://www.clementine.info/

Clementine is a trading name of Sphex LLP