I have been searching several days for an example of how to make a OSMF Widget writing some code with MXML (At least the layout code) and some code in AS3.
It is my first time working with this tech.
I have wrote some Widgets for OSMF in AS3, but now I have a design (Write in MXML) which I need to draw in the OSMF ChromeApplication.
I have been reading some OSMF source code and it seems that ChromeApplication extends Sprite, so my problem can be reduced to draw a MXML in a Sprite.
So my questions are:
- Is it possible to create a MXML element with AS3 code and add it to a Sprite?
- If it is possible, how do I do that?
- If not, What is the best aproach to have some MXML Classes inside OSMF?