How to optimize development in Flash?
Yes, it couldcan be possible if you are be careful in development time. You should go through systematically. As we learn OOPS concept we can develop a complete animation in different sub portions. Sso whenever we want to change a single optionthing we don’t need to change whole conceptthing. We can say in different language that we never worry at all to disturb whole thing.
In other words, there is no need of getting worried of any interruption.
We can understand better from the to see following images:
![]() |
See the circle You can see we draw a circle which filled in by yellow gradient and then you can save it as library item. It’s a good practice so that when you can use same object or a part of an object in to another project. |
|
![]() |
Then after create eyes in an object. Tthis eye we create once & then we apply it in another layer, andI nin future , while creating we can create in another project we also can use it and hence so we should make it as library item so that it’s extensibility can increase. | |
![]() |
In eEach step you have to create an element to a main library item & your library item should be customizable. Sso in future if you want to change its styles then it should be in order.ok with that. |
Now we study the game programming so that we can understand better because frequent changes may require come in game programming often.
In below mentioned diagramfigure we can see a plane is flying up in theflaying on sky, birds are also flaying & in background sky, there are trees and landscapes. tries, land and grasses shows.
Here we have made many movie clips libraries. So, so when ever we wish to customize we can do so. After creating ed many parts of planes like wwingsings, cockpit, fans & so on and then . After assembled them in one file named Movie1, and then we placed them in our project area. Here you can see the yellow circle which shows the black smoke effect which we didn’t include in Movie1 library item because it’s not necessarysity, since it works in easilyeasily out side. Same thing happens with Movie2 file where we have created one flaying bird & it dynamically created multiple copies inon working area at run time. There are It’s X- and Y- axis we specify by Action script and so whenever we want to change we just set properties in code window.
We see the orange circle on top left where score shows here we make control which is programmable. So our game logic reflects here.
In background we just once created tree & grass object which dynamically created in timeline & change positions by Action script.

Here you can understand the benefit of making e different libraries of plane. When we want to show plane in crashing mode, we can set each library item’s different properties with the help of Action script. So its good practice to make library items independently & then integrated in one library item.

My personal experience suggests that avoid .JPG, .GIF, .BMP, .PNG files because
- It needs leads more time to load.
- It occupies more space.
- Its extensibility is limited.
- Development time increases.
- It takes more time to load.
Always prefer Action Script because code can change in short time period. And script’s extensibility is good and in future if you find any optimum solution then you can apply in old source easily.
Make new layer for each part and never try to make multiple objects on same layer.
During At the time of developing time lock the other layers since it . So, it can’t be safe from outside changes.
Author:
By Darshak Mehta
Darshak Mehtais working as a web developer at Semaphore Infotech Pvt. Ltd, India. He has 1.5 years experience. He is working on technologies like Asp.net and VB.net. You can contact on email: darshak@semaphore-software.com.





