Re: [Flashcoders] OOP methodology and flash. I'm loosing my faith...

2006-08-31 Thread JOR
/Polymorphism_(computer_science) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Meinte van't Kruis Sent: 25 August 2006 14:14 To: Flashcoders mailing list Subject: Re: [Flashcoders] OOP methodology and flash. I'm loosing my faith... well, I get Interfaces

Re: [Flashcoders] OOP methodology and flash. I'm loosing my faith...

2006-08-30 Thread Jeroen Beckers
mailing list Subject: Re: [Flashcoders] OOP methodology and flash. I'm loosing my faith... well, I get Interfaces, but thanks for explaining :). I just don't think actionscript, or java, has any polymorphism, since the definition of that is, in my opinion, a class having more than one parent class (ie

Re: [Flashcoders] OOP methodology and flash. I'm loosing my faith...

2006-08-29 Thread Mike Britton
All I have to say about this is tellTarget and _global tellTarget was deprecated in Flash 5 and has been removed in AS3. Not sure what you mean about _global, or why the conversation is over. If the original poster wants to build scalable and easily maintained apps, suggesting he use

RE: [Flashcoders] OOP methodology and flash. I'm loosing my faith...

2006-08-29 Thread Steven Sacks | BLITZ
I wrote: All I have to say about this is tellTarget and _global. Conversation over. Mike wrote: tellTarget was deprecated in Flash 5 and has been removed in AS3. Not sure what you mean about _global, or why the conversation is over. ... Maybe I'm missing something. Yes, a sense of

Re: [Flashcoders] OOP methodology and flash. I'm loosing my faith...

2006-08-25 Thread Ricardo Sánchez
Ok, I see its not so easy for everyone. Can anyone point out some tutorial-like examples on internet or books. I know a lot of theory (inheritance, polymorphism...) but I would like to see more applications for it so I can be more confident when I use it. On 8/24/06, slangeberg [EMAIL

Re: [Flashcoders] OOP methodology and flash. I'm loosing my faith...

2006-08-25 Thread Ron Wheeler
Almost all of the examples of coding on Macromedia are OOP. If you download any of the open source code in the http://www.osflash.org/ site, you will find nicely written, peer reviewed code written in Actionscript. For dozens of examples, download ActionStep. It is easy for everyone, some

Re: [Flashcoders] OOP methodology and flash. I'm loosing my faith...

2006-08-25 Thread Meinte van't Kruis
going a bit offtopic here, but isnt polymorphism a non-issue in both flash and java? People talk about like there can be such a thing in these languages, which isn't really true. It seems a bit silly to call something polymorphism just because its implementing some interfaces. oh well, that

Re: [Flashcoders] OOP methodology and flash. I'm loosing my faith...

2006-08-25 Thread Zárate
Ricardo don't lose the faith! Ever! Sorry, I didn't see this post before : ) I'm using OOP Flash everyday, and yes, sometimes if makes you feel stupid, but it's a matter of keep going until you feel comfortable. Then, I have cristal clear that I'm not going to get mad with patterns. Someone

RE: [Flashcoders] OOP methodology and flash. I'm loosing my faith...

2006-08-25 Thread Merrill, Jason
: [Flashcoders] OOP methodology and flash. I'm loosing my faith... Ok, I see its not so easy for everyone. Can anyone point out some tutorial-like examples on internet or books. I know a lot of theory (inheritance, polymorphism...) but I would like to see more applications for it so I can be more

Re: [Flashcoders] OOP methodology and flash. I'm loosing my faith...

2006-08-25 Thread James
they are different, as far as I know an interface, as in 'Interface' type does not itself have an implementation, whereas a subclass which displays polymorphism does, the difference comes from your design needs, for example: (polymorphism) class animal - can be a implemented class with

Re: [Flashcoders] OOP methodology and flash. I'm loosing my faith...

2006-08-25 Thread James
At 13:29 25/08/2006, you wrote: I use pseudo-MVCs in almost every application, but I'm fairly sure they are not strict MVCs. I don't care, to be honest. They do the work, which is nothing else but help me. yes. I don't use proper MVC pattern, but I find it very useful to divide things into

Re: [Flashcoders] OOP methodology and flash. I'm loosing my faith...

2006-08-25 Thread Meinte van't Kruis
well, I get Interfaces, but thanks for explaining :). I just don't think actionscript, or java, has any polymorphism, since the definition of that is, in my opinion, a class having more than one parent class (ie, can extend 2 or more classes), which isn't the case. So I don't understand why

Re: [Flashcoders] OOP methodology and flash. I'm loosing my faith...

2006-08-25 Thread Ricardo Sánchez
That's really not what polymorphism is. Polymorphism is where an Object can be used anywhere where an instance its class's parent is supposed to be used. And it has a lot of applications. On 8/25/06, Meinte van't Kruis [EMAIL PROTECTED] wrote: well, I get Interfaces, but thanks for

RE: [Flashcoders] OOP methodology and flash. I'm loosing my faith...

2006-08-25 Thread Giles Taylor
http://en.wikipedia.org/wiki/Polymorphism_(computer_science) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Meinte van't Kruis Sent: 25 August 2006 14:14 To: Flashcoders mailing list Subject: Re: [Flashcoders] OOP methodology and flash. I'm loosing my

Re: [Flashcoders] OOP methodology and flash. I'm loosing my faith...

2006-08-25 Thread Meinte van't Kruis
aaah ok, so polymorphism isnt multiple inheritance, well ok, got it wrong all this time, lol. thanks for the enlightenment :) On 8/25/06, James [EMAIL PROTECTED] wrote: in polymorphism using the previous example you could have a cat object with a 'make noise' method that prints 'meow' and a

Re: [Flashcoders] OOP methodology and flash. I'm loosing my faith...

2006-08-25 Thread Scott Hyndman
yes, you are. If you read the first two paragraphs of the wikipedia article you'd see it has nothing to do with multiple inheritance. It has to do with multiple objects (poly) being contrained by the same interface (form, morph), whether the interface is quite literally an interface, or whether

RE: [Flashcoders] OOP methodology and flash. I'm loosing my faith...

2006-08-25 Thread Steven Sacks | BLITZ
All I have to say about this is tellTarget and _global. Conversation over! ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig

RE: [Flashcoders] OOP methodology and flash. I'm loosing my faith...

2006-08-24 Thread neo binedell
I'll tell you a little secret about OOP. Don't sweat it. Sometimes the model jumps out at you but other times you have to find it. How to find it? Write something that does what you want. Then refactor it once you have a better idea of how it works. The more you do that the more certain

Re: [Flashcoders] OOP methodology and flash. I'm loosing my faith...

2006-08-24 Thread Marcelo de Moraes Serpa
OOP and Flash is indeed tricky to fully grasp. It has become easier and more natural to implement OOP techniques on AS3 though. @Neo: Completely agree with you. On 8/24/06, neo binedell [EMAIL PROTECTED] wrote: I'll tell you a little secret about OOP. Don't sweat it. Sometimes the model

Re: [Flashcoders] OOP methodology and flash. I'm loosing my faith...

2006-08-24 Thread slangeberg
My main motivation for this stuff in Flash is so that my code actually gets checked by the compiler, vs. Flash's crappy built-in code-checking for the stage. That is, it will tell me if I've mis-spelled something, created duplicate variables, the list goes on... In addition, I write my classes