Hi there,

Maybe this is spam(ish) but for those of you who are more comfortable
reading in Spanish, i wrote an open "book" about AS2 and OOP basics
here:

http://loqueyosede.com/as2/

Hope it helps!

Juan

On 8/14/07, Hans Wichman <[EMAIL PROTECTED]> wrote:
> Just on a side note, its not just -ow-what-shall-we-use-today- its a more
> fundamental conceptual issue as well, such as are you dealing with a is-a
> relationship or has-a or is-part-of-a etc.
>
> I don't know if better class hierarchies change that, but maybe they
> could...
>
>
> On 8/13/07, T. Michael Keesey <[EMAIL PROTECTED]> wrote:
> >
> > On 8/13/07, Steven Sacks <[EMAIL PROTECTED]> wrote:
> > >  > You can override the getter and/or setter of any
> > >  > property: x, y, width, height, etc.
> > >
> > > This is actually one of the benefits in AS2 of using composition instead
> > > of inheritance with MovieClip.
> >
> > But it should be noted that there are problems with using composition,
> > too. For example, you could pass control of one movie clip to more
> > than one View object. (Well, in some circumstances that could be seen
> > as a benefit, but I think it would usually be not so good.)
> >
> > In the end, you just have to familiarize yourself with everything, try
> > different patterns, and see what makes the most sense on a
> > case-by-case basis. And oftentimes there are cases where two or more
> > solutions make roughly equal sense, perhaps in different ways. You
> > just have to go with something and, if it later turns out to be
> > awkward, refactor it.
> >
> > One last note: there are many cases where it might be better to use
> > composition in AS2 but inheritance in AS3. Adobe's display classes in
> > AS3 are much better set up for extension, with a far more intelligent
> > class hierarchy.
> > --
> > Mike Keesey
> > _______________________________________________
> > [email protected]
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>


-- 
Juan Delgado - Zárate
http://zarate.tv
http://dandolachapa.com
http://loqueyosede.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to