Posts filed under 'Flex'
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
Adobe, AIR, Application, Flash, Flex, macromedia, RIA
June 9th, 2008
Add to your FavLinks
I’m curious if anyone need handle both events on same component in same time. Just imagine situation: You got circle. On MouseEvent.CLICK you want to decrease radius by 10px, on MouseEvent.DOUBLE_CLICK increase radius by 10px. It is obvious that when you double click on circle, you dont want to fired both: decrease and increase radius.
Sure, there can be some “workarounds” with timer or “somehow” canceling CLICK event on DOUBLE_CLICK, but I hope there is “normal solution” from Adobe. Can anyone point me to that “normal solution”
P.S. Do not forget to set doubleClickEnabled=”true” to be able to listen to MouseEvent.DOUBLE_CLICK
Adobe, Flash, Flex, FlexTips
May 29th, 2008
Add to your FavLinks
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…
AIR, AirTips, Flash, Flex, FlexTips
May 29th, 2008
Add to your FavLinks
This is not tutorial, I’m just trying to figure answer our for that question: Is it possible to embed just some glyphs of font in AS3.0 project? I’m using just FlexBuilder, but there some other way, please let me know, I need to know answer ASAP.
Please let me know if it is not possible as well. Till now I think it’s not possible…
Thanks in advance to anybody for answer!
Franto
ActionScript, Adobe, embed font, Flash, Flex, glyph, Question
May 26th, 2008
Add to your FavLinks
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
3D, ActionScript, Adobe, AIR, Beta, Collections, Flash, Flash Player 10, Flash Tutorials, Flex, Macromedia Tips, software, Tutorial, tutorials, Useful links
May 21st, 2008
Add to your FavLinks
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:
3D, ActionScript, Adobe, AIR, Beta, Collections, Flash, Flex, tutorials, Useful links
May 20th, 2008
Add to your FavLinks
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.
AIR, AirTips, Flash, Flex, FlexTips, Free Tutorials, Macromedia Tips, Paypal, tutorials, Useful links
April 29th, 2008
Add to your FavLinks
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:
-
[Bindable] public var dpRows:ArrayCollection;
then you can create filter function in this simple way:
Actionscript:
-
public function filterResults():void
-
{
-
dpRows.filterFunction = _sortRows;
-
dpRows.refresh();
-
}
and finally function, which filters results. It returns true for row, which will be visible, and false for row which will be hiden.
Actionscript:
-
private function _sortRows(item:Object):Boolean
-
{
-
var col:String = cmbCol.selectedItem.data as String;
-
var key:String = keyword.text;
-
-
key = key.toLowerCase();
-
-
if (key != "")
-
{
-
if (col != "any")
-
{
-
var value:String = item[col];
-
value = value.toLowerCase();
-
-
if (value.indexOf(key)>= 0)
-
{
-
return true;
-
}
-
} else {
-
for (var o:String in item)
-
{
-
value = item[o];
-
value = value.toLowerCase();
-
if (value.indexOf(key)>= 0)
-
{
-
return true;
-
}
-
}
-
}
-
} else {
-
return true;
-
}
-
-
return false;
-
}
It's quite simple tutorial. Here you can see source code for example which follows.

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.
AIR, AirTips, Flash, Flex, FlexTips, Macromedia Tips, Tutorial, tutorials
April 29th, 2008
Add to your FavLinks
Previous Posts