Reputation: 45921
I'm developing an ActionScript 3.0 project for Blackberry Playbook, Android and iOS.
I have some custom UI classes, like buttons, that I want to use it in another projects.
How can I make an actionscript mobile library project?
I'm using Flash Builder 4.5, and I'm not using Flex in my code.
Upvotes: 1
Views: 773
Reputation: 316
Using Flash Builder 4.5:
choose File > Project > New
choose "library project"
check the "include AIR features" box.
This will compile a .swc, a binary file you can distribute easily.
Including AIR in this .swc ensures that all the mobile-oriented features will be compiled as well, i.e. TouchEvent.
Flex classes, that you're not using, won't be included.
Upvotes: 3
Reputation: 9897
You can create ActionScript project, then add it to your mobile project's references (as a source.) Or create Flex library and link it with mobile project.
Upvotes: 1