Wednesday, March 11, 2009
Custom ActionScript 3 Components
Wednesday, March 11, 2009
While in the throes of creating AS3 code libraries, I felt the desire to encapsulate some of it into proper AS3 components that were easy to install, had documentation for them (thanks VisDoc) and had live preview as well as custom component parameter UIs.
I'd made plenty back in the AS2 days (bollocks to you xch), but since those days are long gone, I really wanted to re-learn the process and get working on AS3 components.
There is documentation and information scattered around the web on how to roll all this up properly. It's still an organizational challenge getting things created and ready for packaging, but after some trial and error and googling, I discovered the magic sauce in creating these things without requiring a FLA or using UIComponent.
The process is much better in my opinion in getting these things created and deployed. One of the quirks though is in the custom icon - I've noticed oddities in white or black being keyed as transparent in their display in the component panel. But that's just a nit.
If any are interested, I can report my findings here so you can get your own component factory churning out deployable developmental goodies to the masses. Or maybe this find of mine is just really basic and you've known all about all of this already. I spend 99.9% of my time with code only so getting into components again caused me to have to learn some things all over again.
Comments:
There are currently 3 Comments:
-
Mark said...“It'd be cool to see you blog your experience on this and some posts pulling all of the information together on how to do this!!”



