[osflash] mxml on client
Igor Ageyev
igor at ageyev.ru
Sat Nov 5 11:27:19 EST 2005
hw> Does your code operate in the development environment (like flex does)
hw> so that it creates swfs or actionscript which you then compile,
No.
hw> or is you code written in actionscript, so that MXML user interfaces can be
hw> built inside the flash player based on a download of the MXML?
XML2UI (name of beta version) is an ActionScript 2.0 library compatible to Flash Player 6 and above.
Example of use:
// name of a class probably I'll change
import ageyev.xml2ui.UImaker;
var test:UImaker = new UImaker();
// testData - MXML data
test.render(testData);
// function registered for the button in mxml [ click='clickMe()' ]
function clickMe(){
if(test.validate()){
trace(test.getXML());
trace(test.getVars());
}
}
hw> Also, when do you intend to release this.
Probably, next week.
--
Best regards,
Igor mailto:igor at ageyev.ru
More information about the osflash
mailing list