



Do you frequently use simple actionscript functions in more than one project. Perhaps you’ve got a function to do tracking, parse strings to dates, or return a random colour etc.
I’m sure most folk will have struggled to think of what project they last used a generic function ABC in as they could do with using it for project XYZ and would rather spend 30 mins searching for said function rather than rewrite it.
Well as explained below is a way to stop this from happening and hopefully save you a heap of time.
– Create a library project.
– add in your Utilty class to the library project.
– add the reference of the newly created SWC file to any project you intend to use it in.
You are now done, any time you update the code in the library project, those changes will be reflected in any project that references the SWC file automatically.


More Options ...
Categories
Tag Cloud
Blog RSS
Comments RSS

Void « Default
Life
Earth
Wind
Water
Fire
Light 