well i have been doing the tutorials from MM on components.
I am kinda familiar with the idea of components seeing that I come from Director - where behaviours ruled the roost…
So after checking out how to build components - i am a little lost. Some code I have seen looks like a jazzed up extension prototype- some is hardcore OOP.
Does anyone have any examples -tutorials - insight - want to guide me through making one ( something simple like a preloader or whatever) ?? I say guide only because I really do want to learn it rather than have it done for me…
the tutorial is pretty dead on… easy to understand and all of that. Of course, my french is a little on the sucky side… but the AS is all english. I understood more french than I thought I would have… thanks!
Have you built components - ? Gone the oop route?
I have a couple of ideas on what I want to build component wise -but am having a hard time moving from the smartclip mindshift to OOP- I get the OOP bit - but its the putting it into practice bit…
any ideas on where to start … how to start?
I get the whole inheritance bit. It the getters and setters and methods I think that Kinda screw me up… :(…
Is the point of having getters and setters to encapsulate the code - and not have the props accessed directly but rather through methods?
any insight at all would be appreciated. I read the kickass Robin D’s tutorial - but still…got a bit of a thick head I am afraid …
I haven’t really tried to build a component seriously yet But I guess I’ll have to do it sooner or later… I’m a bit scared, to be honnest.
And about the OO approch, yeah, I think you have to practice and get used to it. But Robin D’s tutorial is for Flash 5. If you want something more Flash MX oriented, I think you’ll find it at quantumwave.
yeah I hear ya- its fro flash 5 but a lot of the prinicples don’t change I suppose.
Maybe you and I should challenge each other to make a component… that way we both do one and learn… but it would have to be something super easy- cos I am just not there yet…