In view of the object-oriented programming comes naturally produce components for reuse in other projects, especially if these components are general-purpose. The use of classes is definitely a step in the reuse of code, however, often these classes are linked to MovieClip also extremely complex. Thus arises the need to "import" is the ActionScript class (which is very easy) but also all the symbols associated with it.
Creating Components in Flash
This route is certainly the most correct from a strictly logical point of view. However, at least in the version of Flash MX, create a component that at least comes close to those provided with the development environment is no small feat. ) e la scrittura estremamente accurata della classe legata al nostro componente. The components, in fact, especially those visual, requires a whole series of procedures (such as the inclusion of the interfaces UIObject or UIComponent ) and writing extremely accurate class related to our component. But the fact remains that creating a component is an interesting experience to do, but the development time is truly remarkable. Also as a component must support the authoring mode in designtime or anything else that does not offer a preview of what will happen at runtime. You can associate an icon and a documentation fully integrated into the IDE of Flash, complete with intellisense when writing code. So here you choose this route involves a considerable expenditure of time, probably reserved for special projects where, for example, is precisely the component of the project objective.
There are software house specialized in the production of components for Flash, as both free and commercial products. Therefore excluding the components extremely simple, where for example there is no user interface, this method is excellent but temporalemte expensive and therefore not used in the majority of cases.






Latest Comments
Miriam : What do you think of Disqus? I am using it and I love it.
Giovambattista Fazioli : @ Nik: I'm happy! Good luck then!
Nik : I have Monday examining information on java, thanks to me you have been very useful, the book I was unclear ...
Mark : Thank you very much, I've lit
I solved it by setting [cc_objc] / / OptionViewController.m - ...
Giovambattista Fazioli : @ Mark: I suggest you think a more correct approach. If you run the subclass of the tab ...