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;
     }
}

Five gallons of milk in a four gallon box Thursday, February 04, 2010
Just posting this because maybe it will help someone...

I decided to try using a TextLayout component in a SWF loaded into a rather large Flex app that has been in development for some time.. well.. it blowed up.

Main Thread (Suspended: VerifyError: Error #1014: Class flash.text.engine::ContentElement could not be found.)

Here's the weird part...
- The SWF worked fine when viewed directly in the browser (as expected).
- If the SWF was loaded into the Flex app which was launched by "run" or "debug" from FlexBuilder... it broke (as expected, see error above).
- If the SWF was loaded into the Flex app which was viewed directly in the browser ... it broke (as expected, see error above).
- If the SWF was loaded into the Flex app which was launched by "Profile" from FlexBuilder.... it worked (aaahhhh?)

That last one threw me for a loop because the problem was the Flex project was set to compile for Flash Player 9 and the SWF being loaded in with the TextLayout is dependent on some Flash Player 10 tricks. So why then did it work when I did a "Profile" from FB? .. somewhere there must be a setting or some documentation for this (the profile feature probably relies on something FP10 specific) but I'm not looking for it since I'm beyond the issue now.

Anyway, the solution of course was just to set the Flex project to compile for Flash Player 10...
Flash CS4 library symbol preview wonky Thursday, December 10, 2009

Here’s what it looks like when I click on symbols in the library in CS4..

Those could be symbols of cars, monkeys, baseballs..  it doesn’t matter.  I get horizontal lines. 

It’s been this way for a while and I’ve just been avoiding the inevitable reinstall and kind of enjoying the little bit of chaos that this brings into my workspace.  It’s time for it to end though.  I need to see what I’m about to drag out onto the stage instead of it being a surprise.  heh.  My library is a box of chocolates.. I never know what I’m going to get until I drag it to the stage.

Page 3 of 145 pages  <  1 2 3 4 5 >  Last »