After yesterday’s frustrations with the technical limitations I’m running into, I thought I’d put out some questions to the community to see what they feel is important to them in a Flash Lite 2 component framework. This will help me focus my efforts and deliver something useful to the developer community by the Ides of March.
Last fall, I set out to create a Flash Lite 2 component framework, called Shuriken, that made developing Flash Lite 2 applications not only capable (no UIComponent…wtf!?), but also pleasurable since nothing exists currently in that realm for Flash Lite 2. Adobe has provided Flash Lite 1.1 components that do not utilize ActionScript 2, nor any of the Flash Player 7 features. Their emulators, however, are top notch.
The goals, in order of priority for the set, are:
- work on the lowest common denominator; if it can run Flash Lite 2, the component framework should work.
- provide commonly required GUI components & utility classes while being easy for developers to extend.
- no styling or skinning code; developer / designer is responsible for decorating and/or changing base skin symbols. No assumptions are made in code.
I’m having problems meeting those goals, namely in regards to scalability. I cannot take all the RAM & CPU in the framework, but the more I take, the easier it is for the developer. I’m having serious challenges meeting both the desire to provide developers with a clean, useful API that hits most common use cases, but also is efficient enough to run on devices in a scalable way. These are bipolar goals, and meeting in the middle is starting to become impossible. I believe everything is possible, but I want to get to the most useful result, so am hoping you all can help me focus on that result.
Onto the questions:
- Are those goals accurate? Agree? Disagree? See a different order? Different priorities?
- Would you rather have a clean ActionScript 2 API, or a lightweight one that doesn’t have much functionality, but does a lot of the grunt work? You have to choose one or the other, not both.
- How do you prefer to write events among the 4 options:
- child MovieClip calls a method on the parent via _parent.onEvent
- using built-in Flash Player 6 callbacks, like myClip.onPress = function
- using Flash MX callback mechanisms, like myBtn.setPressCallback ( scope, functionToCall )
- With regards to #2, would you prefer to have more GUI controls, or less controls that are more efficient?
Thanks for your time in answering these. It is appreciated, and will help provide a useful component framework for the Flash Lite community!
“Et tu Flash Lite Community? Then fall walled gardens.”