Here the source you can find an example of a simple OO structure in FLASH CS3 / 4
It needs an empty FLASH movie with in the properties window setting the class to OOstarter
This OOstarter imports all the other classes it needs.
It just loads an image and a textfield, waits 2 seconds and loads another image and starts moving a small circle around.
the movement is quite bad!
It illustrates the use of classes, and could be the beginning of a wonderful mini golf game.
the source
Aucun commentaire:
Enregistrer un commentaire