Game Development Reference
In-Depth Information
the objects in the content for garbage collection and will save
you a lot of time trying to manually purge all those references
yourself.
The garbage collector in Flash has many nuances, and Adobe
will surely continue to improve it with each new version of the
Flash Player, hopefully eventually giving developers the ability to
delete an object outright without having to wait for the GC to do it.
Conclusion
Hopefully,thischapterhasbeenaneffectiverundownonallthe
basics you need to know about using AS3 in Flash. This foundation
will allow us to explore new classes and features in later chapters
as we begin to build games. If you
re interested in learning more
about the fundamentals of ActionScript, a good place to start is
Adobe
'
s documentation on Flash. It is very thorough and covers all
of these subjects and more in detail. Many thanks to Grant Skinner
for his blog posts on garbage collection
'
they were an invaluable
resource.
Search Nedrilad ::




Custom Search