Flash 10 Language Reference

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

There is brand new Flash 10 Language Reference for download. Check it up, it’s cool. I’ve inserted into my Flash Player 10 collection which counted 55 links in this moment. Pretty exciting about all news about Flash 10 stuff.

Everything that’s new in the Flash Player 10 beta docs

Via Tink and Lee

, , , , , ,
AddThis Feed Button

Add comment May 23rd, 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

Cylinder radial segment primitive object for Papervision3D

For my latest project I needed to display 3D cylinder slices - Papervision was an obvious choice. Unfortunately the primitive cylinder class does not work this way, the cylinder is built as a square mesh with no option for segment slices. So I had to help myself, I started to play with the almost undocumented PV3D primitives, step by step modifying the original cylinder class and after couple hours I dig out what is what and derived my RadialSegment class. It follows the original concept with one material for whole object, supports UV mapping and inherit all other properties. Here it is, use it as you wish.

papervision3d cylinder radial segment

Code and live example in full article
(more…)

, , , ,
AddThis Feed Button

3 comments May 19th, 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

Facebook Chat

Today Facebook add chat into its site. You can find it at bottom-right. Very neat Ajax app :) Thanks to Ryan Stewart for notifying me through Twitter. Only thing I'm missing is multi chat, but I think it's matter of time :)

, , , ,
AddThis Feed Button

1 comment April 23rd, 2008 Add to your FavLinks

FlexSpy - inspector in your Flex/AIR application

FlexSpy - Flex/AIR debugger
FlexSpy - Kind of what Firebug does for HTML/Ajax applications but for Flex 2.0/3.0 applications.

This is another quick help in Flex/AIR development. If you need component inspector in your application, FlexSpy is great library for you. All you need to do, is add lib into your project (Flex 2 or Flex 3 version) and call
FlexSpy.show(); That's all and you can inspect your classes right in Flash player. You can also change values and change will be reflected in your app. You can also Find Component for inspecting with dragging cursor over component. So download FlexSpy from Google Code and try it. It will help you in your Flex/AIR development.

Live example: http://www.mieuxcoder.com/data/2007/12/FlexSpy-1.2/dashboard.html

, , , , ,
AddThis Feed Button

Add comment April 18th, 2008 Add to your FavLinks

Next Posts Previous Posts