29-10-2009

GradientCanvas vs. Degrafa test

I've decided to do some test of performance of GradientCanvas compared to Degrafa capabilites. The test is very simple. Create 1000 of Canvas items - rounded rectangles with gradient fills. It's common usage for buttons, item renderers etc. It look something like:


GradientCanvas profiling screenshot:


Degrafa profiling screenshot:

It looks like degrafa creates lots of heavy objects. Degrafa is 3.5 times heavier than GradientCanvas. I expected the opposite. You can download the source and try. Maybe my degrafa code is sloppy.

09-09-2009

Flash SEO Tool

I've created a kind of idea to make google index flash sites. See it here:
http://flashseotool.com/

30-04-2009

Custom color error in Flex RichTextEditor workaround.

There's a problem with RichTextEditor in Flex. Hitting 'Enter' in color picker (to apply custom color) deletes currently selected text (described here ). There's a simple workaround:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" initialize="init()" xmlns:local="*">
<mx:Script>
<![CDATA[
import mx.events.DropdownEvent;
private function init():void
{
rte.colorPicker.addEventListener(DropdownEvent.OPEN, colorPickerOpen);
rte.colorPicker.addEventListener(DropdownEvent.CLOSE, colorPickerClose);
}

private function colorPickerOpen(event:Event):void
{
this.rte.textArea.editable = false;
}

private function colorPickerClose(event:Event):void
{
this.rte.textArea.editable = true;
}

]]>
</mx:Script>

<mx:RichTextEditor id="rte" text="asdfasdf" width="100%" height="100%"/>

</mx:Application>

19-11-2008

Home-made gantt chart example

Gantt chart example made on Adobe LifeCycle ES

http://83.142.206.74:8080/OnlineGanttDS/

login as admin/admin

Watch real-time data syncronisation (login twice in different browsers) as a use of Data Management Services.

Gantt-chart is totally home-made (maybe it'll be open-source).

17-11-2008

Seam Carving content aware scaling in Photoshop CS4

Heard about famous "Content Aware Scaling" in Photoshop CS4 ?

Well... it was introduced some time ago in Gimp as "Liquid scaling" here http://liquidrescale.wikidot.com/ or as a simple scaling tool here http://code.google.com/p/seam-carving-gui/

Both implementations are totally free and are using the same Seam Carving algorithm - watch the video here http://www.seamcarving.com/

You can find an Action Script implementation here

http://www.quasimondo.com/archives/000652.php

03-10-2008

Legato Framework on googlecode

I've decided to put the framework described some posts ago as Legato Framework on google code - here

13-09-2008

IE, cahce and Event.COMPLETE

There's a problem with Interenet Explorer (6 or 7) and FlashPlayer 9. It seems that the loaderInfo doesn't dispath Event.COMPLETE when the movie is opened from browser cache on IE. Work fine with FF and Opera. What is more it works fine on latest Flash Player (9.0.124) but the problem exits on older (9.0.24 or something).