Adobe Donates Flex to Apache Friday, November 18, 2011

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




Toggle between log and linear axis with Flex LineChart Wednesday, November 09, 2011
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;
     }
}

stripping Carriage Returns in Flash Sunday, February 09, 2003
I was working on a Flash project, and needed a way to quickly strip the carriage returns out of some XML so I could paste it into the JavaScript that I was using to send the data into the SWF (I know there are better ways.. ) and came up with this code...


(((edited to add that this was an ANCIENT post.. and it's much easier to just use something like mystring = string.split("\n").join(""); )))






Flash MX drawing methods.. Friday, January 17, 2003

I played around for a few minutes with the Flash MX ActionScript drawing methods..  curveTo, and lineTo.

Basically I started with the Macromedia example for curveTo which is supposed to draw a circle (but doesn’t) and went off. .  check it out at http://oddhammer.com/tutorials/curveto.html

Page 143 of 145 pages « First  <  141 142 143 144 145 >