Posts filed under 'AIR'

I just won Flex Builder 3 Professional Edition

If you're new here, you may want to subscribe to my RSS feed. If you like my site, consider linking back. I prefer text "Free Flash Tutorials" to http://blog.franto.com
Thanks for visiting my site! If you need anything just contacting through Contact page or Gtalk widget

Heh, I just won Flex Builder 3 Professional Edition on onAIR Tour in Prague few minutes ago :)) Mike Chambers lucky hand ;))

We’re in process of founding our company called Flexets, so it’s cool, I won Flex for Flexets :)

Thanks Adobe

, , , , , ,
AddThis Feed Button

3 comments June 9th, 2008 Add to your FavLinks

onAIR Tour - Prague

I’m attending onAIR Tour in Prague today, and it seems it wil be great event. Ryan Stewart already finished keynote, and now Mike Chambers creates HelloWorld AIR app. He’s pretty good ;) hehe…. I will add photos and my ramblings from today event in the evening…

Stay tuned

, , ,
AddThis Feed Button

1 comment June 9th, 2008 Add to your FavLinks

FlexTips - Stop displaying Focus

Here is quick Flex Tip. If you don’t want to display focus rectangle on pressing TAB key, you should use focusEnabled = false;
It’s quick solution for 1 component, but if you want disable focus for all components in your application just use focusManager.deactivate();

That’s all, hope it helps to anyone…

New: Thanks to Marc Hughes for pointing this out:

Instead of focusManager.deactivate(); use focusManager.showFocusIndicator=false;

, , , ,
AddThis Feed Button

2 comments May 29th, 2008 Add to your FavLinks

Flash Player 10 Collection: 30 links and counting

My Flash Player 10 Collection is growing. Is not 24 hours from publishing and there are almost 30 links to various information and resources about Flash Player 10, PixelBender, different Flash tutorials how do stuff for Flash Player 10. So if you want to have all information in 1 place, watch for Flash Player 10 Collection.

If you want to be informed about new links, follow me on Twitter: Franto

, , , , , , , , , , , , , ,
AddThis Feed Button

Add comment May 21st, 2008 Add to your FavLinks

New Flash Collection: Flash (Player) 10

It seems that time for my new Flash Collection is here :) Adobe has some great news for all Flash/Flex/AIR developers.
So enjoy my new collection and post links to other resources you know, want to be included in this collection

Collection of Flash Tutorials,Flash Examples and Source codes for Flash 10 content:

PixelBender links:

And some info and videos from last year from different conferences:

, , , , , , , , ,
AddThis Feed Button

11 comments May 20th, 2008 Add to your FavLinks

Support Franto.com

It seems that my site got some problem with traffic and is so slow (at least for me), so I want to do anything with that. Change webhost provider, or change it to dedicated server and then provide Flex, AIR, Flash tutorials for anyone who want to learn new Adobe technology. Because this costs money, I’ve create Franto.com Supporters page, when I will list all supportes for my site (PR7). So if you wish support it and let me try to do anything to speed up this site and provide good free tutorials for anyone you can just support this site.

Thanks in advance.

, , , , , , , , ,
AddThis Feed Button

2 comments April 29th, 2008 Add to your FavLinks

“Filter results in DataGrid” Flex Tutorial

Table of contents for DataGrid

  1. Custom header in DataGrid
  2. Custom header in DataGrid - part 2
  3. “Filter results in DataGrid” Flex Tutorial

This is new post in my DataGrid Series Flex Tutorials. This tutorial shows you how to filter rows for searched keyword. It's quite easy, since dataProvider for DataGrid is ArrayCollection, and ArrayCollection has variable filterFunction. It simple expect function which will filter correct rows for you. So basically, you have Datagrid and dataProvider is defined like this

Actionscript:
  1. [Bindable] public var dpRows:ArrayCollection;

then you can create filter function in this simple way:

Actionscript:
  1. public function filterResults():void
  2.  {
  3.     dpRows.filterFunction = _sortRows;
  4.     dpRows.refresh();
  5. }

and finally function, which filters results. It returns true for row, which will be visible, and false for row which will be hiden.

Actionscript:
  1. private function _sortRows(item:Object):Boolean
  2. {
  3.             var col:String = cmbCol.selectedItem.data as String;
  4.             var key:String = keyword.text;
  5.            
  6.             key = key.toLowerCase();
  7.            
  8.             if (key != "")
  9.             {
  10.                 if (col != "any")
  11.                 {
  12.                     var value:String = item[col];
  13.                     value = value.toLowerCase();
  14.                    
  15.                     if (value.indexOf(key)>= 0)
  16.                     {
  17.                         return true;
  18.                     }
  19.                 } else {
  20.                     for (var o:String in item)
  21.                     {
  22.                         value = item[o];
  23.                         value = value.toLowerCase();
  24.                         if (value.indexOf(key)>= 0)
  25.                         {
  26.                             return true;
  27.                         }
  28.                     }
  29.                 }
  30.             } else {
  31.                 return true;
  32.             }
  33.            
  34.             return false;
  35. }

It's quite simple tutorial. Here you can see source code for example which follows.

ArrayCollection filterFunction example screenshot

In next tutorial for DataGrid I will show you how you can add Button into cell. We will use custom itemRenderer for DataGridColumn.

If you have any questions, or suggestions for tutorial, please let me know...

Enjoy.

, , , , , , ,
AddThis Feed Button

2 comments April 29th, 2008 Add to your FavLinks

Luca Mezzalira

Luca Mezzalira

Hey, who knows Luca and thinks he is famous developer, please write me and Luca, my new mate, comment ;))

You know, he told me, he would be very glad, that me, Franto, the famous developer :) will blog about him :)
So here it is... Say hello to Luca, read what' s new on Luca's blog.
Yesterday he has showed me (and to all attendes of his great session about Bitmaps in Flex), that exists mx.graphics.ImageSnapshot class. I didn't know it. And it was just matter of attending 360Flex in Milan. Great :)

Thank you.

, , ,
AddThis Feed Button

1 comment April 9th, 2008 Add to your FavLinks

Previous Posts