More information about the Underscore mailing list

[_] any chance of a skillswap about flash OOP

juan kennaugh contact at jkennaugh.co.uk
Wed Oct 17 14:25:07 BST 2007

Yeah - I suppose you are right - that's why I need help to learn faster 
- there's lots of tutorials/books out there but they either assume 
you're a genius or all you want to do is create and object called ball 
and give it a width and a height.

Although - last night I finally found a tutorial which explained some 
stuff about classes really well:

http://www.gotoandlearn.com/ (Using Custom Classes)

don't know if you lot have seen these already - but they are all good 
tutorials.

Juan


Matt Kane wrote:
> 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
>
>
>
>