This is a discussion on Adobe Flex Tips & Tricks within the Adobe Flex Programming forums, part of the Web Development category; wow what a great thread ......it really helps me a lot in different wayzz .......thanks a lot everyone for sharing ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#11
| |||
| |||
| wow what a great thread ......it really helps me a lot in different wayzz .......thanks a lot everyone for sharing all this genral information ....and special thanks to !_kerher_! for giving adobe flex tips and tricks .... |
|
#12
| |||
| |||
| When loading data from a webservice to be shown in a datagrid it seemed that all values in the grid are treated as string-values. So when sorting numeric columns the values were not in the correct order. Instead of: 1 - 2 - 3 - 4 - 11 - 12 -21 You get: 1 - 11 - 12 - 2 - 21 - 3 - 4
__________________ harshley |
|
#14
| |||
| |||
| Great tips! This adobe flex tutorial might be useful for beginners. Adobe Flex Tutorials - Tutorialized Hats off to Mr.Karpagarajan. Thanks for sharing! ![]() |
|
#15
| |||
| |||
| Well, surely it will be a great addition for my programming tools and resources archieve. I'd been digging the net for free resources how to web designing, because I want to go back to my programming profession, but i cannot afford to go back to school to review, so I am doing self study. |
|
#16
| |||
| |||
| Hey friends, you have given some useful reference for Adobe users, Really helpful. Karpagarajan, My kindly regards to you....Also, here I have got full training tips... that is great too. Let me check out other threads over here ![]() |
|
#17
| |||
| |||
| that is a very detailed coding you just shared. Thank you it will help me a lot to start learning Adobe Flex. Very nice post. |
|
#18
| |||
| |||
| Hey.. All, thank you so much for your appreciation. I will keep posting the new tips... Thanks Karpagarajan.R
__________________ Karpagarajan. R Necessity is the mother of invention |
|
#19
| |||
| |||
| Hi All, Here I am going to give the tips about the Flex AIR application native application functionality. When I was working in a Flex AIR application to display the filesystem and the file's icon like windows explorer interface, I found the difficulties to show the file icon in AIR application. Because AIR application itself has some limitations to access the OS native application functionalities. So I did some my R & D works and after a quite search, I had found a steven's article, which helped me lot to complete this requirement. I have given some technical stuffs ...Please check it below... File property BitmapData object AIR has support for retrieving the native system icons in whatever supported sizes exist. The icons are stored as a property of each File object as BitmapData, in an array, File.icon.bitmaps. Each element in the array is the same icon at different sizes, e.g. 32×32, 16×16 etc. In order to get at an icon at a given size, you can’t rely on what sizes are available at a given element position, so you need to create a new (empty) BitmapData object at your target dimension, then iterate through File.icon.bitmaps until you hit the matching-sized BitmapData object. Once you have a match, you can put the matching data into your own BitmapData object. Here’s a brief example: Code: public function get32Icon():BitmapData {
var myFile:File = new File("C:/foo.txt");
var bmpData:BitmapData = new BitmapData(32, 32);
for (var i:uint = 0; i < myFile.icon.bitmaps.length; i++) {
if (myFile.icon.bitmaps[i].height == bmpData.height) {
bmpData = myFile.icon.bitmaps[i];
}
}
return bmpData;
} Code: <mx:Image width="32" height="32" source="{getIcon(data)}" /> Code: private function getIcon(data:Object):Bitmap {
var bmpData:BitmapData = new BitmapData(32, 32);
bmpData = data.icon;
var iconBmp:Bitmap = new Bitmap(bmpData);
return iconBmp;
} Hope this tips can be very useful to you ... Thanks Karpagarajan.R
__________________ Karpagarajan. R Necessity is the mother of invention |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PHP Tips and Tricks | Sabari | PHP Programming | 20 | 12-18-2007 05:26 AM |
| Adobe LiveCycle Data Services for flex | Karpagarajan | Adobe Flex Programming | 0 | 07-20-2007 01:05 AM |
| Adobe AIR integrated with flex | Karpagarajan | Adobe Flex Programming | 2 | 07-19-2007 07:49 AM |
| Adobe Flex 3 Beta | Karpagarajan | Adobe Flex Programming | 0 | 07-16-2007 05:38 AM |
| SEO Tips & Tricks | spid4r | Search Engine Optimization | 0 | 03-08-2007 11:03 PM |
Our Partners |