In a move that appears to be another step away from its Flash platform, Adobe has submitted the code for its Flash-based Flex framework to the Apache Software Foundation (ASF) to be managed as an independent project. more here
private var normal:Boolean = true;
public function init():void{
logScale_btn.addEventListener(MouseEvent.CLICK, toggleLog);
}
public function toggleLog(e:Event):void{
if(normal){
var LA:LogAxis = new LogAxis();
myChart.verticalAxis = LA;
normal = false;
}else{
var NA:LinearAxis = new LinearAxis();
myChart.verticalAxis = NA;
normal=true;
}
}
If you don’t have Flash MX2004 yet.. here’s a nice listing of the reference panel contents.. all linked up and pretty in pink. http://www.dynamicflash.co.uk/jsfl/#Library give it a whirl.
If you don’t have Flash MX2004 yet.. here’s a nice listing of the reference panel contents.. all linked up and pretty in pink. http://www.dynamicflash.co.uk/jsfl/#Library give it a whirl.
ok.. now we’re getting somewhere with ActionScript. There’s now a testing framework for ActionScript2. Nice stuff. It can be found here: http://www.as2unit.org/
ok.. now we’re getting somewhere with ActionScript. There’s now a testing framework for ActionScript2. Nice stuff. It can be found here: http://www.as2unit.org/
What is it, and what does it do? Read about it here: http://www.flashmagazine.com/html/863.htm
basically it’s a component that you add to your AS2 code and you can then run tests on the classes in your application. You set up what you expect from your code, and if it deviates from it AS2Unit will record it as a failure. You can develop your apps and build classes independent of one another, have each one tested before connecting them all together, and know that each one is working before you assemble them.
